3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "Parameter1":" </style>", "HistoryPosition":"1" }'; var_dump(json_decode($json)); var_dump(json_last_error_msg());

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.60.0100.00618.05
8.3.50.0160.00618.18
8.3.40.0150.00018.32
8.3.30.0110.00418.52
8.3.20.0040.00418.95
8.3.10.0050.00321.69
8.3.00.0030.00518.96
8.2.180.0180.00418.29
8.2.170.0100.00722.96
8.2.160.0120.00619.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0140.00022.16
8.2.120.0000.00826.35
8.2.110.0090.00019.29
8.2.100.0040.00819.53
8.2.90.0050.00319.09
8.2.80.0030.00617.97
8.2.70.0080.00017.63
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0030.00620.64
8.2.30.0020.00519.18
8.2.20.0000.00717.67
8.2.10.0050.00317.98
8.2.00.0070.00017.98
8.1.280.0140.00025.92
8.1.270.0070.01123.99
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0060.00321.12
8.1.230.0000.01017.70
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0060.00317.10
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0030.00618.47
8.1.160.0030.00319.00
8.1.150.0000.00718.80
8.1.140.0000.00719.50
8.1.130.0000.00717.57
8.1.120.0030.00417.25
8.1.110.0040.00417.36
8.1.100.0030.00517.41
8.1.90.0040.00417.36
8.1.80.0040.00417.28
8.1.70.0030.00317.39
8.1.60.0000.00717.55
8.1.50.0040.00417.38
8.1.40.0030.00517.34
8.1.30.0000.00817.55
8.1.20.0000.00717.53
8.1.10.0040.00417.43
8.1.00.0040.00417.30
8.0.300.0040.00418.77
8.0.290.0000.00816.74
8.0.280.0040.00418.24
8.0.270.0030.00517.18
8.0.260.0040.00417.21
8.0.250.0030.00516.85
8.0.240.0070.00016.76
8.0.230.0040.00316.82
8.0.220.0000.00716.80
8.0.210.0050.00216.85
8.0.200.0050.00216.89
8.0.190.0080.00016.85
8.0.180.0000.00716.88
8.0.170.0040.00416.88
8.0.160.0000.00716.80
8.0.150.0070.00016.79
8.0.140.0000.00716.79
8.0.130.0050.00013.30
8.0.120.0040.00416.76
8.0.110.0000.00716.77
8.0.100.0040.00416.88
8.0.90.0000.00716.71
8.0.80.0070.00716.84
8.0.70.0080.00016.61
8.0.60.0040.00416.89
8.0.50.0070.00016.62
8.0.30.0130.00516.94
8.0.20.0110.01117.40
8.0.10.0040.00416.79
8.0.00.0090.00916.85
7.4.330.0040.00015.08
7.4.320.0000.00616.34
7.4.300.0000.00616.41
7.4.290.0000.00616.53
7.4.280.0040.00416.36
7.4.270.0000.00716.33
7.4.260.0000.00716.39
7.4.250.0030.00616.50
7.4.240.0000.00716.46
7.4.230.0030.00316.39
7.4.220.0130.00716.63
7.4.210.0150.00016.57
7.4.200.0000.00716.48
7.4.160.0050.01116.38
7.4.150.0190.00017.40
7.4.140.0120.00817.86
7.4.130.0130.00716.43
7.4.120.0060.01016.35
7.4.110.0070.01116.37
7.4.100.0060.01516.36
7.4.90.0030.01416.45
7.4.80.0120.01219.39
7.4.70.0110.00916.44
7.4.60.0070.01516.49
7.4.50.0050.00516.44
7.4.40.0110.00616.28
7.4.30.0060.00916.21
7.4.00.0090.00614.93
7.3.330.0000.00713.04
7.3.320.0030.00312.94
7.3.310.0000.00716.19
7.3.300.0030.00316.04
7.3.290.0130.00316.15
7.3.280.0080.01016.16
7.3.270.0120.00917.40
7.3.260.0060.01316.43
7.3.250.0130.00716.29
7.3.240.0050.01316.24
7.3.230.0100.00716.39
7.3.210.0110.00916.33
7.3.200.0170.00316.38
7.3.190.0070.01016.03
7.3.180.0140.00316.15
7.3.170.0070.01516.11
7.3.160.0120.00616.12
7.3.120.0100.00314.85
7.3.110.0040.00814.63
7.3.100.0040.01114.75
7.3.90.0070.00314.64
7.3.80.0060.00314.68
7.3.70.0070.01014.77
7.3.60.0070.00414.55
7.3.50.0070.00714.62
7.3.40.0060.00614.72
7.3.30.0000.01414.62
7.3.20.0070.00716.54
7.3.10.0060.00616.50
7.3.00.0030.01116.67
7.2.330.0100.01016.22
7.2.320.0130.00716.48
7.2.310.0140.00516.55
7.2.300.0040.01216.39
7.2.290.0060.00916.49
7.2.240.0000.01214.88
7.2.230.0030.00714.67
7.2.220.0040.00414.82
7.2.210.0090.00414.85
7.2.200.0080.00414.85
7.2.190.0040.01214.79
7.2.180.0040.01114.85
7.2.170.0030.01314.90
7.2.160.0090.00614.91
7.2.150.0060.01016.68
7.2.140.0030.01016.81
7.2.130.0000.01116.31
7.2.120.0060.01216.65
7.2.110.0110.00416.45
7.2.100.0060.00916.43
7.2.90.0130.00316.64
7.2.80.0130.00016.42
7.2.70.0070.00716.90
7.2.60.0050.01116.80
7.2.50.0080.00816.78
7.2.40.0040.01116.48
7.2.30.0120.00316.75
7.2.20.0100.00316.54
7.2.10.0080.00616.77
7.2.00.0100.00517.82
7.1.330.0060.00615.79
7.1.320.0060.00915.55
7.1.310.0000.01115.77
7.1.300.0070.00415.63
7.1.290.0070.00715.65
7.1.280.0040.00815.54
7.1.270.0000.01115.66
7.1.260.0130.00315.51
7.1.250.0030.01015.61
7.1.200.0080.00415.30
7.1.100.0070.00717.98
7.1.70.0000.00817.09
7.1.60.0140.01019.47
7.1.50.0180.02134.73
7.1.00.0000.07722.58
7.0.200.0000.01114.83
7.0.70.1270.06019.91
7.0.60.1200.06319.95
7.0.50.1330.04720.41
7.0.40.1500.06020.23
7.0.30.1400.06020.33
7.0.20.1330.04720.21
7.0.10.1330.06720.39
7.0.00.1530.06720.38
5.6.280.0000.07720.91
5.6.220.1100.06020.79
5.6.210.0870.06320.50
5.6.200.1270.07021.14
5.6.190.1100.07021.01
5.6.180.1230.06021.11
5.6.170.1300.06721.05
5.6.160.1300.05721.01
5.6.150.1500.08321.01
5.6.140.0930.06021.02
5.6.130.1130.05721.07
5.6.120.0800.07321.16
5.6.110.1070.09320.99
5.6.100.1030.06021.14
5.6.90.1230.06721.10
5.6.80.1130.05720.45
5.6.70.1000.06320.38
5.6.60.1100.05020.49
5.6.50.1200.05720.48
5.6.40.0800.06720.48
5.6.30.1030.05020.47
5.6.20.0900.06020.45
5.6.10.1130.05720.44
5.6.00.1070.04720.44
5.5.360.1030.05720.41
5.5.350.1070.06020.42
5.5.340.1070.05320.87
5.5.330.1130.07320.81
5.5.320.1230.05720.82
5.5.310.1170.05320.94
5.5.300.1100.05720.69
5.5.290.1130.06020.84
5.5.280.1170.06020.96
5.5.270.1200.04020.77
5.5.260.1170.06320.97
5.5.250.1200.05720.77
5.5.240.1130.06320.17
5.5.230.1230.05320.32
5.5.220.0700.06320.19
5.5.210.1170.07020.21
5.5.200.1230.05720.32
5.5.190.1030.06320.27
5.5.180.1070.06020.29
5.5.160.1030.06020.20
5.5.150.1270.05320.29
5.5.140.1170.06720.16
5.5.130.1400.04320.27
5.5.120.1130.05720.30
5.5.110.1270.05720.28
5.5.100.1000.05720.00
5.5.90.0900.06020.07
5.5.80.0970.05320.15
5.5.70.1030.06020.05
5.5.60.1130.05019.99
5.5.50.1100.07320.14
5.5.40.1170.05320.13
5.5.30.1370.05720.10
5.5.20.1270.06320.12
5.5.10.1030.06720.00
5.5.00.0600.05720.08

preferences:
62.73 ms | 400 KiB | 5 Q