3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function derp($dont,$show,$these) { for($i=2,$d=func_get_args();$i<count($d);print($d[$i++])){} } derp(dont,show,these,show,these);
Output for 7.2.0 - 7.3.0rc4
Warning: Use of undefined constant dont - assumed 'dont' (this will throw an Error in a future version of PHP) in /in/0JoIP on line 6 Warning: Use of undefined constant show - assumed 'show' (this will throw an Error in a future version of PHP) in /in/0JoIP on line 6 Warning: Use of undefined constant these - assumed 'these' (this will throw an Error in a future version of PHP) in /in/0JoIP on line 6 Warning: Use of undefined constant show - assumed 'show' (this will throw an Error in a future version of PHP) in /in/0JoIP on line 6 Warning: Use of undefined constant these - assumed 'these' (this will throw an Error in a future version of PHP) in /in/0JoIP on line 6 theseshowthese
Output for 4.3.0 - 7.1.20
Notice: Use of undefined constant dont - assumed 'dont' in /in/0JoIP on line 6 Notice: Use of undefined constant show - assumed 'show' in /in/0JoIP on line 6 Notice: Use of undefined constant these - assumed 'these' in /in/0JoIP on line 6 Notice: Use of undefined constant show - assumed 'show' in /in/0JoIP on line 6 Notice: Use of undefined constant these - assumed 'these' in /in/0JoIP on line 6 theseshowthese