3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parser = xml_parser_create(); xml_set_default_handler($parser, "this is not a valid callback"); function only_accepts_callables(callable $value) { } only_accepts_callables("this is not a valid callback");

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.120.0060.00319.11
8.3.110.0160.00316.90
8.3.100.0090.00016.79
8.3.90.0070.00726.77
8.3.80.0070.00316.85
8.3.70.0150.00616.58
8.3.60.0110.01118.80
8.3.50.0120.00320.16
8.3.40.0120.00318.79
8.3.30.0150.00318.83
8.3.20.0070.00324.18
8.3.10.0040.00424.66
8.3.00.0020.00526.16
8.2.240.0110.00616.67
8.2.230.0060.00320.94
8.2.220.0030.00724.06
8.2.210.0120.00626.77
8.2.200.0090.00017.00
8.2.190.0090.00616.63
8.2.180.0030.01225.92
8.2.170.0150.00018.95
8.2.160.0090.00922.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0000.00726.16
8.2.110.0090.00020.60
8.2.100.0050.00817.97
8.2.90.0000.00817.75
8.2.80.0000.00917.97
8.2.70.0000.00917.63
8.2.60.0030.00517.63
8.2.50.0080.00017.98
8.2.40.0040.00418.28
8.2.30.0040.00418.03
8.2.20.0040.00420.56
8.2.10.0000.00817.75
8.2.00.0060.00619.21
8.1.300.0000.00920.13
8.1.290.0000.00930.84
8.1.280.0140.00425.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0000.01019.14
8.1.230.0080.00317.83
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0040.00817.38
8.1.190.0050.00317.36
8.1.180.0040.00418.10
8.1.170.0050.00317.62
8.1.160.0040.00418.83
8.1.150.0070.00018.53
8.1.140.0060.00317.46
8.1.130.0000.00719.24
8.1.120.0000.00717.47
8.1.110.0050.00217.37
8.1.100.0000.00717.47
8.1.90.0040.00417.48
8.1.80.0060.00317.27
8.1.70.0000.00717.31
8.1.60.0040.00417.49
8.1.50.0040.00417.61
8.1.40.0060.00317.71
8.1.30.0040.00417.57
8.1.20.0050.00317.59
8.1.10.0000.00917.44
8.1.00.0030.00517.51
8.0.300.0000.00718.77
8.0.290.0060.00616.63
8.0.280.0040.00418.56
8.0.270.0040.00416.84
8.0.260.0070.00016.80
8.0.250.0070.00017.00
8.0.240.0070.00016.88
8.0.230.0070.00017.11
8.0.220.0070.00016.80
8.0.210.0000.00716.96
8.0.200.0000.00617.08
8.0.190.0090.00016.99
8.0.180.0000.00716.83
8.0.170.0000.00917.03
8.0.160.0030.00816.72
8.0.150.0020.00516.99
8.0.140.0000.00816.73
8.0.130.0000.00817.00
8.0.120.0080.00016.91
8.0.110.0070.00016.90
8.0.100.0070.00016.95
8.0.90.0040.00416.94
8.0.80.0000.00717.00
8.0.70.0050.00217.00
8.0.60.0000.00817.00
8.0.50.0040.00416.95
8.0.30.0050.00216.96
8.0.20.0030.00517.02
8.0.10.0000.00717.03
7.4.330.0030.00315.55
7.4.320.0070.00016.46
7.4.300.0040.00416.50
7.4.290.0020.00516.49
7.4.280.0080.00016.48
7.4.270.0030.00316.61
7.4.260.0030.00316.55
7.4.250.0030.00316.56
7.4.240.0030.00316.60
7.4.230.0060.00016.55
7.4.220.0050.00316.54
7.4.210.0000.00716.46
7.4.200.0040.00416.61
7.4.190.0030.00316.77
7.4.180.0030.00316.63
7.4.160.0000.00816.61
7.4.150.0030.00316.60
7.4.140.0030.00316.47
7.4.130.0030.00316.44
7.4.120.0030.00316.42
7.4.110.0050.00316.46
7.4.100.0070.00016.61
7.4.90.0030.00516.59
7.4.80.0000.00716.59
7.4.70.0000.00716.29
7.4.60.0030.00316.53
7.4.50.0030.00316.34
7.4.40.0030.00316.46
7.4.30.0000.00716.55
7.4.20.0100.00016.21
7.4.10.0000.00716.36
7.4.00.0050.00316.46

preferences:
30.87 ms | 403 KiB | 5 Q