3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = Array(array(12) { ["id"]=> string(1) "2" ["title"]=> string(10) "Our Vision" ["title_uri"]=> string(10) "our-vision" ["file"]=> string(0) "" ["file_thumb"]=> NULL ["update_date"]=> string(19) "2014-01-17 21:38:13" ["content"]=> string(378) "<p>A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which.</p>" ["author"]=> string(9) "wisnuwidi" ["author_alias"]=> string(9) "wisnuwidi" ["author_info"]=> string(0) "" ["position"]=> string(1) "1" ["active"]=> string(1) "1" } array(12) { ["id"]=> string(1) "3" ["title"]=> string(11) "Our Mission" ["title_uri"]=> string(11) "our-mission" ["file"]=> string(0) "" ["file_thumb"]=> NULL ["update_date"]=> string(19) "2014-01-17 21:44:25" ["content"]=> string(555) "<p>Like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which. A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which.</p>" ["author"]=> string(9) "wisnuwidi" ["author_alias"]=> string(9) "wisnuwidi" ["author_info"]=> string(0) "" ["position"]=> string(1) "1" ["active"]=> string(1) "1" } array(12) { ["id"]=> string(1) "4" ["title"]=> string(17) "Technical Support" ["title_uri"]=> string(17) "technical-support" ["file"]=> string(0) "" ["file_thumb"]=> NULL ["update_date"]=> string(19) "2014-01-18 05:02:49" ["content"]=> string(750) "<p>A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which. A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole charm... A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which.</p>" ["author"]=> string(9) "wisnuwidi" ["author_alias"]=> string(9) "wisnuwidi" ["author_info"]=> NULL ["position"]=> string(1) "1" ["active"]=> string(1) "1" } ); $result = call_user_func_array("array_merge", $input); var_export($result);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
5.4.240.0070.05112.38
5.4.230.0140.04412.37
5.4.220.0100.04112.38
5.4.210.0100.03912.38
5.4.200.0090.04312.38
5.4.190.0100.04012.37
5.4.180.0100.04012.37
5.4.170.0110.04112.38
5.4.160.0100.05112.37
5.4.150.0150.05112.37
5.4.140.0110.05112.06
5.4.130.0080.04512.04
5.4.120.0090.04412.01
5.4.110.0120.04212.00
5.4.100.0100.04512.00
5.4.90.0130.05112.00
5.4.80.0110.04512.00
5.4.70.0170.05312.00
5.4.60.0100.03812.00
5.4.50.0080.04212.00
5.4.40.0160.04911.99
5.4.30.0100.04111.98
5.4.20.0100.04111.98
5.4.10.0240.06611.98
5.4.00.0130.04511.48
5.3.280.0120.04812.71
5.3.270.0160.05212.72
5.3.260.0120.04312.72
5.3.250.0210.06612.72
5.3.240.0120.04312.71
5.3.230.0110.04312.71
5.3.220.0110.04312.68
5.3.210.0120.04312.68
5.3.200.0150.05612.68
5.3.190.0090.04312.68
5.3.180.0110.04312.67
5.3.170.0100.04312.67
5.3.160.0130.04012.67
5.3.150.0090.04312.67
5.3.140.0200.05212.66
5.3.130.0100.04312.66
5.3.120.0090.04312.66
5.3.110.0130.04412.66
5.3.100.0130.04212.12
5.3.90.0100.04012.08
5.3.80.0100.04012.07
5.3.70.0170.05412.07
5.3.60.0080.04112.06
5.3.50.0090.03912.00
5.3.40.0090.04112.00
5.3.30.0100.04411.94
5.3.20.0130.04111.72
5.3.10.0110.04711.68
5.3.00.0110.03811.67