3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr =[ [ "websites" => "base", "simples_skus" => "", "sku" => "8681455000016", "code" => "10001", ], [ "websites" => "base", "simples_skus" => "", "sku" => "8681455000023", "code" => "10001", ], [ "websites" => "base", "simples_skus" => "", "sku" => "8681455000214", "code" => "20003", ], [ "websites" => "base", "simples_skus" => "", "sku" => "8681455000221", "code" => "20003", ], [ "websites" => "base", "simples_skus" => "", "sku" => "8681455000245", "code" => "23443", ] ]; $result = array_merge_recursive(array_value($arr),array_value($arr)); var_dump($result);
based on LGuRX
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function array_value() in /in/7khPk:36 Stack trace: #0 {main} thrown in /in/7khPk on line 36
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Call to undefined function array_value() in /in/7khPk:36 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function array_value() in /in/7khPk on line 36
Process exited with code 255.