3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(strtr("foo", []));1

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.0110.04312.34
5.4.270.0100.04312.34
5.4.260.0090.04412.34
5.4.250.0090.05212.34
5.4.240.0090.04312.34
5.4.230.0070.05312.33
5.4.220.0100.04212.33
5.4.210.0100.04212.33
5.4.200.0050.03912.33
5.4.190.0090.03512.33
5.4.180.0080.03712.33
5.4.170.0090.03812.34
5.4.160.0120.04512.34
5.4.150.0120.04312.33
5.4.140.0090.04712.02
5.4.130.0090.04212.01
5.4.120.0090.04111.97
5.4.110.0110.04311.97
5.4.100.0090.04511.97
5.4.90.0100.04511.96
5.4.80.0080.05811.97
5.4.70.0050.05711.96
5.4.60.0080.03811.96
5.4.50.0060.03911.96
5.4.40.0080.03811.95
5.4.30.0050.03911.94
5.4.20.0080.04311.94
5.4.10.0090.04611.95
5.4.00.0070.04311.44
5.3.280.0090.04612.71
5.3.270.0090.04512.72
5.3.260.0070.04612.72
5.3.250.0090.04112.72
5.3.240.0080.04512.72
5.3.230.0110.06112.71
5.3.220.0110.05412.68
5.3.210.0090.05712.68
5.3.200.0100.05212.68
5.3.190.0100.05312.68
5.3.180.0080.05212.67
5.3.170.0110.04912.67
5.3.160.0100.05312.67
5.3.150.0100.05012.67
5.3.140.0100.04712.66
5.3.130.0090.05612.66
5.3.120.0090.05312.66
5.3.110.0070.05112.66
5.3.100.0090.04612.12
5.3.90.0090.05412.09
5.3.80.0070.04612.07
5.3.70.0080.04512.08
5.3.60.0090.05312.06
5.3.50.0070.04612.00
5.3.40.0110.05312.00
5.3.30.0140.05811.94
5.3.20.0070.05011.71
5.3.10.0090.04311.68
5.3.00.0180.06911.66
5.2.170.0080.0389.17
5.2.160.0050.0389.17
5.2.150.0060.0399.17
5.2.140.0050.0429.16
5.2.130.0080.0439.12
5.2.120.0090.0459.12
5.2.110.0090.0329.13
5.2.100.0080.0329.13
5.2.90.0080.0349.13
5.2.80.0070.0349.12
5.2.70.0040.0409.12
5.2.60.0070.0389.07
5.2.50.0090.0359.05
5.2.40.0040.0359.02
5.2.30.0050.0369.00
5.2.20.0060.0358.99
5.2.10.0040.0388.91
5.2.00.0070.0398.77
5.1.60.0070.0318.05
5.1.50.0060.0318.05
5.1.40.0050.0328.04
5.1.30.0040.0348.38
5.1.20.0050.0348.41
5.1.10.0050.0328.13
5.1.00.0060.0328.13
5.0.50.0030.0266.61
5.0.40.0060.0336.46
5.0.30.0070.0516.28
5.0.20.0050.0256.25
5.0.10.0040.0256.23
5.0.00.0070.0336.22
4.4.90.0020.0214.78
4.4.80.0040.0194.75
4.4.70.0050.0184.75
4.4.60.0050.0194.76
4.4.50.0040.0194.77
4.4.40.0030.0304.71
4.4.30.0030.0204.76
4.4.20.0030.0214.85
4.4.10.0040.0204.85
4.4.00.0040.0304.76
4.3.110.0020.0184.67
4.3.100.0040.0174.67
4.3.90.0030.0204.63
4.3.80.0020.0304.58
4.3.70.0030.0164.63
4.3.60.0030.0184.63
4.3.50.0020.0214.63
4.3.40.0050.0274.53
4.3.30.0030.0193.28
4.3.20.0020.0203.25
4.3.10.0040.0183.22
4.3.00.0070.0177.18

preferences:
144.7 ms | 1394 KiB | 7 Q