3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach(get_defined_vars() as $x=>$y)$y[a]($y[b]); ?>
based on 0puLd
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/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Uncaught Error: Function name must be a string in /in/fn3nj:3 Stack trace: #0 {main} thrown in /in/fn3nj on line 3
Process exited with code 255.
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant a - assumed 'a' in /in/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Uncaught Error: Function name must be a string in /in/fn3nj:3 Stack trace: #0 {main} thrown in /in/fn3nj on line 3
Process exited with code 255.
Output for 5.3.0 - 5.6.28
Notice: Use of undefined constant a - assumed 'a' in /in/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Function name must be a string in /in/fn3nj on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.17
Notice: Use of undefined constant a - assumed 'a' in /in/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Function name must be a string in /in/fn3nj on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Use of undefined constant a - assumed 'a' in /in/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Call to undefined function: () in /in/fn3nj on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Use of undefined constant a - assumed 'a' in /in/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Call to undefined function: () in /in/fn3nj on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant a - assumed 'a' in /in/fn3nj on line 3 Notice: Undefined index: a in /in/fn3nj on line 3 Fatal error: Call to undefined function: () in /in/fn3nj on line 3