3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(substr_compare("template", "_emplate", -7)));

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.0130.05018.98
5.4.260.0070.07018.96
5.4.250.0100.07718.96
5.4.240.0100.05718.77
5.4.230.0070.06718.79
5.4.220.0200.05018.75
5.4.210.0100.05319.01
5.4.200.0170.06018.97
5.4.190.0170.04718.77
5.4.180.0230.06719.00
5.4.170.0070.07719.02
5.4.160.0070.05718.99
5.4.150.0130.07718.99
5.4.140.0070.06316.43
5.4.130.0130.06716.40
5.4.120.0130.04316.53
5.4.110.0170.04716.52
5.4.100.0170.06016.44
5.4.90.0200.06716.57
5.4.80.0170.05316.47
5.4.70.0100.05316.37
5.4.60.0130.04316.34
5.4.50.0070.05716.46
5.4.40.0200.05716.51
5.4.30.0100.07316.44
5.4.20.0230.05716.39
5.4.10.0130.04716.38
5.4.00.0130.05015.84
5.3.280.0130.06714.46
5.3.270.0070.07314.62
5.3.260.0130.05714.62
5.3.250.0000.08014.63
5.3.240.0070.07714.64
5.3.230.0130.05014.62
5.3.220.0130.06714.59
5.3.210.0100.07314.58
5.3.200.0100.06314.59
5.3.190.0070.06314.27
5.3.180.0170.05314.61
5.3.170.0130.07314.40
5.3.160.0100.05014.34
5.3.150.0100.06014.27
5.3.140.0100.05314.40
5.3.130.0030.08014.55
5.3.120.0070.08314.42
5.3.110.0130.07014.57
5.3.100.0130.06314.07
5.3.90.0200.05714.11
5.3.80.0130.05013.79
5.3.70.0100.06714.02
5.3.60.0130.04713.95
5.3.50.0070.06713.96
5.3.40.0170.06013.94
5.3.30.0170.04013.79
5.3.20.0030.06013.57
5.3.10.0030.06313.59
5.3.00.0170.05313.79
5.2.170.0070.06311.06
5.2.160.0100.04011.15
5.2.150.0100.04711.29
5.2.140.0070.05710.97
5.2.130.0070.05711.21
5.2.120.0070.05311.02
5.2.110.0070.05011.19
5.2.100.0130.05310.86
5.2.90.0070.04011.25
5.2.80.0170.05010.92
5.2.70.0130.05711.12
5.2.60.0070.04310.98
5.2.50.0100.05011.01
5.2.40.0070.06011.09
5.2.30.0100.05011.06
5.2.20.0000.05710.97
5.2.10.0100.04010.93
5.2.00.0070.04710.65
5.1.60.0100.03710.23
5.1.50.0070.0409.95
5.1.40.0100.04310.00
5.1.30.0230.03010.23
5.1.20.0070.05710.26
5.1.10.0130.04010.13
5.1.00.0130.0309.97
5.0.50.0130.0278.73
5.0.40.0170.0208.45
5.0.30.0130.0408.28
5.0.20.0030.0378.16
5.0.10.0100.0338.17
5.0.00.0130.0478.13
4.4.90.0070.0307.14
4.4.80.0100.0177.14
4.4.70.0030.0277.14
4.4.60.0000.0277.14
4.4.50.0030.0337.12
4.4.40.0000.0377.12
4.4.30.0070.0237.13
4.4.20.0000.0277.13
4.4.10.0100.0177.13
4.4.00.0070.0337.13
4.3.110.0000.0277.13
4.3.100.0000.0277.13
4.3.90.0100.0237.13
4.3.80.0030.0437.13
4.3.70.0070.0177.13
4.3.60.0000.0337.13
4.3.50.0000.0307.13
4.3.40.0070.0377.13
4.3.30.0000.0277.13
4.3.20.0000.0307.13
4.3.10.0000.0237.13
4.3.00.0130.0207.77

preferences:
141.95 ms | 1394 KiB | 7 Q