"Hashar" posted a comment on MediaWiki.r107054. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107054#c28308
Commit summary for MediaWiki.r107054: do not evaluate '<?php' line This happen when you are sending to eval.php a php file. The first line is the string '<?php' which is passed to eval(). Boom! This patch skip that string. Example usage: $ cat somefile.php <?php echo "Working!\n"; $ $ cat somefile.php | php maintenance/eval.php Working! $ Hashar's comment: You get kaboom. But since whoever that will do that is probably a developer, that person can amend my change so eval.php supports that syntax 8-) _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
