3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array_merge(null, [ 'code' => 'consent', 'filename' => 'Einwilligungserklaerung.pdf', 'mime' => 'application/pdf' ]); var_dump($a);
Output for 7.3.0rc3
Warning: array_merge(): Expected parameter 1 to be an array, null given in /in/ToAMb on line 4 NULL
Output for 7.0.0 - 7.3.0beta1
Warning: array_merge(): Argument #1 is not an array in /in/ToAMb on line 4 NULL
Output for hhvm-3.15.4
Warning: array_merge() expects parameter 1 to be array, null given in /in/ToAMb on line 7 NULL
Output for 5.6.0 - 5.6.30
Warning: array_merge(): Argument #1 is not an array in /in/ToAMb on line 7 NULL