3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); class asd { function run() { echo $unexisting; echo 'error_reporting on silent errors function: ' . ini_get('error_reporting') . PHP_EOL; asd_function(); } } function asd_function() { echo 'error_reporting on trigger error_log function: ' . ini_get('error_reporting') . PHP_EOL; @error_log('I am an error'); } $asd = new asd(); echo 'error_reporting before @: ' . ini_get('error_reporting') . PHP_EOL; @$asd->run();

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.60.0140.00716.75
8.3.50.0090.01221.24
8.3.40.0110.00718.87
8.3.30.0110.00718.80
8.3.20.0040.00420.51
8.3.10.0030.00523.77
8.3.00.0080.00023.78
8.2.180.0070.01118.42
8.2.170.0170.00318.91
8.2.160.0100.00720.39
8.2.150.0060.00324.18
8.2.140.0120.00624.66
8.2.130.0080.00021.04
8.2.120.0030.00626.35
8.2.110.0060.00322.00
8.2.100.0040.00817.84
8.2.90.0000.00817.75
8.2.80.0030.00618.77
8.2.70.0000.00817.63
8.2.60.0030.00517.75
8.2.50.0040.00418.05
8.2.40.0000.00817.95
8.2.30.0000.00718.14
8.2.20.0040.00417.66
8.2.10.0070.00317.98
8.2.00.0000.00817.99
8.1.280.0140.00025.92
8.1.270.0000.00823.99
8.1.260.0000.00728.09
8.1.250.0030.00528.09
8.1.240.0050.00523.84
8.1.230.0080.00420.87
8.1.220.0050.00318.43
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0030.00619.13
8.1.170.0000.00817.62
8.1.160.0030.00318.93
8.1.150.0000.00818.64
8.1.140.0050.00319.54
8.1.130.0050.00217.71
8.1.120.0030.00517.39
8.1.110.0040.00417.49
8.1.100.0040.00417.47
8.1.90.0000.00717.45
8.1.80.0070.00017.45
8.1.70.0030.00317.47
8.1.60.0060.00317.60
8.1.50.0040.00417.52
8.1.40.0000.00717.41
8.1.30.0080.00017.58
8.1.20.0030.00617.55
8.1.10.0000.00717.57
8.1.00.0040.00417.41
8.0.300.0000.00718.77
8.0.290.0000.00716.88
8.0.280.0040.00418.39
8.0.270.0000.00717.31
8.0.260.0030.00317.31
8.0.250.0040.00316.94
8.0.240.0040.00417.07
8.0.230.0030.00316.99
8.0.220.0000.00717.02
8.0.210.0000.00716.94
8.0.200.0030.00316.91
8.0.190.0040.00416.94
8.0.180.0000.00716.88
8.0.170.0000.00716.85
8.0.160.0040.00416.93
8.0.150.0030.00516.93
8.0.140.0030.00616.83
8.0.130.0050.00013.40
8.0.120.0000.00816.83
8.0.110.0000.00717.01
8.0.100.0000.00816.82
8.0.90.0030.00616.79
8.0.80.0070.01016.88
8.0.70.0000.00816.83
8.0.60.0000.00716.82
8.0.50.0040.00416.98
8.0.30.0100.01017.21
8.0.20.0120.00917.40
8.0.10.0000.00716.91
8.0.00.0090.01116.78
7.4.330.0000.00516.89
7.4.320.0030.00316.64
7.4.300.0030.00316.59
7.4.290.0030.00316.50
7.4.280.0060.00316.55
7.4.270.0030.00316.66
7.4.260.0030.00416.45
7.4.250.0070.00016.45
7.4.240.0030.00416.63
7.4.230.0000.00716.73
7.4.220.0090.00916.46
7.4.210.0050.01016.51
7.4.200.0000.00716.34
7.4.160.0080.00816.44
7.4.150.0100.01017.40
7.4.140.0140.00517.86
7.4.130.0130.00516.60
7.4.120.0110.00616.47
7.4.110.0100.00616.57
7.4.100.0040.01416.53
7.4.90.0060.01216.40
7.4.80.0140.00719.39
7.4.70.0130.00916.43
7.4.60.0060.00916.45
7.4.50.0050.00516.50
7.4.40.0090.00916.59
7.4.30.0120.00616.35
7.4.00.0060.00614.91
7.3.330.0030.00313.21
7.3.320.0000.00513.39
7.3.310.0070.00016.48
7.3.300.0030.00316.39
7.3.290.0070.00016.42
7.3.280.0060.00916.39
7.3.270.0100.00717.40
7.3.260.0150.00716.36
7.3.250.0110.00716.43
7.3.240.0120.00716.33
7.3.230.0120.00816.40
7.3.210.0070.01016.56
7.3.200.0100.00716.38
7.3.190.0130.00316.50
7.3.180.0040.01516.66
7.3.170.0080.00816.44
7.3.160.0070.01416.53
7.3.10.0150.00916.10
7.3.00.0130.01016.46
7.2.330.0110.00616.38
7.2.320.0040.01516.46
7.2.310.0060.00916.68
7.2.300.0090.01016.69
7.2.290.0040.01616.41
7.2.130.0030.01316.76
7.2.120.0070.01016.68
7.2.110.0110.00816.64
7.2.100.0030.01016.76
7.2.90.0070.00717.01
7.2.80.0100.00716.60
7.2.70.0060.00916.67
7.2.60.0120.00316.54
7.2.50.0030.01016.87
7.2.40.0070.01016.49
7.2.30.0090.00616.58
7.2.20.0160.00616.42
7.2.10.0090.01216.67
7.2.00.0080.00618.32
7.1.250.0100.00715.60
7.1.200.0070.00715.79
7.1.100.0040.00818.03
7.1.70.0030.00617.20
7.1.60.0070.01819.06
7.1.50.0120.00616.95
7.1.00.0000.07322.36
7.0.200.0030.00716.46
7.0.60.0230.07019.93
7.0.50.0070.06317.88
7.0.40.0030.05020.24
7.0.30.0230.04020.13
7.0.20.0330.04320.23
7.0.10.0070.07020.15
7.0.00.0030.04320.16
5.6.280.0070.07021.13
5.6.210.0030.04020.63
5.6.200.0030.06318.15
5.6.190.0070.08720.55
5.6.180.0100.07720.64
5.6.170.0230.04320.47
5.6.160.0070.07320.39
5.6.150.0000.06018.15
5.6.140.0000.04318.19
5.6.130.0070.08318.21
5.6.120.0100.08321.02
5.6.110.0070.08020.97
5.6.100.0100.08020.99
5.6.90.0070.08320.95
5.6.80.0000.04020.29
5.5.350.4170.04720.41
5.5.340.0030.08317.94
5.5.330.0030.04320.19
5.5.320.0630.06020.24
5.5.310.0170.04020.19
5.5.300.0030.04717.98
5.5.290.0030.05017.97
5.5.280.0000.04720.99
5.5.270.0100.04720.97
5.5.260.0000.05720.84
5.5.250.0170.06320.72
5.5.240.0230.07720.36

preferences:
45.91 ms | 401 KiB | 5 Q