3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'abcd'; var_dump(strpos($string,'a');

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.94
5.4.260.0070.06719.01
5.4.250.0130.07018.95
5.4.240.0130.07018.67
5.4.230.0100.07718.64
5.4.220.0170.07319.00
5.4.210.0030.06018.73
5.4.200.0100.07018.78
5.4.190.0200.06318.73
5.4.180.0200.06018.96
5.4.170.0170.06019.00
5.4.160.0170.07018.83
5.4.150.0130.06318.97
5.4.140.0100.07316.36
5.4.130.0100.07016.27
5.4.120.0070.05316.50
5.4.110.0130.06716.48
5.4.100.0130.05016.63
5.4.90.0170.06016.37
5.4.80.0100.07016.48
5.4.70.0100.06716.59
5.4.60.0170.04716.32
5.4.50.0130.04716.49
5.4.40.0130.06316.55
5.4.30.0200.04716.52
5.4.20.0130.07316.39
5.4.10.0070.06316.38
5.4.00.0100.07015.80
5.3.280.0130.05714.45
5.3.270.0170.07314.44
5.3.260.0100.05714.66
5.3.250.0100.05014.62
5.3.240.0170.06014.62
5.3.230.0100.06314.61
5.3.220.0070.08714.27
5.3.210.0130.06014.34
5.3.200.0130.04314.27
5.3.190.0130.05714.44
5.3.180.0130.05714.42
5.3.170.0200.06014.58
5.3.160.0170.06314.58
5.3.150.0200.04314.27
5.3.140.0030.08014.56
5.3.130.0170.06014.42
5.3.120.0100.07014.59
5.3.110.0070.07714.56
5.3.100.0130.04713.88
5.3.90.0030.05314.02
5.3.80.0170.04313.96
5.3.70.0130.05013.72
5.3.60.0170.06014.02
5.3.50.0170.05013.96
5.3.40.0130.05013.82
5.3.30.0130.04713.76
5.3.20.0170.04313.78
5.3.10.0100.04713.54
5.3.00.0130.04713.53
5.2.170.0270.03711.29
5.2.160.0030.06311.09
5.2.150.0030.04310.89
5.2.140.0030.06011.14
5.2.130.0130.05010.86
5.2.120.0070.04011.03
5.2.110.0070.03711.21
5.2.100.0100.05710.86
5.2.90.0000.04311.20
5.2.80.0100.05710.98
5.2.70.0070.06010.99
5.2.60.0030.06310.96
5.2.50.0130.05711.17
5.2.40.0230.02311.15
5.2.30.0100.04010.87
5.2.20.0070.04011.05
5.2.10.0130.03010.86
5.2.00.0070.04010.63
5.1.60.0070.0339.88
5.1.50.0130.04010.05
5.1.40.0100.0479.86
5.1.30.0070.03710.41
5.1.20.0070.03710.29
5.1.10.0070.05010.12
5.1.00.0030.05010.09
5.0.50.0000.0438.56
5.0.40.0100.0308.46
5.0.30.0070.0378.07
5.0.20.0030.0378.14
5.0.10.0130.0238.22
5.0.00.0030.0578.14
4.4.90.0000.0236.36
4.4.80.0000.0276.36
4.4.70.0030.0236.36
4.4.60.0000.0236.36
4.4.50.0100.0176.36
4.4.40.0070.0306.36
4.4.30.0030.0236.36
4.4.20.0000.0236.36
4.4.10.0100.0276.36
4.4.00.0070.0336.36
4.3.110.0070.0276.36
4.3.100.0070.0276.36
4.3.90.0030.0206.36
4.3.80.0030.0406.36
4.3.70.0030.0276.36
4.3.60.0000.0206.36
4.3.50.0030.0206.36
4.3.40.0030.0506.36
4.3.30.0030.0206.36
4.3.20.0000.0276.36
4.3.10.0000.0236.36
4.3.00.0100.0236.71

preferences:
141.08 ms | 1394 KiB | 7 Q