3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 2; echo "3+3=" . $a++ + $a++; // Should echo "3+3=6", right? RIGHT?
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/cHVZi on line 2 6
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.0.20
6
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/cHVZi on line 2
Process exited with code 255.