3v4l.org

run code in 300+ PHP versions simultaneously
<?php $someValue = true; ?> <div> <?php if ( $someValue ) : ?> <span>Some smelly test </span> <?php else : ?> <span>Another smelly case</span> </div>

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.0100.05018.77
5.4.260.0100.06318.91
5.4.250.0070.05718.95
5.4.240.0030.06719.04
5.4.230.0100.05319.12
5.4.220.0200.04718.96
5.4.210.0030.06319.03
5.4.200.0100.05019.08
5.4.190.0070.05319.03
5.4.180.0130.04318.85
5.4.170.0100.07318.98
5.4.160.0200.04318.94
5.4.150.0070.06018.98
5.4.140.0070.05316.27
5.4.130.0100.05316.46
5.4.120.0030.05316.48
5.4.110.0170.05016.50
5.4.100.0200.04716.42
5.4.90.0000.05316.36
5.4.80.0030.05316.43
5.4.70.0070.05316.35
5.4.60.0070.05316.43
5.4.50.0100.04316.57
5.4.40.0100.04316.33
5.4.30.0170.04016.45
5.4.20.0130.05016.38
5.4.10.0130.04716.55
5.4.00.0100.04715.83
5.3.280.0070.05314.57
5.3.270.0070.06714.75
5.3.260.0130.04714.59
5.3.250.0070.05714.76
5.3.240.0100.04714.60
5.3.230.0100.05014.59
5.3.220.0030.05314.56
5.3.210.0030.05314.76
5.3.200.0100.04714.58
5.3.190.0100.05314.63
5.3.180.0100.04714.55
5.3.170.0100.05714.54
5.3.160.0270.05014.66
5.3.150.0070.05014.72
5.3.140.0070.05014.37
5.3.130.0100.06714.69
5.3.120.0100.06014.61
5.3.110.0030.07014.55
5.3.100.0070.05714.05
5.3.90.0100.05014.16
5.3.80.0170.04013.84
5.3.70.0070.05014.09
5.3.60.0070.05313.95
5.3.50.0170.05714.12
5.3.40.0070.05314.11
5.3.30.0200.05714.02
5.3.20.0100.04713.67
5.3.10.0030.05313.80
5.3.00.0000.06313.70
5.2.170.0030.04311.35
5.2.160.0070.04311.30
5.2.150.0100.04011.27
5.2.140.0130.04011.13
5.2.130.0070.04011.09
5.2.120.0100.03711.25
5.2.110.0100.03711.23
5.2.100.0030.06011.22
5.2.90.0130.04011.15
5.2.80.0070.04011.23
5.2.70.0130.04711.20
5.2.60.0030.06311.20
5.2.50.0070.06711.13
5.2.40.0000.05010.93
5.2.30.0130.03711.20
5.2.20.0070.04010.89
5.2.10.0170.03011.12
5.2.00.0030.04310.84
5.1.60.0070.03310.19
5.1.50.0070.05010.15
5.1.40.0000.0479.83
5.1.30.0100.03310.32
5.1.20.0030.04010.48
5.1.10.0070.03310.26
5.1.00.0000.06010.11
5.0.50.0030.0308.66
5.0.40.0000.0308.64
5.0.30.0030.0438.30
5.0.20.0100.0238.18
5.0.10.0030.0408.21
5.0.00.0030.0478.34
4.4.90.0030.0207.70
4.4.80.0130.0237.70
4.4.70.0070.0177.70
4.4.60.0000.0237.70
4.4.50.0030.0207.70
4.4.40.0000.0407.70
4.4.30.0000.0277.70
4.4.20.0070.0237.70
4.4.10.0000.0337.70
4.4.00.0000.0377.70
4.3.110.0030.0237.70
4.3.100.0030.0237.70
4.3.90.0030.0237.70
4.3.80.0070.0337.70
4.3.70.0000.0307.70
4.3.60.0000.0307.70
4.3.50.0070.0207.70
4.3.40.0070.0307.70
4.3.30.0030.0237.70
4.3.20.0130.0207.70
4.3.10.0000.0237.70
4.3.00.0170.0307.27

preferences:
136.98 ms | 1398 KiB | 7 Q