3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define("AAA","AAA"); function abc($aa,$bb) { $arr = get_defined_vars(); print_r($arr); } abc(1,arr(2,3));
based on 6h6lW
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function arr() in /in/5rvCa:11 Stack trace: #0 {main} thrown in /in/5rvCa on line 11
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Call to undefined function arr() in /in/5rvCa on line 11
Process exited with code 255.