3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { echo 'foo'; } echo (NULL === set_error_handler('foo')); echo (NULL === set_error_handler('bar'));

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.70.0120.00916.88
8.3.60.0120.00318.39
8.3.50.0070.00718.02
8.3.40.0120.00318.84
8.3.30.0120.00318.46
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.190.0120.00416.63
8.2.180.0120.00325.92
8.2.170.0070.01418.71
8.2.160.0070.00722.96
8.2.150.0060.00325.66
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0000.00819.66
8.2.110.0090.00020.39
8.2.100.0070.00717.91
8.2.90.0050.00317.75
8.2.80.0030.00518.78
8.2.70.0060.00317.75
8.2.60.0050.00317.63
8.2.50.0000.00818.05
8.2.40.0040.00419.91
8.2.30.0040.00417.73
8.2.20.0000.00819.49
8.2.10.0060.00317.57
8.2.00.0000.00719.24
8.1.280.0040.01125.92
8.1.270.0000.00823.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00618.88
8.1.230.0060.00617.83
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0000.00817.23
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0070.00018.82
8.1.160.0040.00418.67
8.1.150.0050.00218.42
8.1.140.0000.00817.27
8.1.130.0030.00318.82
8.1.120.0040.00417.22
8.1.110.0030.00517.32
8.1.100.0070.00017.35
8.1.90.0040.00417.31
8.1.80.0040.00417.29
8.1.70.0030.00517.38
8.1.60.0000.00817.46
8.1.50.0000.00817.34
8.1.40.0040.00417.43
8.1.30.0030.00517.58
8.1.20.0000.00717.57
8.1.10.0000.00917.42
8.1.00.0000.00817.30
8.0.300.0070.00318.77
8.0.290.0110.00016.58
8.0.280.0000.00718.36
8.0.270.0000.00716.80
8.0.260.0000.00718.46
8.0.250.0030.00316.93
8.0.240.0040.00416.98
8.0.230.0070.00016.91
8.0.220.0000.00816.91
8.0.210.0070.00016.85
8.0.200.0030.00316.92
8.0.190.0000.00716.82
8.0.180.0040.00416.96
8.0.170.0000.00916.92
8.0.160.0040.00416.82
8.0.150.0030.00316.88
8.0.140.0000.00816.86
8.0.130.0000.00713.28
8.0.120.0120.00013.28
8.0.110.0100.00213.25
8.0.100.0000.00713.31
8.0.90.0000.00613.27
8.0.80.0120.00013.37
8.0.70.0080.00413.32
8.0.60.0120.00013.23
8.0.50.0080.00513.30
8.0.30.0130.00313.23
8.0.20.0110.00313.41
8.0.10.0070.00613.45
8.0.00.0030.00313.36
7.4.330.0030.00315.55
7.4.320.0040.00416.54
7.4.300.0020.00516.45
7.4.290.0000.00716.46
7.4.280.0050.00316.41
7.4.270.0070.00016.49
7.4.260.0130.00013.29
7.4.250.0090.00413.20
7.4.240.0000.00613.07
7.4.230.0030.00313.21
7.4.220.0070.00313.23
7.4.210.0120.00313.22
7.4.200.0120.00213.15
7.4.190.0070.00713.29
7.4.180.0100.00513.27
7.4.160.0130.00313.31
7.4.150.0110.00313.17
7.4.140.0100.00513.15
7.4.130.0130.00313.13
7.4.120.0060.00613.16
7.4.110.0100.00013.02
7.4.100.0130.00013.27
7.4.90.0120.00013.13
7.4.80.0050.00813.08
7.4.70.0180.00013.15
7.4.60.0130.00313.14
7.4.50.0130.00313.08
7.4.40.0150.00013.06
7.4.30.0090.00513.13
7.4.20.0070.00713.14
7.4.10.0120.00313.06
7.4.00.0040.00913.07
7.3.330.0080.00613.22
7.3.320.0100.00513.26
7.3.310.0140.00313.10
7.3.300.0090.00013.15
7.3.290.0170.00013.10
7.3.280.0120.00413.29
7.3.270.0110.00613.25
7.3.260.0130.00613.27
7.3.250.0150.00313.10
7.3.240.0130.00313.23
7.3.230.0130.00313.30
7.3.220.0070.00713.00
7.3.210.0120.00412.98
7.3.200.0130.00313.18
7.3.190.0110.00613.22
7.3.180.0160.00013.23
7.3.170.0100.00713.17
7.3.160.0080.00813.20
7.3.150.0140.00313.04
7.3.140.0130.00413.21
7.3.130.0030.01013.18
7.3.120.0090.00313.06
7.3.110.0070.01113.09
7.3.100.0150.00313.09
7.3.90.0140.00313.40
7.3.80.0120.00613.09
7.3.70.0120.00613.30
7.3.60.0190.00013.21
7.3.50.0150.00313.35
7.3.40.0190.00013.25
7.3.30.0120.00613.36
7.3.20.0100.01014.95
7.3.10.0120.00814.87
7.3.00.0060.00315.17

preferences:
50.41 ms | 401 KiB | 5 Q