3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( "0x0" < "PHP" ); // true var_dump( "0x0" < (int) 'PHP' ); // false
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
bool(true) bool(false)
Output for 5.1.0
<br /> <b>Fatal error</b>: fatal flex scanner internal error--end of buffer missed in <b>/in/ldnk5</b> on line <b>6</b><br />
Process exited with code 255.