3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function(function() { echo "anyway, hello world\n"; }); set_error_handler(function($severity, $message, $file, $line) { throw new ErrorException($message, 0, $severity, $file, $line); }); set_exception_handler(function($exception) { echo $exception->getMessage().PHP_EOL; }); function a() {} function a() {}

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)
7.4.110.0070.01616.27
7.4.100.0090.00916.51
7.4.90.0110.00716.31
7.4.80.0120.00616.19
7.4.70.0090.00916.44
7.4.60.0060.01716.41
7.4.50.0050.01116.38
7.4.40.0110.00816.29
7.4.30.0180.00916.30
7.4.20.0230.00016.32
7.4.10.0160.00616.48
7.4.00.0080.01516.51
7.3.230.0040.01416.48
7.3.220.0180.00016.34
7.3.210.0080.01016.44
7.3.200.0150.00616.21
7.3.190.0090.00916.27
7.3.180.0180.00016.22
7.3.170.0060.01016.30
7.3.160.0060.01216.33
7.3.150.0180.00816.30
7.3.140.0150.00916.24
7.3.130.0120.00516.16
7.3.120.0120.00816.28
7.3.110.0140.00316.34
7.3.100.0140.00516.27
7.3.90.0070.01016.37
7.3.80.0180.00016.21
7.3.70.0100.00716.22
7.3.60.0060.01116.12
7.3.50.0110.00616.20
7.3.40.0030.01716.18
7.3.30.0080.01216.19
7.3.20.0070.01016.23
7.3.10.0180.00416.18
7.3.00.0070.01016.23
7.2.340.0120.00616.23
7.2.330.0080.01216.43
7.2.320.0030.01416.43
7.2.310.0130.01316.54
7.2.300.0160.00016.55
7.2.290.0100.01316.52
7.2.280.0170.00716.29
7.2.270.0110.01416.46
7.2.260.0100.01316.59
7.2.250.0140.00316.26
7.2.240.0110.00616.52
7.2.230.0110.00816.30
7.2.220.0130.00916.32
7.2.210.0080.01516.18
7.2.200.0090.00916.52
7.2.190.0080.00816.26
7.2.180.0060.01216.30
7.2.170.0140.00916.38
7.2.160.0180.00616.43
7.2.150.0080.01216.27
7.2.140.0030.01616.56
7.2.130.0150.00316.44
7.2.120.0160.00916.57
7.2.110.0060.01816.62
7.2.100.0130.00616.19
7.2.90.0160.00616.24
7.2.80.0060.01716.34
7.2.70.0120.00616.43
7.2.60.0110.00816.64
7.2.50.0130.00616.11
7.2.40.0120.00616.30
7.2.30.0090.00916.46
7.2.20.0130.01316.59
7.2.10.0100.01316.28
7.2.00.0080.01116.50

preferences:
132.73 ms | 993 KiB | 7 Q