3v4l.org

run code in 300+ PHP versions simultaneously
<?php function shutdown() { $error = error_get_last(); if (empty($error) || in_array($error['type'], [E_DEPRECATED, E_USER_DEPRECATED], true)) { print 'dismissed'; return; } print 'Ended'; } register_shutdown_function('shutdown');

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.0030.01218.31
8.3.50.0070.01118.19
8.3.40.0110.00318.84
8.3.30.0100.00618.48
8.3.20.0070.00020.39
8.3.10.0060.00323.66
8.3.00.0050.00319.25
8.2.180.0070.01018.16
8.2.170.0120.00322.96
8.2.160.0040.01120.53
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00422.13
8.2.120.0040.00426.35
8.2.110.0060.00319.33
8.2.100.0070.00717.61
8.2.90.0080.00019.05
8.2.80.0000.00719.28
8.2.70.0030.00717.63
8.2.60.0030.00517.93
8.2.50.0000.00818.10
8.2.40.0000.00820.55
8.2.30.0000.00719.11
8.2.20.0000.00718.02
8.2.10.0000.00717.93
8.2.00.0000.00818.16
8.1.280.0040.01125.92
8.1.270.0050.00322.15
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0030.00623.82
8.1.230.0070.00417.70
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0070.00317.35
8.1.190.0000.00817.25
8.1.180.0060.00318.10
8.1.170.0030.00618.59
8.1.160.0070.00018.76
8.1.150.0070.00318.92
8.1.140.0040.00417.74
8.1.130.0000.00718.88
8.1.120.0030.00417.34
8.1.110.0040.00317.42
8.1.100.0000.00717.51
8.1.90.0040.00417.48
8.1.80.0100.00017.27
8.1.70.0000.00717.32
8.1.60.0000.00817.54
8.1.50.0000.00817.42
8.1.40.0000.00817.55
8.1.30.0040.00417.61
8.1.20.0000.00817.66
8.1.10.0040.00417.52
8.1.00.0030.00617.42
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.54
8.0.270.0000.00717.15
8.0.260.0000.00618.43
8.0.250.0030.00316.96
8.0.240.0000.00716.80
8.0.230.0070.00017.00
8.0.220.0080.00016.90
8.0.210.0000.00716.86
8.0.200.0070.00016.96
8.0.190.0080.00316.88
8.0.180.0030.00316.79
8.0.170.0080.00016.89
8.0.160.0080.00016.90
8.0.150.0030.00816.90
8.0.140.0080.00016.86
8.0.130.0030.00613.26
8.0.120.0000.00716.88
8.0.110.0000.00816.91
8.0.100.0050.00216.78
8.0.90.0060.00316.88
8.0.80.0030.01316.76
8.0.70.0070.00016.71
8.0.60.0030.00316.94
8.0.50.0040.00416.90
8.0.30.0080.00917.05
8.0.20.0120.00817.40
8.0.10.0040.00416.86
8.0.00.0120.00516.63
7.4.330.0030.00315.55
7.4.320.0000.00716.60
7.4.300.0030.00316.57
7.4.290.0040.00416.52
7.4.280.0000.00916.47
7.4.270.0070.00016.61
7.4.260.0080.00016.59
7.4.250.0080.00016.56
7.4.240.0000.00616.50
7.4.230.0070.00016.62
7.4.220.0030.00316.33
7.4.210.0070.01016.71
7.4.200.0030.00316.49
7.4.160.0050.01116.45
7.4.150.0110.00717.40
7.4.140.0100.00817.86
7.4.130.0070.01016.41
7.4.120.0100.01016.53
7.4.110.0110.00516.31
7.4.100.0100.00616.55
7.4.90.0110.00616.40
7.4.80.0060.01319.39
7.4.70.0090.01016.63
7.4.60.0100.00616.45
7.4.50.0060.00816.39
7.4.40.0090.01316.46
7.4.00.0130.00314.85
7.3.330.0030.00313.09
7.3.320.0000.00713.18
7.3.310.0030.00316.21
7.3.300.0030.00316.08
7.3.290.0040.01316.18
7.3.280.0110.01016.16
7.3.270.0140.00417.40
7.3.260.0090.01016.25
7.3.250.0100.00716.32
7.3.240.0070.01416.47
7.3.230.0130.00316.13
7.3.210.0060.01016.42
7.3.200.0120.00416.26
7.3.190.0070.00816.37
7.3.180.0090.00616.36
7.3.170.0120.00316.47
7.3.160.0090.00616.43
7.2.330.0100.00716.55
7.2.320.0090.01516.43
7.2.310.0100.00616.55
7.2.300.0070.01416.65
7.2.290.0050.01616.45
7.2.60.0060.00616.63
7.2.10.0180.00318.05
7.2.00.0190.01217.92
7.1.200.0060.00615.59
7.1.130.0070.02516.75
7.1.120.0150.01516.51
7.1.110.0210.00615.73
7.1.100.0110.01115.80
7.1.90.0110.01115.63
7.1.80.0060.01916.02
7.1.70.0150.00615.25
7.1.60.0360.01333.24
7.1.50.0260.00732.73
7.1.40.0190.01632.63
7.1.30.0260.02732.57
7.1.20.0280.00832.78
7.1.10.0100.01414.82
7.1.00.0140.01514.84

preferences:
75.62 ms | 400 KiB | 5 Q