3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AtEase { private static $originalLevel = false; static function suppressWarnings() { self::$originalLevel = error_reporting( E_ALL & ~( E_WARNING | E_NOTICE | E_USER_WARNING | E_USER_NOTICE | E_DEPRECATED | E_USER_DEPRECATED | E_STRICT ) ); } static function restoreWarnings() { error_reporting( self::$originalLevel ); } } function sameAsLoggerDebug() { AtEase::suppressWarnings(); AtEase::restoreWarnings(); } function sameAsSessionStart() { sameAsLoggerDebug(); } print "PRE er=" . error_reporting() . ' ini=' . intval( ini_get( 'error_reporting' ) ) . "\n"; @sameAsSessionStart(); print "POST er=" . error_reporting() . ' ini=' . intval( ini_get( 'error_reporting' ) ) . "\n";

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.0100.00816.81
8.5.00.0130.00820.15
8.4.150.0020.00014.05
8.4.140.0110.01017.50
8.4.130.0030.00517.75
8.4.120.0120.00820.43
8.4.110.0060.00322.75
8.4.100.0130.00817.54
8.4.90.0130.00720.66
8.4.80.0040.00818.66
8.4.70.0080.01020.64
8.4.60.0100.01020.52
8.4.50.0120.00820.78
8.4.40.0060.01019.60
8.4.30.0140.00620.51
8.4.20.0060.00320.04
8.4.10.0120.00617.77
8.3.280.0090.01518.30
8.3.270.0100.00916.64
8.3.260.0090.01116.67
8.3.250.0080.01118.86
8.3.240.0080.00716.66
8.3.230.0050.00416.65
8.3.220.0080.01019.05
8.3.210.0120.00716.52
8.3.200.0040.00616.63
8.3.190.0040.00417.48
8.3.180.0100.00818.89
8.3.170.0040.00417.05
8.3.160.0030.01616.64
8.3.150.0120.00618.34
8.3.140.0080.00016.81
8.3.130.0030.00618.24
8.3.120.0070.00719.08
8.3.110.0160.00020.94
8.3.100.0040.00424.06
8.3.90.0070.00426.77
8.3.80.0030.00616.88
8.3.70.0060.00916.58
8.3.60.0000.01518.43
8.3.50.0100.01018.16
8.3.40.0130.00720.72
8.3.30.0000.01518.67
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.290.0110.00816.51
8.2.280.0060.01518.57
8.2.270.0120.00618.28
8.2.260.0070.01117.07
8.2.250.0060.00316.80
8.2.240.0000.01516.84
8.2.230.0070.00322.58
8.2.220.0080.00037.54
8.2.210.0070.00026.77
8.2.200.0100.00016.63
8.2.190.0120.00316.58
8.2.180.0000.01525.92
8.2.170.0150.00418.82
8.2.160.0040.01122.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0090.00622.09
8.2.100.0060.00617.78
8.2.90.0070.00419.05
8.2.80.0000.00818.05
8.2.70.0050.00317.63
8.2.60.0040.00417.92
8.2.50.0000.00818.07
8.2.40.0050.00319.82
8.2.30.0050.00217.94
8.2.20.0040.00418.07
8.2.10.0070.00019.22
8.2.00.0000.00719.14
8.1.330.0130.00522.05
8.1.320.0040.00418.06
8.1.310.0070.01016.39
8.1.300.0000.00917.88
8.1.290.0090.00018.88
8.1.280.0080.00825.92
8.1.270.0050.00323.99
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00422.66
8.1.230.0070.00417.83
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0090.00017.25
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0070.00018.76
8.1.150.0000.00718.59
8.1.140.0030.00717.32
8.1.130.0050.00318.88
8.1.120.0000.00717.52
8.1.110.0040.00417.38
8.1.100.0030.00317.48
8.1.90.0040.00417.32
8.1.80.0030.00617.36
8.1.70.0080.00017.36
8.1.60.0000.00817.48
8.1.50.0000.00817.53
8.1.40.0100.00017.45
8.1.30.0090.00017.64
8.1.20.0070.00317.67
8.1.10.0040.00417.41
8.1.00.0070.00017.52
8.0.300.0060.00318.77
8.0.290.0060.00316.75
8.0.280.0000.00818.50
8.0.270.0000.00718.02
8.0.260.0030.00318.57
8.0.250.0070.00016.96
8.0.240.0000.00716.86
8.0.230.0030.00316.88
8.0.220.0040.00416.93
8.0.210.0070.00016.78
8.0.200.0030.00316.81
8.0.190.0080.00016.91
8.0.180.0000.00716.87
8.0.170.0030.00616.79
8.0.160.0000.00716.89
8.0.150.0000.01016.88
8.0.140.0060.00316.73
8.0.130.0050.00013.30
8.0.120.0030.00516.76
8.0.110.0050.00516.75
8.0.100.0070.00016.97
8.0.90.0000.00716.91
8.0.80.0000.00616.68
8.0.70.0000.00717.00
8.0.60.0030.00316.74
8.0.50.0030.00316.78
8.0.30.0000.00716.91
8.0.20.0030.00317.05
8.0.10.0000.00716.91
8.0.00.0000.00716.89
7.4.330.0000.00515.55
7.4.320.0030.00316.52
7.4.300.0000.00616.49
7.4.290.0070.00016.44
7.4.280.0040.00416.61
7.4.270.0050.00316.60
7.4.260.0030.00313.29
7.4.250.0030.00316.56
7.4.240.0000.00716.64
7.4.230.0000.00616.30
7.4.220.0000.00716.58
7.4.210.0000.00616.47
7.4.200.0000.00616.66
7.4.190.0070.00016.65
7.4.180.0030.00316.54
7.4.160.0030.00316.43
7.4.150.0030.00316.39
7.4.140.0030.00316.30
7.4.130.0000.00716.17
7.4.120.0030.00316.45
7.4.110.0040.00416.64
7.4.100.0000.00816.32
7.4.90.0080.00016.44
7.4.80.0000.00816.62
7.4.70.0000.00716.56
7.4.60.0000.00616.54
7.4.50.0070.00016.58
7.4.40.0030.00316.29
7.4.30.0070.00016.43
7.4.20.0030.00316.36
7.4.10.0030.00316.56
7.4.00.0060.00016.33
7.3.330.0030.00516.25
7.3.320.0050.00013.26
7.3.310.0000.00716.20
7.3.300.0000.00616.21
7.3.290.0030.00316.18
7.3.280.0030.00316.13
7.3.270.0060.00016.30
7.3.260.0060.00016.24
7.3.250.0000.00616.24
7.3.240.0000.00616.31
7.3.230.0000.00616.28
7.3.220.0000.00616.32
7.3.210.0030.00316.37
7.3.200.0000.00616.17
7.3.190.0060.00016.23
7.3.180.0000.00616.29
7.3.170.0030.00316.33
7.3.160.0030.00316.18
7.3.150.0030.00316.13
7.3.140.0030.00316.17
7.3.130.0030.00316.14
7.3.120.0060.00016.12
7.3.110.0030.00316.12
7.3.100.0030.00316.04
7.3.90.0030.00316.34
7.3.80.0060.00016.24
7.3.70.0000.00616.23
7.3.60.0060.00016.27
7.3.50.0060.00016.36
7.3.40.0030.00316.36
7.3.30.0000.00716.23
7.3.20.0000.00618.19
7.3.10.0070.00018.28
7.3.00.0040.00418.07

preferences:
38.48 ms | 403 KiB | 5 Q