3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"test" : "test one \xe0 "}'; var_dump(json_decode($json)); echo json_last_error() . PHP_EOL; echo 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.5.10.0070.01116.34
8.5.00.0090.01319.96
8.4.160.0120.00923.84
8.4.150.0020.00114.05
8.4.140.0140.00617.40
8.4.130.0120.00917.43
8.4.120.0070.00320.49
8.4.110.0150.00518.65
8.4.100.0110.01017.78
8.4.90.0060.00420.52
8.4.80.0080.00118.70
8.4.70.0020.00620.82
8.4.60.0110.00818.73
8.4.50.0100.01018.38
8.4.40.0070.00417.53
8.4.30.0050.00318.61
8.4.20.0120.00818.82
8.4.10.0040.00419.38
8.3.280.0120.00818.31
8.3.270.0150.00916.63
8.3.260.0120.00816.71
8.3.250.0120.00718.71
8.3.240.0110.00716.56
8.3.230.0070.01416.65
8.3.220.0130.00518.81
8.3.210.0100.00918.66
8.3.200.0040.00516.71
8.3.190.0100.00817.13
8.3.180.0040.00418.81
8.3.170.0070.01120.47
8.3.160.0150.00316.54
8.3.150.0070.01017.12
8.3.140.0070.01116.73
8.3.130.0030.00518.54
8.3.120.0100.00016.71
8.3.110.0060.00318.30
8.3.100.0090.00016.74
8.3.90.0110.00726.77
8.3.80.0040.00818.06
8.3.70.0180.00016.58
8.3.60.0110.01118.43
8.3.50.0220.00016.66
8.3.40.0070.00720.09
8.3.30.0050.01320.04
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0100.01018.68
8.2.290.0120.00718.63
8.2.280.0080.01218.55
8.2.270.0140.00417.43
8.2.260.0130.00618.46
8.2.250.0080.01116.40
8.2.240.0030.00519.02
8.2.230.0040.00420.94
8.2.220.0040.00424.06
8.2.210.0100.00026.77
8.2.200.0100.00018.29
8.2.190.0070.01116.58
8.2.180.0180.00425.92
8.2.170.0070.00718.95
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0090.00919.39
8.2.120.0070.01119.02
8.2.110.0060.01318.72
8.2.100.0120.00618.97
8.2.90.0170.00318.84
8.2.80.0100.01018.77
8.2.70.0150.00418.64
8.2.60.0130.00318.82
8.2.50.0040.00418.76
8.2.40.0040.00418.78
8.2.30.0040.00418.70
8.2.20.0040.00418.41
8.2.10.0040.00418.76
8.2.00.0000.00818.71
8.1.330.0080.01016.02
8.1.320.0080.00916.31
8.1.310.0090.00617.96
8.1.300.0040.00419.43
8.1.290.0040.00430.84
8.1.280.0160.00325.92
8.1.270.0070.01422.06
8.1.260.0040.00422.07
8.1.250.0040.01121.93
8.1.240.0050.00318.48
8.1.230.0060.01018.54
8.1.220.0110.00418.62
8.1.210.0040.00418.28
8.1.200.0120.00318.39
8.1.190.0090.00618.68
8.1.180.0060.00318.26
8.1.170.0160.00018.52
8.1.160.0080.00018.67
8.1.150.0120.00318.54
8.1.140.0060.00318.48
8.1.130.0040.00418.86
8.1.120.0040.00418.63
8.1.110.0090.00018.59
8.1.100.0160.00018.73
8.1.90.0090.00620.34
8.1.80.0080.00518.63
8.1.70.0060.00318.59
8.1.60.0000.00818.62
8.1.50.0050.00318.76
8.1.40.0080.00018.68
8.1.30.0030.00618.73
8.1.20.0030.00618.82
8.1.10.0080.00318.61
8.1.00.0030.00618.44

preferences:
84.45 ms | 403 KiB | 5 Q