3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('0' == '0'); var_dump('0' ?? '0' == '0'); var_dump(('0' ?? '0') == '0');
based on CkMlo
Output for hhvm-3.15.4, 7.0.0 - 7.3.1
bool(true) string(1) "0" bool(true)
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '?' in /in/sWP36 on line 4
Process exited with code 255.