3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "fields": [ { "_id": "identifier", "required": true, "size": 4, "type": "text" } ] }'; $decoded = json_decode($json, true); 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.60.0120.00416.38
8.3.50.0110.00721.20
8.3.40.0110.00318.61
8.3.30.0120.00318.30
8.3.20.0070.00020.26
8.3.10.0080.00418.60
8.3.00.0080.00020.43
8.2.180.0110.00418.18
8.2.170.0040.01822.96
8.2.160.0070.00719.16
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00422.29
8.2.120.0000.00726.16
8.2.110.0000.00921.01
8.2.100.0040.00817.78
8.2.90.0040.00419.21
8.2.80.0030.00517.97
8.2.70.0040.00417.38
8.2.60.0080.00017.80
8.2.50.0040.00418.10
8.2.40.0000.00820.59
8.2.30.0040.00419.15
8.2.20.0070.00018.04
8.2.10.0040.00418.10
8.2.00.0090.00017.54
8.1.280.0060.01225.92
8.1.270.0030.00623.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.38
8.1.230.0000.01117.52
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00718.44
8.1.160.0070.00022.08
8.1.150.0040.00418.77
8.1.140.0050.00219.52
8.1.130.0070.00017.54
8.1.120.0020.00517.36
8.1.110.0030.00617.31
8.1.100.0000.00717.28
8.1.90.0000.00717.38
8.1.80.0030.00317.36
8.1.70.0070.00017.30
8.1.60.0050.00317.52
8.1.50.0000.00817.34
8.1.40.0080.00017.38
8.1.30.0000.00917.57
8.1.20.0000.00817.52
8.1.10.0080.00017.34
8.1.00.0020.00517.42
8.0.300.0030.00418.77
8.0.290.0060.00316.63
8.0.280.0050.00318.28
8.0.270.0030.00317.09
8.0.260.0040.00417.29
8.0.250.0030.00316.82
8.0.240.0040.00416.90
8.0.230.0040.00416.86
8.0.220.0000.00716.82
8.0.210.0070.00016.84
8.0.200.0000.00716.89
8.0.190.0040.00716.78
8.0.180.0040.00316.73
8.0.170.0000.00816.83
8.0.160.0000.00816.70
8.0.150.0080.00016.63
8.0.140.0000.00716.61
8.0.130.0000.00613.31
8.0.120.0050.00316.78
8.0.110.0040.00416.71
8.0.100.0090.00016.76
8.0.90.0070.00016.69
8.0.80.0110.01116.85
8.0.70.0000.00916.67
8.0.60.0040.00416.87
8.0.50.0000.00816.76
8.0.30.0090.00817.07
8.0.20.0130.01017.40
8.0.10.0000.00716.92
8.0.00.0100.01016.61
7.4.330.0000.00515.08
7.4.320.0060.00016.36
7.4.300.0030.00316.28
7.4.290.0030.00316.44
7.4.280.0040.00416.53
7.4.270.0000.00816.54
7.4.260.0050.00316.53
7.4.250.0030.00316.29
7.4.240.0040.00416.60
7.4.230.0030.00316.31
7.4.220.0110.00616.55
7.4.210.0070.00616.46
7.4.200.0030.00316.55
7.4.160.0090.00716.38
7.4.150.0090.00917.40
7.4.140.0100.01117.86
7.4.130.0130.00516.32
7.4.120.0120.00516.43
7.4.110.0070.01716.21
7.4.100.0070.01016.59
7.4.90.0100.00716.41
7.4.80.0070.01419.39
7.4.70.0090.00916.50
7.4.60.0070.01016.52
7.4.50.0020.01216.23
7.4.40.0110.00616.43
7.4.30.0030.01916.34
7.4.00.0030.01314.96
7.3.330.0020.00213.05
7.3.320.0030.00312.97
7.3.310.0070.00016.18
7.3.300.0070.00016.04
7.3.290.0090.00616.14
7.3.280.0120.00616.15
7.3.270.0130.00417.40
7.3.260.0110.01116.37
7.3.250.0110.00616.18
7.3.240.0080.00916.33
7.3.230.0060.01216.39
7.3.210.0070.01316.39
7.3.200.0120.00416.20
7.3.190.0040.01216.03
7.3.180.0120.00416.10
7.3.170.0180.00616.26
7.3.160.0060.01216.28
7.2.330.0150.00316.22
7.2.320.0090.00916.63
7.2.310.0160.00316.29
7.2.300.0100.00716.48
7.2.290.0090.01216.50
7.2.00.0000.01219.03
7.1.70.0070.00416.95
7.1.60.0070.00716.92
7.1.00.0000.08022.40
7.0.200.0180.00714.43
7.0.110.0500.06020.29
7.0.100.0330.06320.21
7.0.90.0270.06020.38
7.0.80.0230.06720.26
7.0.70.0300.06720.32
7.0.60.0330.05020.33
7.0.50.0300.05320.31
7.0.40.0630.06720.23
7.0.30.0500.07020.29
7.0.20.0330.06320.29
7.0.10.0300.05320.25
7.0.00.0330.05320.29
5.6.260.0170.05721.08
5.6.250.0200.07021.03
5.6.240.0170.04720.97
5.6.230.0070.06021.00
5.6.220.0200.05021.07
5.6.210.0030.06020.96
5.6.200.0000.06720.99
5.6.190.0030.06721.05
5.6.180.0170.07021.02
5.6.170.0200.06020.98
5.6.160.0030.06720.73
5.6.150.0200.06020.74
5.6.140.0200.06020.98
5.6.130.0200.05020.91
5.6.120.0070.06721.03
5.6.110.0030.07021.04
5.6.100.0100.05721.06
5.6.90.0230.04021.05
5.6.80.0130.07020.12
5.6.70.0070.05720.13
5.6.60.0030.07720.37
5.6.50.0170.04320.22
5.6.40.0000.06020.35
5.6.30.0030.06020.34
5.6.20.0070.05720.28
5.6.10.0100.05720.19
5.6.00.0070.08720.37

preferences:
60.71 ms | 401 KiB | 5 Q