3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = Null; $alpha = $string ?? 'No Input'; $left = -15; $right = -30; echo $left <=> $right; echo '\0'; echo $alpha;
based on JBlSG
Output for 7.0.0 - 7.2.6
1\0No Input
Output for 5.3.20 - 5.6.21
Parse error: syntax error, unexpected '?' in /in/1HZ21 on line 3
Process exited with code 255.