3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', '1'); <--- here error_reporting(E_ALL); class Bla { private function a() { echo "A"; } } class Child extends Bla { private function a($a) { echo "Child 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)
5.4.250.0600.03719.22
5.4.240.0570.07019.24
5.4.230.0630.05718.97
5.4.220.0570.04718.97
5.4.210.0630.04318.87
5.4.200.0600.06019.07
5.4.190.0570.06319.00
5.4.180.0570.06718.86
5.4.170.0430.07019.05
5.4.160.0570.05718.92
5.4.150.0430.06718.83
5.4.140.0470.04316.48
5.4.130.0630.05016.29
5.4.120.0600.05016.32
5.4.110.0470.03016.55
5.4.100.0600.03716.63
5.4.90.0500.03716.42
5.4.80.0430.06016.54
5.4.70.0470.06016.26
5.4.60.0430.06716.24
5.4.50.0370.03716.25
5.4.40.0430.04316.48
5.4.30.0470.03716.42
5.4.20.0500.04016.24
5.4.10.0430.04716.24
5.4.00.0470.04315.90
5.3.280.0500.05714.54
5.3.270.0430.06714.48
5.3.260.0470.06714.55
5.3.250.0400.04014.44
5.3.240.0600.03714.46
5.3.230.0630.03714.63
5.3.220.0470.04014.42
5.3.210.0430.04014.51
5.3.200.0470.04314.42
5.3.190.0400.04314.51
5.3.180.0430.04314.52
5.3.170.0470.05014.41
5.3.160.0430.06014.44
5.3.150.0370.06314.55
5.3.140.0400.05714.59
5.3.130.0630.05314.42
5.3.120.0570.04314.41
5.3.110.0500.06714.59
5.3.100.0500.03713.99
5.3.90.0430.05713.87
5.3.80.0370.03713.86
5.3.70.0530.05313.86
5.3.60.0530.05713.98
5.3.50.0500.06013.89
5.3.40.0430.03713.93
5.3.30.0470.03713.78
5.3.20.0430.03313.52
5.3.10.0530.05313.49
5.3.00.0470.05013.61

preferences:
137.81 ms | 1394 KiB | 7 Q