3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class ewan{ function ewanko(){ $a = false; $b = true; $c = false; if ($a ? $b : $c) {    echo 'false'; } else {    echo 'true'; } } }

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.0130.07018.94
5.4.250.0100.07018.74
5.4.240.0030.08319.00
5.4.230.0130.06718.63
5.4.220.0100.07318.83
5.4.210.0000.06318.83
5.4.200.0070.05318.89
5.4.190.0170.06018.63
5.4.180.0100.07018.88
5.4.170.0030.07019.05
5.4.160.0230.04718.63
5.4.150.0100.05318.88
5.4.140.0130.04716.50
5.4.130.0130.04316.47
5.4.120.0100.07316.48
5.4.110.0100.05316.55
5.4.100.0070.05016.55
5.4.90.0170.03716.46
5.4.80.0100.05316.60
5.4.70.0000.05316.41
5.4.60.0030.06016.52
5.4.50.0070.07016.32
5.4.40.0070.06016.40
5.4.30.0070.05316.40
5.4.20.0070.05316.59
5.4.10.0170.05316.34
5.4.00.0100.05316.02
5.3.280.0130.05014.58
5.3.270.0030.08014.58
5.3.260.0070.08314.61
5.3.250.0170.06014.59
5.3.240.0070.05314.59
5.3.230.0130.04714.57
5.3.220.0070.05014.79
5.3.210.0100.05014.55
5.3.200.0100.04714.55
5.3.190.0170.04314.63
5.3.180.0030.06314.39
5.3.170.0130.04314.74
5.3.160.0170.05014.58
5.3.150.0100.04714.55
5.3.140.0030.05314.78
5.3.130.0100.05314.54
5.3.120.0070.07714.45
5.3.110.0100.05014.68
5.3.100.0100.05314.23
5.3.90.0130.06714.20
5.3.80.0070.07014.03
5.3.70.0070.07014.05
5.3.60.0070.05014.08
5.3.50.0070.05313.79
5.3.40.0070.05714.13
5.3.30.0070.04713.87
5.3.20.0070.05313.62
5.3.10.0000.05313.72
5.3.00.0070.04713.88
5.2.170.0030.06311.05
5.2.160.0030.04011.37
5.2.150.0100.03311.23
5.2.140.0030.04311.12
5.2.130.0100.04011.19
5.2.120.0170.02711.17
5.2.110.0070.05011.17
5.2.100.0030.03711.28
5.2.90.0130.05011.32
5.2.80.0030.04311.00
5.2.70.0070.05711.07
5.2.60.0030.04710.96
5.2.50.0070.04011.18
5.2.40.0070.05311.16
5.2.30.0000.04710.95
5.2.20.0070.04011.11
5.2.10.0070.04010.86
5.2.00.0000.04310.80
5.1.60.0070.0479.96
5.1.50.0070.03010.24
5.1.40.0070.0339.95
5.1.30.0100.04310.32
5.1.20.0030.03710.54
5.1.10.0070.0309.98
5.1.00.0070.03310.06
5.0.50.0030.0278.59
5.0.40.0030.0378.50
5.0.30.0100.0438.14
5.0.20.0000.0408.29
5.0.10.0070.0278.20
5.0.00.0030.0408.13
4.4.90.0000.0236.30
4.4.80.0030.0306.30
4.4.70.0100.0206.30
4.4.60.0070.0206.30
4.4.50.0030.0206.30
4.4.40.0000.0406.27
4.4.30.0030.0206.27
4.4.20.0000.0236.27
4.4.10.0030.0306.27
4.4.00.0000.0436.27
4.3.110.0000.0206.27
4.3.100.0000.0236.27
4.3.90.0070.0136.27
4.3.80.0000.0436.27
4.3.70.0030.0206.27
4.3.60.0070.0236.27
4.3.50.0030.0206.27
4.3.40.0000.0376.27
4.3.30.0070.0276.27
4.3.20.0000.0236.27
4.3.10.0100.0206.27
4.3.00.0070.0236.90

preferences:
140.31 ms | 1394 KiB | 7 Q