3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class lol { final private function __construct() {} } class rofl extends lol { public function __construct() { echo "hi"; } } new rofl();

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.1.60.0370.02033.09
7.1.50.0300.02032.57
7.1.40.0400.00732.49
7.1.30.0400.01332.39
7.1.20.0500.01732.63
7.1.10.0270.01314.41
7.1.00.0330.00714.61
7.0.200.0270.01314.55
7.0.190.0230.01014.63
7.0.180.0270.00714.27
7.0.170.0270.00714.16
7.0.160.0230.01014.13
7.0.150.0200.01314.29
7.0.140.0470.01014.21
7.0.130.0330.01014.51
7.0.120.0370.00714.63
7.0.110.0330.01714.08
7.0.100.0270.01014.34
7.0.90.0300.00714.43
7.0.80.0570.01314.29
7.0.70.0330.00714.33
7.0.60.0270.01014.22
7.0.50.0430.01014.30
7.0.40.0370.01314.52
7.0.30.0300.00314.56
7.0.20.0270.00714.35
7.0.10.0270.01314.67
7.0.00.0730.02014.36

preferences:
138.08 ms | 1394 KiB | 7 Q