3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types = 1); if ($_GET[a]==3) { echo $b; } ?>
based on 8PlZX
Output for 7.2.0
Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/QnTok on line 3 Notice: Undefined index: a in /in/QnTok on line 3
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant a - assumed 'a' in /in/QnTok on line 3 Notice: Undefined index: a in /in/QnTok on line 3
Output for 5.3.0 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/QnTok on line 2 Notice: Use of undefined constant a - assumed 'a' in /in/QnTok on line 3 Notice: Undefined index: a in /in/QnTok on line 3
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant a - assumed 'a' in /in/QnTok on line 3 Notice: Undefined index: a in /in/QnTok on line 3