3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Magic {public function __call(){return $this;}} spl_autoload_register(function($c) { eval("class C extends Magic {};"); }); (new Foo)->bar()->baz();

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.260.0100.05318.75
5.4.250.0070.05718.94
5.4.240.0070.06018.91
5.4.230.0200.04018.77
5.4.220.0130.06018.65
5.4.210.0170.04718.96
5.4.200.0070.08018.95
5.4.190.0070.05719.09
5.4.180.0100.06319.00
5.4.170.0200.04318.98
5.4.160.0100.06018.96
5.4.150.0130.07019.09
5.4.140.0030.06016.45
5.4.130.0130.04316.45
5.4.120.0070.07016.38
5.4.110.0070.05316.52
5.4.100.0130.04316.46
5.4.90.0070.05316.43
5.4.80.0000.05316.61
5.4.70.0070.05016.50
5.4.60.0100.04716.36
5.4.50.0170.06716.48
5.4.40.0070.05316.52
5.4.30.0100.06716.56
5.4.20.0100.07016.62
5.4.10.0070.07016.54
5.4.00.0070.07015.98
5.3.280.0000.05714.76
5.3.270.0030.08314.66
5.3.260.0070.07314.43
5.3.250.0070.05014.82
5.3.240.0070.06714.69
5.3.230.0170.06314.68
5.3.220.0070.06014.39
5.3.210.0000.06014.65
5.3.200.0100.04714.72
5.3.190.0030.05314.53
5.3.180.0070.05314.79
5.3.170.0070.05014.53
5.3.160.0070.06314.64
5.3.150.0100.06714.46
5.3.140.0100.06714.54
5.3.130.0100.07014.61
5.3.120.0170.05014.62
5.3.110.0100.05314.68
5.3.100.0130.04314.02
5.3.90.0070.05313.84
5.3.80.0130.06014.08
5.3.70.0130.04714.09
5.3.60.0270.05314.21
5.3.50.0070.06714.02
5.3.40.0100.04713.78
5.3.30.0070.07313.91
5.3.20.0100.06713.66
5.3.10.0100.04313.63
5.3.00.0100.06313.60
5.2.170.0170.04711.21
5.2.160.0100.04011.24
5.2.150.0100.06011.11
5.2.140.0100.03311.22
5.2.130.0030.04311.21
5.2.120.0070.03711.00
5.2.110.0000.04311.10
5.2.100.0070.04011.06
5.2.90.0070.04311.16
5.2.80.0070.04711.07
5.2.70.0100.04711.16
5.2.60.0100.03311.13
5.2.50.0030.04311.20
5.2.40.0130.04311.06
5.2.30.0070.04011.14
5.2.20.0070.04011.11
5.2.10.0000.04010.82
5.2.00.0100.03310.78
5.1.60.0000.0379.84
5.1.50.0030.0379.95
5.1.40.0030.05010.04
5.1.30.0030.03710.39
5.1.20.0030.04010.43
5.1.10.0130.04010.13
5.1.00.0000.05310.16
5.0.50.0030.0278.46
5.0.40.0030.0278.36
5.0.30.0070.0478.13
5.0.20.0000.0338.23
5.0.10.0130.0308.40
5.0.00.0030.0438.21
4.4.90.0030.0207.50
4.4.80.0030.0277.50
4.4.70.0000.0307.50
4.4.60.0070.0177.50
4.4.50.0030.0207.50
4.4.40.0000.0337.50
4.4.30.0000.0237.50
4.4.20.0030.0207.50
4.4.10.0000.0237.50
4.4.00.0000.0437.50
4.3.110.0030.0207.50
4.3.100.0100.0237.50
4.3.90.0070.0177.50
4.3.80.0130.0307.50
4.3.70.0030.0207.50
4.3.60.0030.0207.50
4.3.50.0000.0237.50
4.3.40.0000.0337.50
4.3.30.0000.0237.50
4.3.20.0030.0277.50
4.3.10.0070.0277.50
4.3.00.0300.01713.23

preferences:
143.4 ms | 1394 KiB | 7 Q