3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = [ "_1444734871078_1" => ["attribute" => "enabled", "value" => "1"], "_1444734871078_2" => ["attribute" => "animal_skin", "value" => ""], "_1444734871078_3" => ["attribute" => "brand", "value" => ""], "_1444734871078_4" => ["attribute" => "care", "value" => ""], "_1444734871078_5" => ["attribute" => "collection", "value" => ""], "_1444734871078_6" => ["attribute" => "color", "value" => ""], "_1444734871078_7" => ["attribute" => "commodity_code", "value" => ""], "_1444734871078_8" => ["attribute" => "description", "value" => ""], "_1444734871078_9" => ["attribute" => "fashion", "value" => ""], "_1444734871078_10" => ["attribute" => "fit", "value" => ""], "_1444734871078_11" => ["attribute" => "gender", "value" => ""], "_1444734871078_12" => ["attribute" => "heel_height", "value" => ""], "_1444734871078_13" => ["attribute" => "heel_type", "value" => ""], "_1444734871078_14" => ["attribute" => "lining", "value" => ""], "_1444734871078_15" => ["attribute" => "material", "value" => ""], "_1444734871078_16" => ["attribute" => "name", "value" => ""], "_1444734871078_17" => ["attribute" => "original_season_code", "value" => ""], "_1444734871078_18" => ["attribute" => "product_type", "value" => ""], "_1444734871078_19" => ["attribute" => "season_code", "value" => ""], "_1444734871078_20" => ["attribute" => "shape", "value" => ""], "_1444734871078_21" => ["attribute" => "skutype", "value" => ""], "_1444734871078_22" => ["attribute" => "sole", "value" => ""], "_1444734871078_23" => ["attribute" => "stamp", "value" => ""], "_1444734871078_24" => ["attribute" => "style", "value" => ""], "_1444734871078_25" => ["attribute" => "sub_category", "value" => ""], "_1444734871078_26" => ["attribute" => "web_category_1", "value" => ""], "_1444734871078_27" => ["attribute" => "web_category_2", "value" => ""], "_1444734871078_28" => ["attribute" => "web_category_3", "value" => ""], "_1444734871078_29" => ["attribute" => "web_category_4", "value" => ""], "_1444734871078_30" => ["attribute" => "web_exclusive", "value" => ""], "_1444734871078_31" => ["attribute" => "web_exclusive", "value" => ""], "_1444734871078_32" => ["attribute" => "family", "value" => ""], "_1444734871078_33" => ["attribute" => "back_in_stock", "value" => ""], "_1444734871078_34" => ["attribute" => "bag_depth", "value" => ""], "_1444734871078_35" => ["attribute" => "bag_height", "value" => ""], "_1444734871078_36" => ["attribute" => "bag_strap_drop", "value" => ""], "_1444734871078_37" => ["attribute" => "bag_width", "value" => ""], "_1444734871078_38" => ["attribute" => "best_seller", "value" => ""], "_1444734871078_39" => ["attribute" => "colour_group", "value" => ""], "_1444734871078_40" => ["attribute" => "insock", "value" => ""], "_1444734871078_41" => ["attribute" => "last", "value" => ""], "_1444734871078_42" => ["attribute" => "limited_edition", "value" => ""], "_1444734871078_43" => ["attribute" => "line", "value" => ""], "_1444734871078_44" => ["attribute" => "made_in_britain", "value" => ""], "_1444734871078_45" => ["attribute" => "made_in_italy", "value" => ""], "_1444734871078_46" => ["attribute" => "new_season_offers", "value" => ""], "_1444734871078_47" => ["attribute" => "newin", "value" => ""], "_1444734871078_48" => ["attribute" => "offer", "value" => ""], "_1444734871078_49" => ["attribute" => "preorders", "value" => ""], "_1444734871078_50" => ["attribute" => "rand", "value" => ""], "_1444734871078_51" => ["attribute" => "sale", "value" => ""], "_1444734871078_52" => ["attribute" => "short_description", "value" => ""], "_1444734871078_53" => ["attribute" => "sole_edge", "value" => ""], "_1444734871078_54" => ["attribute" => "trim", "value" => ""], "_1444734871078_55" => ["attribute" => "visible", "value" => ""], "_1444734871078_56" => ["attribute" => "related_fit", "value" => ""], "_1444734871078_57" => ["attribute" => "url_key", "value" => ""], "_1444734871078_58" => ["attribute" => "colour_group", "value" => ""], ]; var_dump(\PDO::quote(serialize($foo)));

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0080.00818.79
8.3.30.0110.00418.84
8.3.20.0070.00020.38
8.3.10.0080.00023.48
8.3.00.0040.00423.66
8.2.170.0150.00622.96
8.2.160.0070.00720.43
8.2.150.0040.00424.18
8.2.140.0080.00824.66
8.2.130.0030.00519.82
8.2.120.0080.00026.35
8.2.110.0060.00319.46
8.2.100.0090.00317.91
8.2.90.0030.00619.08
8.2.80.0040.00417.97
8.2.70.0060.00617.63
8.2.60.0000.00817.78
8.2.50.0000.00818.07
8.2.40.0000.00822.18
8.2.30.0000.00720.56
8.2.20.0000.00817.69
8.2.10.0060.00318.13
8.2.00.0050.00317.98
8.1.270.0030.00622.08
8.1.260.0000.00828.09
8.1.250.0000.00728.09
8.1.240.0060.00323.79
8.1.230.0000.01120.82
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0050.00318.53
8.1.160.0000.00720.71
8.1.150.0000.00818.75
8.1.140.0030.00519.57
8.1.130.0000.00817.64
8.1.120.0040.00417.30
8.1.110.0030.00517.47
8.1.100.0000.00717.45
8.1.90.0000.00717.39
8.1.80.0080.00017.38
8.1.70.0040.00417.30
8.1.60.0040.00417.50
8.1.50.0030.00617.44
8.1.40.0040.00417.57
8.1.30.0080.00017.68
8.1.20.0050.00317.64
8.1.10.0040.00417.63
8.1.00.0000.00817.46
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0030.00317.08
8.0.260.0030.00317.19
8.0.250.0030.00317.02
8.0.240.0060.00316.88
8.0.230.0030.00316.96
8.0.220.0000.00816.77
8.0.210.0000.00816.89
8.0.200.0030.00316.89
8.0.190.0000.00816.90
8.0.180.0000.00716.93
8.0.170.0030.00616.88
8.0.160.0070.00016.96
8.0.150.0050.00216.87
8.0.140.0050.00516.80
8.0.130.0030.00313.32
8.0.120.0040.00416.88
8.0.110.0040.00416.79
8.0.100.0040.00416.86
8.0.90.0030.00616.75
8.0.80.0130.00316.90
8.0.70.0040.00416.93
8.0.60.0030.00616.87
8.0.50.0000.00816.70
8.0.30.0110.01017.03
8.0.20.0100.01117.40
8.0.10.0040.00416.98
8.0.00.0130.00816.72
7.4.330.0020.00216.76
7.4.320.0030.00316.50
7.4.300.0030.00616.49
7.4.290.0030.00316.50
7.4.280.0030.00716.46
7.4.270.0000.00716.48
7.4.260.0050.00316.42
7.4.250.0070.00016.47
7.4.240.0050.00216.63
7.4.230.0040.00416.71
7.4.220.0090.01216.41
7.4.210.0100.00716.55
7.4.200.0040.00416.39
7.4.160.0030.01216.53
7.4.150.0090.00917.40
7.4.140.0110.00617.86
7.4.130.0060.01316.53
7.4.120.0080.00816.53
7.4.110.0100.01416.43
7.4.100.0070.01416.46
7.4.90.0100.00616.55
7.4.80.0030.01319.39
7.4.70.0040.01216.46
7.4.60.0030.01616.49
7.4.50.0070.01016.48
7.4.40.0030.01316.45
7.4.30.0100.00716.44
7.4.00.0100.00615.09
7.3.330.0030.00313.18
7.3.320.0050.00013.02
7.3.310.0030.00316.12
7.3.300.0000.00616.27
7.3.290.0000.00816.32
7.3.280.0090.00716.28
7.3.270.0090.00917.40
7.3.260.0150.00316.35
7.3.250.0120.00716.31
7.3.240.0070.00916.43
7.3.230.0140.00916.55
7.3.210.0110.00616.23
7.3.200.0090.00619.39
7.3.190.0040.01216.26
7.3.180.0120.00616.30
7.3.170.0120.00916.29
7.3.160.0090.00916.53
7.2.330.0150.00616.39
7.2.320.0030.02016.27
7.2.310.0110.00616.35
7.2.300.0120.00616.29
7.2.290.0100.00716.70
7.2.60.0110.00316.64
7.2.00.0030.00918.93
7.1.200.0000.00615.49
7.1.100.0130.00916.15
7.1.70.0030.01617.08
7.1.60.0100.01419.20
7.1.50.0080.00316.89
7.1.00.0070.07322.28
7.0.200.0190.00614.79
7.0.60.0000.08721.79
7.0.50.0100.04317.86
7.0.40.0030.04720.07
7.0.30.0230.04720.00
7.0.20.0400.06720.16
7.0.10.0070.08720.18
7.0.00.0070.08320.01
5.6.280.0030.03321.12
5.6.210.0100.08020.66
5.6.200.0070.03718.15
5.6.190.0130.04720.67
5.6.180.0270.05320.60
5.6.170.0270.06020.52
5.6.160.0070.05720.48
5.6.150.0070.07718.22
5.6.140.0100.04018.23
5.6.130.0100.06318.25
5.6.120.0170.05021.01
5.6.110.0070.05720.93
5.6.100.0100.08020.94
5.6.90.0100.08321.14
5.6.80.0100.08020.41
5.5.350.0270.07720.51
5.5.340.0070.03718.01
5.5.330.0070.04320.41
5.5.320.0430.06020.33
5.5.310.0230.04320.17
5.5.300.0130.07317.95
5.5.290.0170.06718.01
5.5.280.0030.05720.91
5.5.270.0000.04720.80
5.5.260.0100.05720.88
5.5.250.0030.08720.61
5.5.240.0200.07720.32

preferences:
51.22 ms | 400 KiB | 5 Q