3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { trigger_error(E_USER_WARNING, 'dsadsa'); return false; } if (!@foo()) { echo 'Hello world', PHP_EOL; } if (@!foo()) { echo 'Hello world', PHP_EOL; }

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.4.10.0040.00419.55
8.3.140.0090.00016.85
8.3.130.0070.00316.45
8.3.120.0050.00318.86
8.3.110.0070.00320.94
8.3.100.0050.00324.06
8.3.90.0080.00026.77
8.3.80.0080.00416.63
8.3.70.0090.00916.87
8.3.60.0070.01418.31
8.3.50.0140.00324.50
8.3.40.0070.00718.59
8.3.30.0130.00318.67
8.3.20.0070.00021.76
8.3.10.0060.00320.20
8.3.00.0040.00423.61
8.2.260.0040.00416.60
8.2.250.0030.00616.86
8.2.240.0130.00618.95
8.2.230.0040.00422.58
8.2.220.0030.00637.54
8.2.210.0090.00926.77
8.2.200.0030.00616.50
8.2.190.0110.00416.58
8.2.180.0170.00018.38
8.2.170.0100.00322.96
8.2.160.0070.00722.25
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00020.80
8.2.110.0100.00022.21
8.2.100.0090.00317.97
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0050.00318.34
8.2.30.0000.00719.41
8.2.20.0000.00718.11
8.2.10.0070.00021.08
8.2.00.0070.00019.27
8.1.310.0110.00716.84
8.1.300.0000.00918.31
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0030.00720.61
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0060.00321.25
8.1.230.0070.00417.45
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0070.00317.35
8.1.190.0000.00917.35
8.1.180.0030.00618.10
8.1.170.0080.00018.59
8.1.160.0000.00818.86
8.1.150.0000.00718.82
8.1.140.0050.00318.83
8.1.130.0070.00020.02
8.1.120.0030.00317.44
8.1.110.0070.00017.41
8.1.100.0070.00017.29
8.1.90.0040.00417.36
8.1.80.0070.00017.42
8.1.70.0050.00317.43
8.1.60.0050.00317.52
8.1.50.0050.00217.50
8.1.40.0050.00217.44
8.1.30.0040.00417.55
8.1.20.0080.00017.55
8.1.10.0080.00017.47
8.1.00.0030.00517.38
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.43
8.0.270.0000.00718.07
8.0.260.0040.00418.36
8.0.250.0030.00316.92
8.0.240.0000.00716.91
8.0.230.0030.00317.01
8.0.220.0000.00716.95
8.0.210.0000.00816.91
8.0.200.0030.00317.05
8.0.190.0040.00316.97
8.0.180.0090.00016.88
8.0.170.0060.00316.96
8.0.160.0080.00016.98
8.0.150.0000.00816.87
8.0.140.0040.00416.82
8.0.130.0030.00313.31
8.0.120.0030.00616.85
8.0.110.0040.00416.94
8.0.100.0000.00717.04
8.0.90.0040.00416.82
8.0.80.0070.01016.86
8.0.70.0050.00216.82
8.0.60.0040.00416.95
8.0.50.0040.00417.01
8.0.30.0100.00716.88
8.0.20.0120.00716.93
8.0.10.0040.00417.01
8.0.00.0070.01116.70
7.4.330.0020.00215.55
7.4.320.0030.00316.57
7.4.300.0000.00616.55
7.4.290.0030.00316.52
7.4.280.0040.00416.47
7.4.270.0030.00416.54
7.4.260.0030.00313.15
7.4.250.0000.00716.30
7.4.240.0050.00316.52
7.4.230.0030.00316.53
7.4.220.0050.00316.29
7.4.210.0050.01016.49
7.4.200.0030.00316.47
7.4.130.0120.00716.60
7.4.120.0170.00616.27
7.4.110.0030.01316.40
7.4.100.0110.01116.66
7.4.90.0060.01216.37
7.4.80.0040.01419.39
7.4.70.0070.00916.32
7.4.60.0060.00916.44
7.4.50.0110.00716.38
7.4.40.0170.00216.27
7.4.30.0090.01216.43
7.4.20.0080.01416.50
7.4.10.0140.00616.36
7.4.00.0080.01216.58
7.3.330.0000.00716.15
7.3.320.0000.00513.27
7.3.310.0050.00216.26
7.3.300.0000.00716.23
7.3.290.0080.00716.28
7.3.280.0060.00916.30
7.3.260.0150.00816.33
7.3.230.0070.01016.57
7.3.210.0100.00716.35
7.3.200.0160.00016.23
7.3.190.0090.00616.49
7.3.180.0040.01216.58
7.3.170.0030.01416.23
7.3.160.0040.01516.43
7.3.150.0060.01616.51
7.3.140.0090.00916.29
7.3.130.0050.01716.24
7.3.120.0070.01116.31
7.3.110.0150.00616.50
7.3.100.0080.00816.32
7.3.90.0080.00816.32
7.3.80.0060.01116.40
7.3.70.0040.01916.36
7.3.60.0070.01016.36
7.3.50.0080.00816.23
7.3.40.0120.00616.08
7.3.30.0150.00316.31
7.3.20.0290.00616.30
7.3.10.0130.00616.28
7.3.00.0060.00916.46
7.2.330.0130.01016.53
7.2.320.0030.01316.66
7.2.310.0080.00816.66
7.2.300.0130.00316.56
7.2.290.0070.01416.59
7.2.280.0150.00916.30
7.2.270.0030.01816.48
7.2.260.0030.01616.36
7.2.250.0180.00516.62
7.2.240.0150.00416.64
7.2.230.0130.00316.50
7.2.220.0080.01216.15
7.2.210.0160.00816.55
7.2.200.0070.01316.42
7.2.190.0070.01016.45
7.2.180.0030.01316.31
7.2.170.0130.01016.30
7.2.160.0090.00916.28
7.2.150.0190.01116.48
7.2.140.0060.01016.46
7.2.130.0170.00616.48
7.2.120.0170.00316.47
7.2.110.0100.00716.60
7.2.100.0070.01016.46
7.2.90.0090.00916.52
7.2.80.0030.01416.61
7.2.70.0060.01316.41
7.2.60.0140.00316.57
7.2.50.0150.00916.29
7.2.40.0130.00716.54
7.2.30.0190.00316.57
7.2.20.0080.00816.49
7.2.10.0100.01016.43
7.2.00.0000.01816.48

preferences:
66.98 ms | 403 KiB | 5 Q