3v4l.org

run code in 300+ PHP versions simultaneously
<?php use strict; function error_handler ( $errno ) { $trace=debug_backtrace(); var_dump($errno); var_dump( $trace); $error = error_get_last(); $output = ""; foreach ($error as $info => $string) $output .= "{$info}: {$string}\n"; return $output; } ob_start('error_handler'); will_this_undefined_function_raise_an_error();

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.0070.00718.68
8.3.60.0130.00616.75
8.3.50.0120.00917.49
8.3.40.0060.00918.84
8.3.30.0070.00718.80
8.3.20.0060.00318.73
8.3.10.0040.00418.90
8.3.00.0030.01319.50
8.2.180.0100.01016.63
8.2.170.0000.01622.96
8.2.160.0130.00318.91
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0080.00019.66
8.2.110.0080.00020.54
8.2.100.0060.00617.93
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0000.00818.28
8.2.30.0090.00017.82
8.2.20.0050.00717.88
8.2.10.0040.00419.46
8.2.00.0060.00317.76
8.1.280.0000.01425.92
8.1.270.0070.00023.99
8.1.260.0090.00026.35
8.1.250.0000.00728.09
8.1.240.0000.00824.03
8.1.230.0060.00617.54
8.1.220.0040.00417.77
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0080.00017.35
8.1.180.0030.00618.10
8.1.170.0080.00518.35
8.1.160.0040.00419.03
8.1.150.0000.00818.71
8.1.140.0040.00417.51
8.1.130.0030.00317.46
8.1.120.0060.00317.43
8.1.110.0040.00417.51
8.1.100.0070.00017.48
8.1.90.0000.00717.34
8.1.80.0070.00017.51
8.1.70.0000.00717.36
8.1.60.0000.00717.62
8.1.50.0000.00717.50
8.1.40.0000.00817.54
8.1.30.0090.00017.64
8.1.20.0000.01017.59
8.1.10.0040.00417.55
8.1.00.0030.00517.38
8.0.300.0030.00618.77
8.0.290.0050.00316.75
8.0.280.0030.00318.58
8.0.270.0030.00317.27
8.0.260.0030.00316.92
8.0.250.0040.00417.00
8.0.240.0040.00416.96
8.0.230.0000.00817.07
8.0.220.0030.00717.00
8.0.210.0000.00716.92
8.0.200.0060.00016.90
8.0.190.0000.00717.05
8.0.180.0040.00416.87
8.0.170.0040.00416.92
8.0.160.0050.00316.91
8.0.150.0000.00916.84
8.0.140.0040.00416.91
8.0.130.0030.00313.42
8.0.120.0070.00316.72
8.0.110.0000.00716.91
8.0.100.0000.00716.94
8.0.90.0070.00016.81
8.0.80.0070.00716.91
8.0.70.0000.00816.81
8.0.60.0070.00016.89
8.0.50.0040.00417.00
8.0.30.0090.00917.23
8.0.20.0110.00716.98
8.0.10.0000.00716.97
8.0.00.0090.01016.66
7.4.330.0000.00512.90
7.4.320.0000.00616.60
7.4.300.0030.00316.43
7.4.290.0070.00016.50
7.4.280.0030.00516.45
7.4.270.0050.00316.39
7.4.260.0030.00313.25
7.4.250.0040.00416.58
7.4.240.0070.00016.45
7.4.230.0030.00616.33
7.4.220.0090.00916.57
7.4.210.0100.01016.67
7.4.200.0000.00716.59
7.4.190.0050.00316.65
7.4.160.0090.00916.74
7.4.150.0070.01116.39
7.4.140.0140.01017.86
7.4.130.0120.00616.71
7.4.120.0130.01016.55
7.4.110.0100.00716.57
7.4.100.0030.01416.48
7.4.90.0110.00716.34
7.4.80.0050.01819.39
7.4.70.0080.00816.55
7.4.60.0070.01016.41
7.4.50.0060.00316.29
7.4.40.0040.01116.43
7.4.30.0060.00916.29
7.3.330.0000.00613.42
7.3.320.0060.00013.28
7.3.310.0030.00616.41
7.3.300.0000.00716.38
7.3.290.0070.00816.44
7.3.280.0100.01116.34
7.3.270.0200.00016.41
7.3.260.0060.01116.48
7.3.240.0070.01916.62
7.3.230.0170.00016.52
7.3.210.0070.01016.46
7.3.200.0110.00516.52
7.3.190.0040.01216.34
7.3.180.0130.01016.45
7.3.170.0090.00616.45
7.3.160.0000.01516.39
7.2.330.0120.00616.43
7.2.320.0120.00616.50
7.2.310.0030.01616.87
7.2.300.0090.00916.73
7.2.290.0130.00316.63
5.4.170.0100.07018.78
5.4.160.0030.06319.15
5.4.150.0070.06018.77
5.4.140.0130.03016.41
5.4.130.0200.06016.25
5.4.120.0100.04016.30
5.4.110.0130.07016.37
5.4.100.0070.07016.15
5.4.90.0070.03316.34
5.4.80.0030.03716.33
5.4.70.0070.04316.35
5.4.60.0030.07016.58
5.4.50.0070.06716.32
5.4.40.0130.06016.36
5.4.30.0100.07316.36
5.4.20.0070.04716.32
5.4.10.0000.04016.34
5.4.00.0170.06315.89
5.3.270.0100.05314.63
5.3.260.0130.07314.50
5.3.250.0030.06014.65
5.3.240.0200.06714.65
5.3.230.0100.03314.77
5.3.220.0130.04714.57
5.3.210.0100.07014.60
5.3.200.0070.05014.74
5.3.190.0070.05314.71
5.3.180.0070.04314.57
5.3.170.0130.04314.59
5.3.160.0100.07014.48
5.3.150.0070.05714.59
5.3.140.0000.07714.61
5.3.130.0070.08314.56
5.3.120.0070.03714.58
5.3.110.0030.05014.59
5.3.100.0070.03714.07
5.3.90.0070.07314.02
5.3.80.0030.05313.91
5.3.70.0070.03714.07
5.3.60.0070.07714.05
5.3.50.0070.05014.10
5.3.40.0130.06713.96
5.3.30.0100.03313.91
5.3.20.0070.07013.70
5.3.10.0070.06313.73
5.3.00.0170.05713.66

preferences:
62.29 ms | 401 KiB | 5 Q