Thank you!
That is exactly what happened.
a grep and sed was run on the server (it was supposed to be run only in specific folders) which replaced all instances of '<? ' with '<?php '. Your file was the only moodle file affected, because the others don't have a space after the question mark.
Sandra