3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = true; $b = false echo ($a and $b) ? 'true' : 'false'; ?>

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.0030.05718.80
5.4.250.0100.05019.00
5.4.240.0070.07719.02
5.4.230.0030.06018.99
5.4.220.0100.07718.79
5.4.210.0030.05719.00
5.4.200.0070.07719.00
5.4.190.0030.06019.01
5.4.180.0070.06318.99
5.4.170.0030.05719.09
5.4.160.0130.04718.89
5.4.150.0030.08318.94
5.4.140.0070.05016.48
5.4.130.0200.03316.46
5.4.120.0100.05016.36
5.4.110.0130.05016.51
5.4.100.0130.06016.33
5.4.90.0070.05716.55
5.4.80.0070.05316.31
5.4.70.0030.05016.47
5.4.60.0030.05316.30
5.4.50.0100.06716.39
5.4.40.0070.05016.38
5.4.30.0070.05016.35
5.4.20.0070.04716.62
5.4.10.0070.05316.38
5.4.00.0030.04715.80
5.3.280.0130.04714.61
5.3.270.0100.05314.75
5.3.260.0130.04714.76
5.3.250.0030.05314.45
5.3.240.0130.04714.38
5.3.230.0070.05014.44
5.3.220.0200.06014.59
5.3.210.0070.05714.59
5.3.200.0030.05314.57
5.3.190.0100.07314.66
5.3.180.0100.04714.58
5.3.170.0030.05314.34
5.3.160.0030.05014.72
5.3.150.0130.04314.41
5.3.140.0070.04714.33
5.3.130.0070.07714.56
5.3.120.0000.05714.70
5.3.110.0000.06014.46
5.3.100.0030.05314.13
5.3.90.0100.04714.02
5.3.80.0030.05314.02
5.3.70.0070.06314.18
5.3.60.0100.05014.02
5.3.50.0070.05313.72
5.3.40.0100.07014.10
5.3.30.0030.07313.83
5.3.20.0100.04713.63
5.3.10.0170.05713.52
5.3.00.0100.04713.53
5.2.170.0000.04311.04
5.2.160.0070.04711.05
5.2.150.0100.04011.15
5.2.140.0100.03711.29
5.2.130.0000.04310.86
5.2.120.0070.03710.93
5.2.110.0100.03711.25
5.2.100.0070.03711.19
5.2.90.0030.05711.21
5.2.80.0070.04011.24
5.2.70.0030.06310.98
5.2.60.0000.06711.06
5.2.50.0200.04310.77
5.2.40.0070.04011.01
5.2.30.0070.04010.93
5.2.20.0070.05311.07
5.2.10.0100.03310.93
5.2.00.0030.04010.64
5.1.60.0000.0539.95
5.1.50.0030.0339.85
5.1.40.0070.03010.00
5.1.30.0030.05710.41
5.1.20.0030.03710.41
5.1.10.0030.0339.92
5.1.00.0070.04310.02
5.0.50.0130.0178.48
5.0.40.0030.0238.65
5.0.30.0000.0608.13
5.0.20.0070.0308.25
5.0.10.0100.0208.15
5.0.00.0070.0378.16
4.4.90.0030.0277.30
4.4.80.0070.0237.30
4.4.70.0030.0237.30
4.4.60.0000.0307.30
4.4.50.0000.0237.30
4.4.40.0000.0337.30
4.4.30.0000.0237.30
4.4.20.0030.0207.30
4.4.10.0100.0177.30
4.4.00.0000.0337.30
4.3.110.0000.0237.30
4.3.100.0000.0207.30
4.3.90.0030.0307.30
4.3.80.0000.0377.30
4.3.70.0030.0307.30
4.3.60.0130.0207.30
4.3.50.0070.0237.30
4.3.40.0070.0407.30
4.3.30.0030.0277.30
4.3.20.0030.0307.30
4.3.10.0030.0207.30
4.3.00.0070.0237.80

preferences:
136.99 ms | 1394 KiB | 7 Q