3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class A { abstract public function createApp(); } class B extends A { public static function createApp() { echo "You should not be here\n"; } } (new B)->createApp();

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.3.110.0060.00614.45
7.3.100.0060.00814.65
7.3.90.0090.00814.67
7.3.80.0080.00914.57
7.3.70.0100.00514.71
7.3.60.0070.00814.45
7.3.50.0070.00714.56
7.3.40.0070.00714.59
7.3.30.0070.00614.64
7.3.20.0080.00514.65
7.3.10.0100.00614.66
7.3.00.0080.00714.61
7.2.240.0020.01314.77
7.2.230.0040.01014.62
7.2.220.0090.00914.95
7.2.210.0110.00514.70
7.2.200.0060.00914.88
7.2.190.0120.00414.72
7.2.180.0100.00614.78
7.2.170.0100.00414.73
7.2.160.0070.00714.68
7.2.150.0070.00814.86
7.2.140.0060.00814.80
7.2.130.0060.00814.81
7.2.120.0090.00914.69
7.2.110.0080.01014.92
7.2.100.0060.01014.81
7.2.90.0060.01014.82
7.2.80.0090.00814.82
7.2.70.0100.00814.88
7.2.60.0110.00514.96
7.2.50.0050.00914.85
7.2.40.0110.00614.85
7.2.30.0090.00614.75
7.2.20.0070.00914.95
7.2.10.0040.01114.87
7.2.00.0070.00814.77
7.1.330.0100.00413.74
7.1.320.0120.00413.76
7.1.310.0070.01213.72
7.1.300.0100.00513.72
7.1.290.0070.00713.66
7.1.280.0100.00413.60
7.1.270.0070.00713.56
7.1.260.0080.00513.71
7.1.250.0060.00713.79

preferences:
141.53 ms | 1394 KiB | 7 Q