3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private $c = 1; public function start() { $a = function () { return $this->c; } } }

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.270.0100.06718.93
5.4.260.0100.05018.95
5.4.250.0030.08318.72
5.4.240.0100.07018.64
5.4.230.0000.05718.63
5.4.220.0200.04319.01
5.4.210.0130.04718.94
5.4.200.0100.05018.98
5.4.190.0130.04718.74
5.4.180.0130.05718.87
5.4.170.0100.05718.93
5.4.160.0100.05018.92
5.4.150.0130.05018.77
5.4.140.0100.04716.41
5.4.130.0070.05016.36
5.4.120.0100.06716.60
5.4.110.0130.04716.50
5.4.100.0130.05016.53
5.4.90.0070.06016.66
5.4.80.0100.04716.46
5.4.70.0130.05316.43
5.4.60.0100.06016.40
5.4.50.0130.04716.61
5.4.40.0100.06316.32
5.4.30.0030.05316.63
5.4.20.0100.05316.52
5.4.10.0200.06016.56
5.4.00.0200.05315.88
5.3.280.0070.05314.62
5.3.270.0100.05314.67
5.3.260.0030.05314.75
5.3.250.0100.05014.43
5.3.240.0130.06314.74
5.3.230.0070.06014.68
5.3.220.0200.06314.79
5.3.210.0170.06314.65
5.3.200.0070.05014.73
5.3.190.0070.05014.58
5.3.180.0100.05014.73
5.3.170.0030.05714.65
5.3.160.0200.04314.47
5.3.150.0100.05014.63
5.3.140.0070.05014.64
5.3.130.0100.07014.71
5.3.120.0100.06714.54
5.3.110.0070.06714.55
5.3.100.0030.08014.13
5.3.90.0070.05714.15
5.3.80.0130.06314.00
5.3.70.0100.06714.00
5.3.60.0170.05014.07
5.3.50.0130.05013.86
5.3.40.0100.05714.13
5.3.30.0100.04313.98
5.3.20.0000.05713.69
5.3.10.0130.05013.74
5.3.00.0170.05313.70
5.2.170.0170.03711.14
5.2.160.0100.03711.24
5.2.150.0070.04311.05
5.2.140.0030.04311.30
5.2.130.0070.03711.32
5.2.120.0070.04311.17
5.2.110.0100.03711.09
5.2.100.0130.03311.18
5.2.90.0070.06011.08
5.2.80.0070.06311.07
5.2.70.0130.03710.99
5.2.60.0170.04710.97
5.2.50.0100.05010.92
5.2.40.0070.04311.22
5.2.30.0000.04711.05
5.2.20.0070.04710.96
5.2.10.0070.04311.04
5.2.00.0070.03710.80
5.1.60.0030.03710.06
5.1.50.0070.0439.96
5.1.40.0030.04010.07
5.1.30.0100.04710.33
5.1.20.0070.03710.34
5.1.10.0100.04010.07
5.1.00.0030.05010.05
5.0.50.0070.0378.50
5.0.40.0030.0408.47
5.0.30.0030.0438.46
5.0.20.0070.0308.24
5.0.10.0100.0338.16
5.0.00.0030.0508.35
4.4.90.0070.0237.37
4.4.80.0070.0207.37
4.4.70.0070.0277.37
4.4.60.0030.0307.37
4.4.50.0030.0237.37
4.4.40.0070.0307.37
4.4.30.0030.0307.37
4.4.20.0130.0207.37
4.4.10.0200.0277.37
4.4.00.0070.0437.37
4.3.110.0030.0307.37
4.3.100.0030.0207.37
4.3.90.0030.0277.37
4.3.80.0070.0277.37
4.3.70.0030.0337.37
4.3.60.0000.0237.37
4.3.50.0030.0277.37
4.3.40.0070.0277.37
4.3.30.0000.0237.37
4.3.20.0000.0237.37
4.3.10.0070.0177.37
4.3.00.0000.0237.63

preferences:
143.95 ms | 1394 KiB | 7 Q