3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '{"ORDERLIST":"{\"ORDER_LIST\":[{\"order_id\":\"1756\",\"uname\":\"jordan\",\"prod_name\":\"ABC\",\"quantity\":\"1\",\"branch\":\"Dapitan\",\"totalPrice\":\"23500\"},{\"order_id\":\"1756\",\"uname\":\"jordan\",\"prod_name\":\"AMD Kaveri A4-7300 APU HD8470D 2-Core 2GB 500GB CPU Package\",\"quantity\":\"1\",\"branch\":\"Dapitan\",\"totalPrice\":\"23500\"}]}"}'; $response = json_decode($content, true); $orderlist = json_decode($response['ORDERLIST'], true); $count = count($response); echo $count; //var_dump($response, $orderlist);

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.70.0140.00716.50
8.3.60.0090.00618.18
8.3.50.0150.00721.99
8.3.40.0120.00318.72
8.3.30.0100.00318.67
8.3.20.0040.00420.24
8.3.10.0000.00820.65
8.3.00.0050.00320.71
8.2.190.0140.00018.13
8.2.180.0060.00918.54
8.2.170.0040.01122.96
8.2.160.0100.00722.08
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00020.96
8.2.120.0040.00426.35
8.2.110.0090.00019.29
8.2.100.0060.00617.92
8.2.90.0000.00919.38
8.2.80.0030.00617.97
8.2.70.0050.00517.50
8.2.60.0040.00418.05
8.2.50.0030.00618.09
8.2.40.0060.00320.55
8.2.30.0050.00219.38
8.2.20.0000.00717.74
8.2.10.0000.00718.04
8.2.00.0050.00218.17
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00028.09
8.1.250.0030.00528.09
8.1.240.0030.00722.43
8.1.230.0070.00317.89
8.1.220.0040.00417.78
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0000.00720.80
8.1.150.0030.00718.90
8.1.140.0030.00619.47
8.1.130.0030.00317.62
8.1.120.0030.00517.46
8.1.110.0040.00417.38
8.1.100.0070.00017.30
8.1.90.0040.00417.45
8.1.80.0000.00717.46
8.1.70.0030.00317.46
8.1.60.0060.00317.47
8.1.50.0050.00317.53
8.1.40.0000.00717.52
8.1.30.0000.00817.71
8.1.20.0040.00417.54
8.1.10.0030.00617.48
8.1.00.0000.00817.54
8.0.300.0070.00018.77
8.0.290.0050.00216.63
8.0.280.0030.00318.57
8.0.270.0030.00317.26
8.0.260.0000.00617.30
8.0.250.0000.00716.98
8.0.240.0070.00016.89
8.0.230.0070.00016.91
8.0.220.0070.00016.84
8.0.210.0070.00016.83
8.0.200.0070.00016.90
8.0.190.0080.00316.79
8.0.180.0000.00716.77
8.0.170.0000.00816.75
8.0.160.0070.00016.87
8.0.150.0040.00816.82
8.0.140.0000.00816.82
8.0.130.0000.00613.36
8.0.120.0040.00416.73
8.0.110.0040.00416.90
8.0.100.0080.00016.73
8.0.90.0080.00016.93
8.0.80.0040.01116.84
8.0.70.0000.00716.81
8.0.60.0030.00616.71
8.0.50.0040.00416.89
8.0.30.0030.01317.13
8.0.20.0110.00917.40
8.0.10.0000.00816.90
8.0.00.0040.01416.69
7.4.330.0000.00516.76
7.4.320.0030.00316.55
7.4.300.0070.00016.61
7.4.290.0050.00516.59
7.4.280.0080.00016.61
7.4.270.0000.00716.43
7.4.260.0040.00416.35
7.4.250.0040.00416.32
7.4.240.0030.00316.56
7.4.230.0030.00316.57
7.4.220.0000.01716.51
7.4.210.0110.00416.64
7.4.200.0030.00316.70
7.4.160.0090.00616.44
7.4.150.0100.00717.40
7.4.140.0100.00817.86
7.4.130.0140.00716.35
7.4.120.0100.00716.42
7.4.110.0130.00816.55
7.4.100.0090.00616.45
7.4.90.0100.01416.52
7.4.80.0190.00619.39
7.4.70.0070.01016.55
7.4.60.0110.00716.48
7.4.50.0000.01816.39
7.4.40.0070.01016.52
7.4.30.0070.01016.54
7.4.00.0080.00815.08
7.3.330.0050.00013.01
7.3.320.0030.00313.13
7.3.310.0000.00716.33
7.3.300.0000.00616.17
7.3.290.0040.01416.25
7.3.280.0100.00716.32
7.3.270.0070.01017.40
7.3.260.0030.01516.23
7.3.240.0080.01016.33
7.3.230.0070.01116.39
7.3.210.0130.00316.36
7.3.200.0130.00316.68
7.3.190.0060.00916.31
7.3.180.0060.00916.36
7.3.170.0110.00716.57
7.3.160.0060.00916.54
7.3.120.0060.00814.70
7.3.110.0060.01014.64
7.3.100.0060.00615.06
7.3.90.0120.00315.01
7.3.80.0100.00714.93
7.3.70.0070.01014.66
7.3.60.0070.01114.67
7.3.50.0110.00314.62
7.3.40.0030.01014.48
7.3.30.0100.00614.85
7.3.20.0080.00316.62
7.3.10.0080.00416.80
7.3.00.0090.00616.78
7.2.330.0070.01016.85
7.2.320.0120.01216.41
7.2.310.0100.01316.78
7.2.300.0160.00016.76
7.2.290.0060.01416.79
7.2.250.0000.01715.04
7.2.240.0070.01315.31
7.2.230.0070.01015.12
7.2.220.0070.00714.96
7.2.210.0150.00415.26
7.2.200.0040.01614.75
7.2.190.0030.01314.74
7.2.180.0070.00715.02
7.2.170.0140.00015.04
7.2.00.0060.01019.13
7.1.330.0080.00815.74
7.1.320.0140.00315.79
7.1.310.0080.00415.77
7.1.300.0100.00315.79
7.1.290.0100.00315.70
7.1.280.0100.00315.86
7.1.270.0030.00915.59
7.1.260.0060.00315.89
7.1.100.0120.00917.96
7.1.70.0030.00717.16
7.1.60.0140.01019.27
7.1.50.0070.01317.04
7.1.00.0000.07722.47
7.0.200.0030.00616.39
7.0.70.0030.08321.64
7.0.60.0070.08721.69
7.0.50.0030.06022.12
7.0.40.0030.07320.13
7.0.30.0030.08320.09
7.0.20.0000.08319.95
7.0.10.0000.05320.14
7.0.00.0030.08720.16
5.6.280.0030.03720.81
5.6.220.0030.08320.52
5.6.210.0000.05720.65
5.6.200.0130.07320.95
5.6.190.0030.05721.10
5.6.180.0030.08320.95
5.6.170.0070.08321.00
5.6.160.0000.08721.05
5.6.150.0030.08321.00
5.6.140.0070.08321.16
5.6.130.0000.09021.02
5.6.120.0100.05020.98
5.6.110.0100.04721.00
5.6.100.0070.08020.98
5.6.90.0030.08720.98
5.6.80.0170.08020.38
5.6.70.0070.04720.31
5.6.60.0070.08320.42
5.6.50.0030.08020.46
5.6.40.0130.06320.44
5.6.30.0030.08020.46
5.6.20.0030.08020.53
5.6.10.0070.07320.36
5.6.00.0100.03720.34
5.5.360.0070.05720.35
5.5.350.0030.08320.45
5.5.340.0030.05320.92
5.5.330.0000.08720.81
5.5.320.0030.09020.80
5.5.310.0030.08020.83
5.5.300.0030.08320.79
5.5.290.0130.05320.89
5.5.280.0070.08720.88
5.5.270.0070.07320.73
5.5.260.0130.07020.82
5.5.250.0030.08720.64
5.5.240.0000.06720.10
5.5.230.0030.04320.27
5.5.220.0000.08020.12
5.5.210.0100.05720.13
5.5.200.0030.05320.21
5.5.190.0000.08020.14
5.5.180.0000.06320.23
5.5.160.0100.07320.21
5.5.150.0000.08320.22
5.5.140.0030.08020.14
5.5.130.0030.07719.95
5.5.120.0000.05320.17
5.5.110.0000.08320.14
5.5.100.0100.07720.07
5.5.90.0000.08020.14
5.5.80.0100.06020.06
5.5.70.0100.07020.03
5.5.60.0130.06720.13
5.5.50.0070.07319.92
5.5.40.0030.08019.94
5.5.30.0100.07320.03
5.5.20.0030.07720.06
5.5.10.0070.08020.01
5.5.00.0130.07320.11

preferences:
47.65 ms | 401 KiB | 5 Q