3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checkme = ''; json_decode($checkme); if (json_last_error() === JSON_ERROR_NONE){ echo "No error."; }else{ echo "error detected of : " . json_last_error() . " " . 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.0140.00016.36
8.3.50.0100.01019.73
8.3.40.0150.00618.70
8.3.30.0040.01118.63
8.3.20.0040.00421.77
8.3.10.0030.00623.43
8.3.00.0040.00421.74
8.2.180.0120.00316.34
8.2.170.0120.00322.96
8.2.160.0070.00720.82
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00019.45
8.2.120.0070.00026.35
8.2.110.0080.00422.20
8.2.100.0070.00417.78
8.2.90.0110.00017.91
8.2.80.0000.00919.23
8.2.70.0000.01017.63
8.2.60.0000.00918.04
8.2.50.0030.00618.07
8.2.40.0000.00919.95
8.2.30.0000.00818.05
8.2.20.0040.00418.05
8.2.10.0000.00717.98
8.2.00.0000.00718.30
8.1.280.0000.01525.92
8.1.270.0050.00323.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0080.00420.83
8.1.230.0040.00720.77
8.1.220.0050.00317.74
8.1.210.0040.00418.88
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0040.00418.71
8.1.160.0000.00818.90
8.1.150.0050.00218.88
8.1.140.0020.00619.00
8.1.130.0070.00017.88
8.1.120.0080.00017.38
8.1.110.0050.00317.39
8.1.100.0080.00017.45
8.1.90.0000.00717.38
8.1.80.0020.00517.39
8.1.70.0000.00817.36
8.1.60.0030.00617.59
8.1.50.0060.00317.56
8.1.40.0040.00417.48
8.1.30.0000.00817.52
8.1.20.0040.00417.59
8.1.10.0040.00417.42
8.1.00.0030.00617.49
8.0.300.0070.00019.89
8.0.290.0040.00416.75
8.0.280.0000.00718.35
8.0.270.0000.00817.27
8.0.260.0000.00617.17
8.0.250.0050.00216.92
8.0.240.0030.00316.98
8.0.230.0030.00316.97
8.0.220.0030.00316.84
8.0.210.0040.00416.93
8.0.200.0030.00316.86
8.0.190.0040.00416.82
8.0.180.0040.00416.79
8.0.170.0040.00416.92
8.0.160.0000.00716.98
8.0.150.0040.00416.79
8.0.140.0000.00716.88
8.0.130.0040.00413.27
8.0.120.0090.00016.78
8.0.110.0000.00816.81
8.0.100.0000.00816.86
8.0.90.0040.00416.95
8.0.80.0060.00916.83
8.0.70.0000.00716.87
8.0.60.0050.00216.96
8.0.50.0040.00416.95
8.0.30.0120.00616.99
8.0.20.0100.01117.40
8.0.10.0040.00416.96
8.0.00.0150.00516.85
7.4.330.0000.00415.55
7.4.320.0030.00316.51
7.4.300.0030.00316.40
7.4.290.0030.00316.45
7.4.280.0040.00416.62
7.4.270.0040.00416.60
7.4.260.0030.00316.58
7.4.250.0000.00716.45
7.4.240.0000.00816.59
7.4.230.0000.00716.41
7.4.220.0070.00016.31
7.4.210.0030.01816.59
7.4.200.0000.00816.62
7.4.160.0090.00916.42
7.4.150.0210.00317.40
7.4.140.0140.00617.86
7.4.130.0110.00716.56
7.4.120.0110.00916.40
7.4.110.0070.01016.48
7.4.100.0150.00616.41
7.4.90.0050.01616.45
7.4.80.0060.01619.39
7.4.70.0140.00416.44
7.4.60.0040.01816.37
7.4.50.0030.00616.42
7.4.40.0090.00916.42
7.4.00.0090.00714.81
7.3.330.0020.00213.05
7.3.320.0000.00613.08
7.3.310.0000.00716.24
7.3.300.0070.00016.17
7.3.290.0100.00716.22
7.3.280.0040.00916.18
7.3.270.0110.00717.40
7.3.260.0120.00416.36
7.3.250.0100.00816.30
7.3.240.0110.00916.41
7.3.230.0080.00816.51
7.3.210.0070.01016.48
7.3.200.0060.01016.32
7.3.190.0080.00816.20
7.3.180.0100.00716.46
7.3.170.0180.00316.16
7.3.160.0090.01216.19
7.3.120.0070.01014.70
7.3.110.0030.01414.75
7.3.100.0030.01014.71
7.3.90.0060.00614.44
7.3.80.0120.00314.50
7.3.70.0070.00714.76
7.3.60.0110.00414.72
7.3.50.0030.01014.85
7.3.40.0070.00314.65
7.3.30.0090.00614.81
7.3.20.0090.00616.66
7.3.10.0030.00616.64
7.3.00.0100.00316.63
7.2.330.0150.00416.81
7.2.320.0070.01416.46
7.2.310.0110.00616.75
7.2.300.0100.01316.27
7.2.290.0030.01316.73
7.2.250.0120.00414.84
7.2.240.0100.01015.00
7.2.230.0100.00614.70
7.2.220.0060.00615.02
7.2.210.0030.01015.05
7.2.200.0030.01415.15
7.2.190.0100.00615.00
7.2.180.0080.00415.20
7.2.170.0030.01015.01
7.2.60.0030.01316.91
7.2.00.0140.01417.88
7.1.330.0130.00315.70
7.1.320.0040.00815.80
7.1.310.0030.01015.87
7.1.300.0120.00315.53
7.1.290.0000.00915.79
7.1.280.0130.00015.43
7.1.270.0030.01015.54
7.1.260.0060.00315.61
7.1.200.0040.00815.91
7.1.120.0160.01016.69
7.1.110.0170.00716.01
7.1.100.0170.00716.01
7.1.90.0140.01416.07
7.1.80.0100.01316.15
7.1.70.0820.01015.20
7.1.60.0210.01433.23
7.1.50.0330.01032.84
7.1.40.0260.01332.50
7.1.30.0240.01432.71
7.1.20.0240.01432.79
7.1.10.0130.01014.66
7.1.00.0160.01014.82

preferences:
66.18 ms | 400 KiB | 5 Q