3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // $username = "hello"; $name = $firstName ?? $username ?? $placeholder ?? $test ?? $vidu ?? "ví dụ ra cái này nếu trước nó NULL"; echo $name; //
Output for hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
ví dụ ra cái này nếu trước nó NULL
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '?' in /in/3VOCH on line 4
Process exited with code 255.