3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); var_dump('1' === $_SERVER['aaaaa'] ?? '1');
based on 9aGAR
Output for hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.3.0beta1
Notice: Undefined index: aaaaa in /in/hmCjT on line 3 bool(false)
Output for hhvm-3.22.0
Notice: Undefined index: aaaaa in /in/hmCjT on line -1 bool(false)
Output for 5.6.0 - 5.6.30
Warning: Unsupported declare 'strict_types' in /in/hmCjT on line 1 Parse error: syntax error, unexpected '?' in /in/hmCjT on line 3
Process exited with code 255.