3v4l.org

run code in 300+ PHP versions simultaneously
<?php $town = "to\xc4\x84wn"; var_dump($town, str_replace("\xc4\x84", "ą", $town); ?>

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.130.0100.04512.02
5.4.120.0190.05311.99
5.4.110.0120.04111.98
5.4.100.0130.03911.99
5.4.90.0170.04611.98
5.4.80.0130.04011.98
5.4.70.0130.03811.98
5.4.60.0120.03811.98
5.4.50.0140.05911.98
5.4.40.0110.03911.97
5.4.30.0120.04011.96
5.4.20.0090.04111.96
5.4.10.0120.03911.96
5.4.00.0120.03911.46
5.3.230.0100.04312.71
5.3.220.0130.04212.68
5.3.210.0130.04412.68
5.3.200.0100.04412.68
5.3.190.0150.04012.68
5.3.180.0130.04112.67
5.3.170.0090.04512.67
5.3.160.0130.04112.67
5.3.150.0110.04112.68
5.3.140.0120.04112.66
5.3.130.0130.04212.66
5.3.120.0160.06012.66
5.3.110.0110.04412.66
5.3.100.0120.04212.11
5.3.90.0120.04212.08
5.3.80.0120.04212.07
5.3.70.0110.04512.08
5.3.60.0200.04912.06
5.3.50.0110.04412.00
5.3.40.0130.04212.00
5.3.30.0210.05311.94
5.3.20.0130.05111.71
5.3.10.0100.04211.67
5.3.00.0130.04011.65
5.2.170.0130.0299.16
5.2.160.0160.0579.16
5.2.150.0070.0389.16
5.2.140.0090.0349.16
5.2.130.0080.0349.11
5.2.120.0080.0339.12
5.2.110.0100.0339.12
5.2.100.0150.0499.12
5.2.90.0110.0309.12
5.2.80.0160.0479.11
5.2.70.0090.0339.11
5.2.60.0120.0309.06
5.2.50.0090.0439.03
5.2.40.0090.0339.01
5.2.30.0140.0298.99
5.2.20.0090.0348.98
5.2.10.0080.0328.90
5.2.00.0080.0368.76
5.1.60.0060.0308.04
5.1.50.0110.0348.04
5.1.40.0080.0298.03
5.1.30.0080.0308.37
5.1.20.0070.0318.40
5.1.10.0100.0288.12
5.1.00.0080.0318.12
5.0.50.0050.0256.60
5.0.40.0080.0236.46
5.0.30.0060.0366.28
5.0.20.0160.0536.24
5.0.10.0060.0226.22
5.0.00.0060.0356.21
4.4.90.0050.0174.78
4.4.80.0090.0334.75
4.4.70.0040.0184.75
4.4.60.0050.0204.75
4.4.50.0050.0174.77
4.4.40.0060.0284.71
4.4.30.0060.0174.76
4.4.20.0130.0304.84
4.4.10.0060.0194.85
4.4.00.0060.0284.76
4.3.110.0060.0174.67
4.3.100.0050.0174.67
4.3.90.0040.0174.63
4.3.80.0050.0274.58
4.3.70.0060.0164.63
4.3.60.0040.0194.63
4.3.50.0100.0324.63
4.3.40.0050.0264.53
4.3.30.0040.0173.29
4.3.20.0030.0193.28
4.3.10.0050.0183.24
4.3.00.0130.00715.59

preferences:
139.63 ms | 1394 KiB | 7 Q