3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_FILES[test][name]='a'; var_dump($_FILES);
Output for 7.2.0
Warning: Use of undefined constant test - assumed 'test' (this will throw an Error in a future version of PHP) in /in/fkcTv on line 2 Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/fkcTv on line 2 array(1) { ["test"]=> array(1) { ["name"]=> string(1) "a" } }
Output for 5.5.0 - 7.1.10
Notice: Use of undefined constant test - assumed 'test' in /in/fkcTv on line 2 Notice: Use of undefined constant name - assumed 'name' in /in/fkcTv on line 2 array(1) { ["test"]=> array(1) { ["name"]=> string(1) "a" } }