3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '[{"id":96,"type":"product","title":"Cassia","code":"CODE-101","fabric":0,"option":"2","options":[["TEst 1","http://localhost/content/uploads/2017/07/seating4-150x150.png"],["Dimension 2","http://localhost/content/uploads/2017/07/seating3-150x150.png"],["Dimension 3","http://localhost/content/uploads/2017/07/seating1-150x150.png"],["Dimension 4","http://localhost/content/uploads/2017/07/seating2-150x150.png"]],"quantity":5},{"id":139,"type":"product","title":"Accent","code":"","fabric":0,"option":0,"options":[["Testing","http://localhost/content/uploads/2017/07/seating3-150x150.png"]],"quantity":13}]'; $decoded = json_decode($string); var_dump($decoded);

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.0080.00816.63
8.3.60.0090.00617.93
8.3.50.0140.00917.22
8.3.40.0140.00718.54
8.3.30.0110.00318.75
8.3.20.0100.00020.25
8.3.10.0060.00320.54
8.3.00.0080.00020.77
8.2.190.0100.00316.58
8.2.180.0140.00716.75
8.2.170.0080.01322.96
8.2.160.0040.01120.38
8.2.150.0070.00324.18
8.2.140.0000.00824.66
8.2.130.0050.00321.18
8.2.120.0040.00426.35
8.2.110.0040.00422.28
8.2.100.0120.00017.72
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0030.00717.63
8.2.60.0040.00417.80
8.2.50.0060.00318.10
8.2.40.0070.00020.34
8.2.30.0030.00619.19
8.2.20.0000.00817.91
8.2.10.0040.00418.10
8.2.00.0040.00418.05
8.1.280.0070.01025.92
8.1.270.0050.00322.02
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0090.00320.32
8.1.220.0000.00817.78
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0090.00018.66
8.1.160.0030.00319.05
8.1.150.0000.00718.82
8.1.140.0040.00419.43
8.1.130.0030.00317.39
8.1.120.0020.00517.43
8.1.110.0030.00517.43
8.1.100.0060.00317.39
8.1.90.0040.00417.30
8.1.80.0070.00017.45
8.1.70.0070.00017.34
8.1.60.0030.00517.43
8.1.50.0090.00017.37
8.1.40.0040.00417.43
8.1.30.0030.00517.64
8.1.20.0080.00017.57
8.1.10.0080.00017.30
8.1.00.0070.00017.30
8.0.300.0050.00318.77
8.0.290.0060.00316.75
8.0.280.0000.00718.40
8.0.270.0030.00317.20
8.0.260.0000.00816.68
8.0.250.0000.00816.89
8.0.240.0030.00516.91
8.0.230.0020.00516.91
8.0.220.0050.00216.75
8.0.210.0040.00416.79
8.0.200.0000.00716.92
8.0.190.0000.00816.88
8.0.180.0070.00016.90
8.0.170.0000.00716.87
8.0.160.0000.00816.80
8.0.150.0000.00716.64
8.0.140.0000.00716.80
8.0.130.0070.00013.22
8.0.120.0040.00416.70
8.0.110.0040.00416.63
8.0.100.0040.00416.92
8.0.90.0000.00716.95
8.0.80.0120.00616.88
8.0.70.0070.00016.95
8.0.60.0050.00316.73
8.0.50.0040.00416.71
8.0.30.0100.00917.00
8.0.20.0120.01017.40
8.0.10.0050.00316.85
8.0.00.0100.01316.70
7.4.330.0020.00215.55
7.4.320.0000.00616.50
7.4.300.0030.00316.52
7.4.290.0070.00016.54
7.4.280.0030.00616.45
7.4.270.0000.00716.39
7.4.260.0030.00316.43
7.4.250.0000.00716.42
7.4.240.0000.00716.47
7.4.230.0050.00316.46
7.4.220.0110.01016.54
7.4.210.0060.01316.61
7.4.200.0040.00416.53
7.4.160.0070.00916.60
7.4.150.0100.01017.40
7.4.140.0110.01017.86
7.4.130.0140.00616.26
7.4.120.0170.00516.33
7.4.110.0150.00316.46
7.4.100.0080.01016.34
7.4.90.0210.00316.39
7.4.80.0110.00719.39
7.4.70.0100.01016.28
7.4.60.0140.00316.30
7.4.50.0140.00316.38
7.4.40.0150.00316.38
7.4.30.0160.00616.56
7.4.00.0050.01214.79
7.3.330.0000.00512.83
7.3.320.0000.00512.84
7.3.310.0040.00316.13
7.3.300.0070.00016.13
7.3.290.0060.00916.17
7.3.280.0050.01316.12
7.3.270.0140.00417.40
7.3.260.0070.01316.20
7.3.250.0150.00916.23
7.3.240.0100.00816.24
7.3.230.0140.00316.13
7.3.210.0040.01316.31
7.3.200.0170.00016.31
7.3.190.0110.00616.41
7.3.180.0150.01016.24
7.3.170.0070.01216.18
7.3.160.0060.00916.25
7.3.120.0100.00714.72
7.3.110.0030.01314.54
7.3.100.0070.00714.72
7.3.90.0050.01014.42
7.3.80.0050.00714.68
7.3.70.0030.00814.68
7.3.60.0030.00914.63
7.3.50.0050.00814.71
7.3.40.0070.00514.50
7.3.30.0090.00714.51
7.3.20.0020.01116.53
7.3.10.0110.00616.50
7.3.00.0120.00516.44
7.2.330.0110.00716.33
7.2.320.0030.01516.43
7.2.310.0120.00616.64
7.2.300.0040.01316.50
7.2.290.0120.00616.22
7.2.250.0030.01414.84
7.2.240.0080.00814.92
7.2.230.0050.01115.09
7.2.220.0100.00514.95
7.2.210.0060.01014.71
7.2.200.0090.00614.85
7.2.190.0140.00314.85
7.2.180.0080.00814.97
7.2.170.0050.01214.73
7.2.160.0070.01114.91
7.2.150.0070.00716.84
7.2.140.0000.01216.71
7.2.130.0110.00616.63
7.2.120.0040.01116.80
7.2.110.0090.00816.48
7.2.100.0120.00516.54
7.2.90.0060.01116.51
7.2.80.0110.00716.61
7.2.70.0040.01316.67
7.2.60.0070.00716.69
7.2.50.0080.00916.80
7.2.40.0060.01016.59
7.2.30.0070.00816.53
7.2.20.0060.00916.67
7.2.10.0110.00516.57
7.2.00.0030.01016.56
7.1.330.0090.00715.63
7.1.320.0040.00815.61
7.1.310.0080.00515.67
7.1.300.0040.01215.68
7.1.290.0050.01015.61
7.1.280.0030.01015.72
7.1.270.0050.00815.55
7.1.260.0060.00715.81
7.1.250.0070.01015.61
7.1.240.0090.00015.96
7.1.230.0060.00915.63
7.1.220.0030.00715.52
7.1.210.0100.00015.64
7.1.200.0060.00715.42
7.1.190.0070.00715.72
7.1.180.0000.01215.55
7.1.170.0000.01015.46
7.1.160.0030.01015.36
7.1.150.0000.01515.67
7.1.140.0040.00915.43
7.1.130.0060.00615.80
7.1.120.0070.00715.59
7.1.110.0100.00015.70
7.1.100.0040.01415.56
7.1.90.0040.00715.52
7.1.80.0040.01115.71
7.1.70.2270.00815.52
7.1.60.2260.00824.29
7.1.50.2350.01124.31
7.1.40.2830.00824.11
7.1.30.3070.01324.15
7.1.20.2810.00924.31
7.1.10.3060.01115.27
7.1.00.2400.00815.24
7.0.330.0090.00315.36
7.0.320.0000.01715.11
7.0.310.0070.00414.95
7.0.300.0080.00815.47
7.0.290.0040.00415.20
7.0.280.0060.00615.28
7.0.270.0060.00315.50
7.0.260.0000.01115.01
7.0.250.0000.00815.26
7.0.240.0060.01115.34
7.0.230.0100.00315.14
7.0.220.0030.00615.35
7.0.210.0000.01315.19
7.0.200.2890.00614.98
7.0.190.3300.00515.07
7.0.180.2510.01114.82
7.0.170.4540.00814.90
7.0.160.2320.00714.90
7.0.150.2830.00614.75
7.0.140.2880.00614.84
7.0.130.2910.00814.75
7.0.120.2320.01115.09
7.0.110.3030.01214.82
7.0.100.2780.00915.00
7.0.90.2980.00914.80
7.0.80.3330.00814.91
7.0.70.2940.01114.69
7.0.60.3510.01114.58
7.0.50.2780.01014.89
7.0.40.3600.01313.96
7.0.30.3330.01213.92
7.0.20.2940.01213.82
7.0.10.2220.01513.89
7.0.00.2150.00513.76
5.6.380.0030.00614.09

preferences:
19.91 ms | 401 KiB | 5 Q