3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo false,"\n"; echo true,"\n"; // 1 var_dump( false, true ); // false, true var_dump( (string) false ); // "" var_dump( (string) true ); // "1"
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
1 bool(false) bool(true) string(0) "" string(1) "1"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/URAdi on line 6
Process exited with code 255.