3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hola = null; var_dump( $hola??'no definido' ); echo "\n"; $hola = false; var_dump( $hola??'no definido' ); echo "\n"; var_dump( $_GET['parametro']??'no definido' );
based on dRanq
Output for 7.0.0 - 7.2.0
string(11) "no definido" bool(false) string(11) "no definido"
Output for 5.5.0 - 5.6.28
Parse error: syntax error, unexpected '?' in /in/N9dQ7 on line 4
Process exited with code 255.