3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = [ ['Value1', 'Value2'], ['Value3', 'Value4'], ['Value5', 'Value6'] ]; $array2 = [ ['ValA', 'ValB', 'ValC'], ['ValD', 'ValE', 'ValF'] ]; $result = array_map('array_merge', $array1, $array2); var_dump($result);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /in/NdYvh:13 Stack trace: #0 [internal function]: array_merge(Array, NULL) #1 /in/NdYvh(13): array_map('array_merge', Array, Array) #2 {main} thrown in /in/NdYvh on line 13
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.07 ms | 401 KiB | 8 Q