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.0070.05318.98
5.4.250.0030.05719.09
5.4.240.0030.05318.90
5.4.230.0070.05319.02
5.4.220.0100.05018.94
5.4.210.0000.05718.76
5.4.200.0070.05018.83
5.4.190.0070.05718.98
5.4.180.0030.05318.71
5.4.170.0170.06318.76
5.4.160.0100.07318.75
5.4.150.0130.07019.00
5.4.140.0070.05716.57
5.4.130.0070.04716.36
5.4.120.0070.06316.41
5.4.110.0130.05716.49
5.4.100.0070.08016.56
5.4.90.0100.06316.31
5.4.80.0100.05016.47
5.4.70.0130.04716.57
5.4.60.0200.04016.38
5.4.50.0170.06316.59
5.4.40.0030.05016.54
5.4.30.0200.03716.59
5.4.20.0100.04316.38
5.4.10.0070.07016.53
5.4.00.0170.04715.84
5.3.280.0070.06714.61
5.3.270.0070.06714.44
5.3.260.0030.08014.61
5.3.250.0130.06714.60
5.3.240.0070.05014.38
5.3.230.0070.05014.69
5.3.220.0000.06014.58
5.3.210.0030.06714.66
5.3.200.0130.06714.43
5.3.190.0170.04714.48
5.3.180.0200.06014.48
5.3.170.0170.06314.57
5.3.160.0000.06314.61
5.3.150.0200.04714.34
5.3.140.0030.05314.71
5.3.130.0100.05314.43
5.3.120.0000.05714.39
5.3.110.0000.06714.70
5.3.100.0100.06714.05
5.3.90.0200.06013.89
5.3.80.0100.05014.04
5.3.70.0070.05714.04
5.3.60.0130.05713.96
5.3.50.0130.04313.79
5.3.40.0200.03713.79
5.3.30.0070.05713.80
5.3.20.0100.04713.57
5.3.10.0000.06313.80
5.3.00.0070.05713.41
5.2.170.0030.04710.98
5.2.160.0030.04311.14
5.2.150.0100.03311.25
5.2.140.0000.05011.22
5.2.130.0030.04711.11
5.2.120.0100.04011.09
5.2.110.0100.03710.86
5.2.100.0030.04011.25
5.2.90.0130.03311.19
5.2.80.0100.04011.00
5.2.70.0130.03711.10
5.2.60.0100.05710.95
5.2.50.0070.06311.17
5.2.40.0070.03710.88
5.2.30.0100.05010.99
5.2.20.0070.04310.72
5.2.10.0170.04710.76
5.2.00.0170.04710.89
5.1.60.0070.0339.95
5.1.50.0000.0409.92
5.1.40.0030.03710.02
5.1.30.0100.03310.27
5.1.20.0000.05310.42
5.1.10.0070.03310.29
5.1.00.0030.05310.08
5.0.50.0070.0278.60
5.0.40.0030.0338.50
5.0.30.0000.0478.13
5.0.20.0030.0338.10
5.0.10.0030.0278.14
5.0.00.0030.0537.94
4.4.90.0030.0237.30
4.4.80.0030.0307.30
4.4.70.0000.0337.30
4.4.60.0000.0337.30
4.4.50.0000.0337.30
4.4.40.0070.0307.30
4.4.30.0070.0177.30
4.4.20.0000.0237.30
4.4.10.0030.0337.30
4.4.00.0030.0337.30
4.3.110.0100.0177.30
4.3.100.0030.0237.30
4.3.90.0000.0307.30
4.3.80.0000.0477.30
4.3.70.0070.0177.30
4.3.60.0030.0307.30
4.3.50.0000.0237.30
4.3.40.0000.0337.30
4.3.30.0030.0307.30
4.3.20.0030.0237.30
4.3.10.0070.0177.30
4.3.00.0070.0207.80

preferences:
140.08 ms | 1394 KiB | 7 Q