Revert "Make eval.php try to handle newlines in code"
authorMaxSem <maxsem.wiki@gmail.com>
Wed, 18 Feb 2015 22:21:56 +0000 (22:21 +0000)
committerTim Starling <tstarling@wikimedia.org>
Mon, 23 Feb 2015 00:59:24 +0000 (00:59 +0000)
commite97180e5f63ff96c4a75784729fbaf1af13877d0
tree6a60dd97711a0df26ab78a8b14f3643905e3bd3c
parent31ed4052963b3988493bc40bc94a050318b6927f
Revert "Make eval.php try to handle newlines in code"

Completely broke the script for me.

<TimStarling> MaxSem: that was a pretty crazy change
<TimStarling> fancy trying to detect the end of a statement by shelling out to detect parse errors
<TimStarling> maybe just revert that?
<TimStarling> we can probably do a better job with a few regexes
<TimStarling> I wonder how php -a does it

This reverts commit f0ae292da7ef0673b30c68b4a6f3789b2eea8464.

Change-Id: I16c9c200dc3f4db55cecc23aaa0d9ff55504c19d
maintenance/eval.php