3v4l.org

run code in 300+ PHP versions simultaneously
<?php strpos('h','hello')

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.310.0130.05912.46
5.4.300.0110.05012.47
5.4.290.0120.05012.46
5.4.280.0120.05012.36
5.4.270.0230.10012.36
5.4.260.0080.06412.36
5.4.250.0090.07212.36
5.4.240.0050.05912.36
5.4.230.0030.05712.35
5.4.220.0080.05312.35
5.4.210.0110.05212.35
5.4.200.0070.05912.35
5.4.190.0070.05612.34
5.4.180.0090.05412.35
5.4.170.0090.05112.36
5.4.160.0070.05212.36
5.4.150.0070.06112.35
5.4.140.0060.05212.04
5.4.130.0120.03912.02
5.4.120.0090.05011.98
5.4.110.0080.05311.98
5.4.100.0060.03611.98
5.4.90.0060.03811.98
5.4.80.0060.03811.98
5.4.70.0090.03311.98
5.4.60.0040.03911.98
5.4.50.0050.03911.97
5.4.40.0070.03611.96
5.4.30.0050.03811.96
5.4.20.0070.03511.96
5.4.10.0060.03611.96
5.4.00.0090.04211.45
5.3.280.0080.03912.71
5.3.270.0130.04512.72
5.3.260.0090.04612.72
5.3.250.0030.04112.72
5.3.240.0070.03712.72
5.3.230.0060.03812.70
5.3.220.0070.04312.68
5.3.210.0090.05612.68
5.3.200.0060.05312.68
5.3.190.0080.05612.68
5.3.180.0100.05412.68
5.3.170.0080.05312.67
5.3.160.0060.05912.67
5.3.150.0060.05012.68
5.3.140.0090.03412.66
5.3.130.0020.04412.66
5.3.120.0070.04612.66
5.3.110.0060.05612.66
5.3.100.0100.04812.12
5.3.90.0090.03912.08
5.3.80.0090.03412.08
5.3.70.0070.03512.08
5.3.60.0080.03412.06
5.3.50.0070.04012.00
5.3.40.0100.04712.00
5.3.30.0090.04811.95
5.3.20.0050.04111.73
5.3.10.0080.04711.70
5.3.00.0050.03711.68
5.2.170.0060.0379.18
5.2.160.0030.0339.18
5.2.150.0060.0319.18
5.2.140.0030.0339.18
5.2.130.0050.0299.14
5.2.120.0060.0289.14
5.2.110.0070.0289.14
5.2.100.0020.0339.14
5.2.90.0060.0289.14
5.2.80.0040.0379.13
5.2.70.0030.0329.14
5.2.60.0040.0369.09
5.2.50.0050.0339.06
5.2.40.0030.0329.04
5.2.30.0040.0329.01
5.2.20.0070.0269.00
5.2.10.0030.0298.93
5.2.00.0040.0318.78
5.1.60.0060.0298.07
5.1.50.0040.0308.06
5.1.40.0090.0268.05
5.1.30.0050.0468.40
5.1.20.0110.0428.42
5.1.10.0050.0378.14
5.1.00.0070.0408.14
5.0.50.0030.0326.63
5.0.40.0070.0266.48
5.0.30.0060.0446.29
5.0.20.0050.0276.27
5.0.10.0050.0276.24
5.0.00.0070.0446.23
4.4.90.0030.0234.78
4.4.80.0060.0204.75
4.4.70.0050.0234.75
4.4.60.0050.0214.75
4.4.50.0060.0234.77
4.4.40.0030.0444.71
4.4.30.0020.0254.76
4.4.20.0070.0194.84
4.4.10.0040.0234.85
4.4.00.0020.0364.76
4.3.110.0030.0244.66
4.3.100.0050.0204.66
4.3.90.0020.0404.63
4.3.80.0050.0324.58
4.3.70.0040.0214.63
4.3.60.0020.0224.62
4.3.50.0030.0174.63
4.3.40.0050.0234.54
4.3.30.0030.0163.29
4.3.20.0020.0173.26
4.3.10.0000.0233.22
4.3.00.0030.0207.82

preferences:
143.54 ms | 1398 KiB | 7 Q