3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ary = json_decode("[ { "h": 29, "s": 17, "l": 133, "price": "", "saleprice": "", "pcat_id": null, "scat_id": null, "pid": 0, "title": "Summer Festivities #1", "description": "", "img": "http:\/\/cdn.yd.com.au\/live\/yd\/productcollectionimages\/14564399-ec5c-42d8-8724-8324f3e6e87f_s68_396_583.png", "url": "http:\/\/www.yd.com.au\/ShopByOutfit.aspx?element=12057&category=1&SelectedCollectionID=4110&SelectedOutfitID=4111", "tags": "pcat:summer-festivities", "json_sub_products": "[{\"url\":\"\",\"img\":\"http:\\\/\\\/cdn.yd.com.au\\\/live\\\/yd\\\/product\\\/images\\\/39103\\\/13cshx15_grnkhaki_1_91_135.png\",\"title\":\"Viper Short\",\"price\":\"sold out\",\"saleprice\":\"\"}]", "size": { "w": 210, "h": 600 }, "v": 141, "r": "141", "g": "136", "b": "125", "a": "1" }, null, { "h": 22, "s": 26, "l": 95, "price": "", "saleprice": "", "pcat_id": null, "scat_id": null, "pid": 2, "title": "Summer Festivities #3", "description": "", "img": "http:\/\/cdn.yd.com.au\/live\/yd\/productcollectionimages\/06f54aaf-f9e2-4d20-b8bc-242d560aed9f_s58_396_583.png", "url": "http:\/\/www.yd.com.au\/ShopByOutfit.aspx?element=12057&category=1&SelectedCollectionID=4110&SelectedOutfitID=4115", "tags": "pcat:summer-festivities", "json_sub_products": "[{\"url\":\"http:\\\/\\\/www.yd.com.au\\\/JONAS-TEE.aspx?p508860&cr=\",\"img\":\"http:\\\/\\\/cdn.yd.com.au\\\/live\\\/yd\\\/product\\\/images\\\/508857\\\/14astx13_grygrey_1_91_135.png\",\"title\":\"Jonas Tee\",\"price\":\"49.99\",\"saleprice\":\"29.99\"},{\"url\":\"http:\\\/\\\/www.yd.com.au\\\/PABLO-SHORT.aspx?p39131&cr=\",\"img\":\"http:\\\/\\\/cdn.yd.com.au\\\/live\\\/yd\\\/product\\\/images\\\/39129\\\/13cshx17_grnkhaki_1_91_135.png\",\"title\":\"Pablo Short\",\"price\":\"69.95\",\"saleprice\":\"39.99\"},{\"url\":\"http:\\\/\\\/www.yd.com.au\\\/FELIPE-CASUAL-SHOE.aspx?p38605&cr=\",\"img\":\"http:\\\/\\\/cdn.yd.com.au\\\/live\\\/yd\\\/product\\\/images\\\/38603\\\/13cfwc14_blkblack_1_91_135.png\",\"title\":\"Felipe Casual Shoe\",\"price\":\"99.95\",\"saleprice\":\"49.99\"}]", "size": { "w": 210, "h": 600 }, "v": 104, "r": "104", "g": "95", "b": "85", "a": "1" } ]", true); print_r($ary);

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)
5.4.260.0090.04212.36
5.4.250.0070.04212.36
5.4.240.0050.03712.36
5.4.230.0100.03512.35
5.4.220.0070.04712.36
5.4.210.0040.04012.35
5.4.200.0070.03612.35
5.4.190.0080.03412.35
5.4.180.0050.03612.35
5.4.170.0050.03712.36
5.4.160.0070.03712.35
5.4.150.0050.03612.34
5.4.140.0070.03812.04
5.4.130.0060.03512.02
5.4.120.0090.03711.98
5.4.110.0070.03511.98
5.4.100.0040.03611.98
5.4.90.0050.04111.98
5.4.80.0080.03511.98
5.4.70.0030.03911.98
5.4.60.0030.03711.98
5.4.50.0060.03611.97
5.4.40.0060.04011.96
5.4.30.0080.03811.96
5.4.20.0050.04311.95
5.4.10.0100.03911.96
5.4.00.0030.04011.46
5.3.280.0060.04612.71
5.3.270.0030.04812.72
5.3.260.0030.04112.72
5.3.250.0070.03812.72
5.3.240.0030.04312.72
5.3.230.0030.04212.71
5.3.220.0080.03512.68
5.3.210.0070.04012.68
5.3.200.0040.04312.68
5.3.190.0070.04112.68
5.3.180.0060.04012.68
5.3.170.0060.03912.67
5.3.160.0050.03912.67
5.3.150.0040.03912.68
5.3.140.0030.04012.66
5.3.130.0060.03912.65
5.3.120.0050.04312.66
5.3.110.0040.04312.66
5.3.100.0050.04412.11
5.3.90.0050.03812.08
5.3.80.0030.03912.07
5.3.70.0110.04212.08
5.3.60.0040.04912.07
5.3.50.0050.04212.00
5.3.40.0040.05112.00
5.3.30.0070.03911.94
5.3.20.0060.04111.69
5.3.10.0050.03411.65
5.3.00.0040.04311.64
5.2.170.0060.0349.14
5.2.160.0020.0369.14
5.2.150.0050.0299.14
5.2.140.0020.0369.14
5.2.130.0040.0289.10
5.2.120.0070.0359.10
5.2.110.0070.0269.11
5.2.100.0010.0339.11
5.2.90.0040.0299.10
5.2.80.0040.0349.09
5.2.70.0020.0339.09
5.2.60.0050.0319.04
5.2.50.0070.0289.02
5.2.40.0060.0298.99
5.2.30.0060.0298.96
5.2.20.0030.0308.96
5.2.10.0070.0268.89
5.2.00.0050.0338.74
5.1.60.0030.0368.03
5.1.50.0040.0248.03
5.1.40.0040.0248.02
5.1.30.0020.0328.36
5.1.20.0030.0288.39
5.1.10.0050.0288.11
5.1.00.0080.0218.11
5.0.50.0020.0216.59
5.0.40.0020.0216.44
5.0.30.0040.0316.26
5.0.20.0050.0176.23
5.0.10.0040.0216.21
5.0.00.0040.0296.20
4.4.90.0030.0144.78
4.4.80.0050.0124.75
4.4.70.0000.0184.76
4.4.60.0040.0134.75
4.4.50.0050.0134.77
4.4.40.0020.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0010.0224.84
4.4.00.0020.0264.76
4.3.110.0010.0184.66
4.3.100.0010.0174.66
4.3.90.0040.0144.63
4.3.80.0030.0234.59
4.3.70.0020.0154.63
4.3.60.0040.0124.62
4.3.50.0000.0184.62
4.3.40.0040.0304.54
4.3.30.0010.0223.27
4.3.20.0010.0183.25
4.3.10.0010.0163.22
4.3.00.0000.0237.27

preferences:
136.07 ms | 1394 KiB | 7 Q