3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { function do_foo() { echo "Doing foo."; } } $bar = new foo; echo isset($bar->do_foo());

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.0170.04318.91
5.4.260.0270.04719.05
5.4.250.0070.06018.83
5.4.240.0130.06318.63
5.4.230.0130.04718.61
5.4.220.0170.06018.70
5.4.210.0130.05018.98
5.4.200.0100.04718.95
5.4.190.0070.06318.95
5.4.180.0070.07718.70
5.4.170.0170.06318.70
5.4.160.0070.07318.59
5.4.150.0070.05318.90
5.4.140.0000.06016.60
5.4.130.0100.06016.43
5.4.120.0130.04016.38
5.4.110.0070.05016.48
5.4.100.0070.05016.50
5.4.90.0100.04316.48
5.4.80.0100.06316.43
5.4.70.0130.06316.42
5.4.60.0030.05016.39
5.4.50.0070.05016.22
5.4.40.0070.05716.39
5.4.30.0100.05716.49
5.4.20.0130.04316.55
5.4.10.0100.05016.30
5.4.00.0070.04715.95
5.3.280.0000.05714.71
5.3.270.0170.04314.77
5.3.260.0000.05714.59
5.3.250.0100.06714.69
5.3.240.0100.05014.68
5.3.230.0200.04314.50
5.3.220.0170.04314.65
5.3.210.0030.07714.56
5.3.200.0130.07014.55
5.3.190.0030.05714.58
5.3.180.0070.06314.39
5.3.170.0070.05014.58
5.3.160.0100.06314.63
5.3.150.0100.05014.64
5.3.140.0130.04314.73
5.3.130.0000.05714.70
5.3.120.0100.07314.37
5.3.110.0100.05014.37
5.3.100.0100.06314.00
5.3.90.0130.05013.91
5.3.80.0070.06014.20
5.3.70.0130.04014.09
5.3.60.0070.06713.90
5.3.50.0070.06014.01
5.3.40.0100.04714.02
5.3.30.0070.05313.98
5.3.20.0030.05013.91
5.3.10.0030.05013.63
5.3.00.0130.06713.61
5.2.170.0030.06011.04
5.2.160.0030.04011.04
5.2.150.0070.04311.22
5.2.140.0030.04311.20
5.2.130.0070.05311.05
5.2.120.0070.04711.32
5.2.110.0130.03011.09
5.2.100.0130.04711.32
5.2.90.0070.03711.18
5.2.80.0030.04311.04
5.2.70.0070.04011.15
5.2.60.0000.04711.21
5.2.50.0070.04011.09
5.2.40.0070.04011.06
5.2.30.0070.04011.03
5.2.20.0100.03311.18
5.2.10.0070.04010.84
5.2.00.0070.03710.81
5.1.60.0000.04710.09
5.1.50.0130.03710.19
5.1.40.0070.0379.90
5.1.30.0130.04010.33
5.1.20.0100.03010.42
5.1.10.0070.04010.12
5.1.00.0030.03710.07
5.0.50.0100.0208.64
5.0.40.0000.0308.47
5.0.30.0070.0538.05
5.0.20.0000.0408.24
5.0.10.0100.0238.14
5.0.00.0000.0478.21
4.4.90.0030.0206.70
4.4.80.0070.0176.70
4.4.70.0000.0236.70
4.4.60.0030.0206.70
4.4.50.0030.0306.70
4.4.40.0030.0336.70
4.4.30.0130.0106.70
4.4.20.0070.0206.70
4.4.10.0100.0206.70
4.4.00.0100.0376.70
4.3.110.0030.0206.70
4.3.100.0070.0176.70
4.3.90.0030.0306.70
4.3.80.0030.0406.70
4.3.70.0000.0276.70
4.3.60.0030.0306.70
4.3.50.0070.0176.70
4.3.40.0000.0476.70
4.3.30.0030.0276.70
4.3.20.0030.0206.70
4.3.10.0000.0236.70
4.3.00.0070.0237.30

preferences:
144.24 ms | 1394 KiB | 7 Q