sstalle / php7cc

PHP 7 Compatibility Checker
MIT License
1.52k stars 120 forks source link

space between = and & fools the checker where =& would be caught #144

Open sidney opened 6 years ago

sidney commented 6 years ago

The largest set of things that were missed in the code I checked was assignment of a reference to new object that was caught fine when it had =& but was missed everywhere the code had a space between the = and the &. Might be poor practice, but that's the code I had to work with.