3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "♫"; echo mb_strlen($string, '8bit'):

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.280.0060.04712.36
5.4.270.0110.06112.36
5.4.260.0100.05012.36
5.4.250.0170.06612.36
5.4.240.0140.06512.36
5.4.230.0170.05212.36
5.4.220.0170.05012.35
5.4.210.0110.05512.35
5.4.200.0070.04212.36
5.4.190.0090.03712.35
5.4.180.0060.05512.35
5.4.170.0070.05312.36
5.4.160.0130.04812.36
5.4.150.0080.05312.35
5.4.140.0110.07212.04
5.4.130.0100.04412.02
5.4.120.0080.05311.98
5.4.110.0050.05711.98
5.4.100.0110.04611.98
5.4.90.0140.05511.99
5.4.80.0120.05111.98
5.4.70.0100.05111.98
5.4.60.0110.03611.98
5.4.50.0110.03611.98
5.4.40.0110.03211.97
5.4.30.0080.03711.96
5.4.20.0080.03811.96
5.4.10.0060.03611.96
5.4.00.0080.03511.45
5.3.280.0100.03812.71
5.3.270.0050.04812.72
5.3.260.0080.03812.72
5.3.250.0030.04212.72
5.3.240.0080.03812.72
5.3.230.0140.05112.71
5.3.220.0110.05212.68
5.3.210.0100.05512.68
5.3.200.0060.05012.68
5.3.190.0100.04812.68
5.3.180.0120.04112.68
5.3.170.0080.03712.67
5.3.160.0070.04312.67
5.3.150.0130.05912.67
5.3.140.0090.06612.66
5.3.130.0060.04212.66
5.3.120.0070.05112.66
5.3.110.0060.04612.66
5.3.100.0090.03612.12
5.3.90.0090.03712.08
5.3.80.0110.03412.07
5.3.70.0100.03512.07
5.3.60.0120.03412.07
5.3.50.0080.03712.00
5.3.40.0070.03712.00
5.3.30.0080.04011.93
5.3.20.0080.03511.70
5.3.10.0110.05311.67
5.3.00.0130.05511.66
5.2.170.0150.0409.15
5.2.160.0070.0329.15
5.2.150.0060.0329.15
5.2.140.0070.0349.15
5.2.130.0130.0469.11
5.2.120.0060.0299.11
5.2.110.0030.0339.12
5.2.100.0090.0279.12
5.2.90.0060.0299.11
5.2.80.0030.0339.11
5.2.70.0050.0369.11
5.2.60.0080.0379.06
5.2.50.0110.0339.03
5.2.40.0030.0419.01
5.2.30.0050.0308.98
5.2.20.0050.0308.97
5.2.10.0070.0278.91
5.2.00.0070.0298.75
5.1.60.0080.0238.04
5.1.50.0100.0308.04
5.1.40.0080.0328.03
5.1.30.0110.0358.38
5.1.20.0080.0398.40
5.1.10.0090.0348.13
5.1.00.0130.0328.12
5.0.50.0090.0326.60
5.0.40.0050.0286.46
5.0.30.0070.0456.27
5.0.20.0070.0256.25
5.0.10.0050.0296.21
5.0.00.0060.0366.21
4.4.90.0030.0184.78
4.4.80.0030.0244.75
4.4.70.0050.0174.75
4.4.60.0020.0234.76
4.4.50.0050.0214.77
4.4.40.0040.0344.71
4.4.30.0020.0234.75
4.4.20.0080.0214.84
4.4.10.0030.0184.85
4.4.00.0030.0354.76
4.3.110.0040.0224.66
4.3.100.0050.0214.67
4.3.90.0000.0204.64
4.3.80.0040.0234.58
4.3.70.0020.0174.63
4.3.60.0030.0144.63
4.3.50.0040.0164.63
4.3.40.0040.0264.54
4.3.30.0010.0173.27
4.3.20.0030.0163.25
4.3.10.0030.0173.21
4.3.00.0170.0237.88

preferences:
139.5 ms | 1394 KiB | 7 Q