3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûýýþÿ'; $b = 'aaaaaaaceeeeiiiidnoooooouuuuybsaaaaaaaceeeeiiiidnoooooouuuyyby'; $string = 'Villa Pueyrredón'; $string = utf8_decode($string); $string = strstr($string, $a, $b); $string = utf8_encode($string); echo $string;

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)
8.3.40.0040.01118.88
8.3.30.0040.01118.85
8.3.20.0040.00418.73
8.3.10.0030.00520.40
8.3.00.0040.00419.25
8.2.170.0140.00422.96
8.2.160.0100.00321.20
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00320.70
8.2.110.0060.00320.19
8.2.100.0060.00617.97
8.2.90.0070.00318.09
8.2.80.0040.00419.46
8.2.70.0000.00817.63
8.2.60.0030.00617.80
8.2.50.0000.00918.07
8.2.40.0050.00318.09
8.2.30.0050.00318.10
8.2.20.0040.00417.72
8.2.10.0040.00417.80
8.2.00.0000.00817.68
8.1.270.0000.00724.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00022.14
8.1.230.0000.01120.90
8.1.220.0060.00317.91
8.1.210.0000.00818.89
8.1.200.0070.00317.23
8.1.190.0040.00417.41
8.1.180.0060.00318.10
8.1.170.0080.00018.84
8.1.160.0000.00718.84
8.1.150.0000.00818.50
8.1.140.0070.00017.44
8.1.130.0000.00717.83
8.1.120.0000.00717.39
8.1.110.0000.00717.38
8.1.100.0040.00417.30
8.1.90.0030.00317.47
8.1.80.0000.00817.39
8.1.70.0080.00017.27
8.1.60.0050.00317.45
8.1.50.0030.00517.39
8.1.40.0040.00417.36
8.1.30.0040.00417.48
8.1.20.0000.00717.57
8.1.10.0040.00417.50
8.1.00.0040.00417.38
8.0.300.0040.00420.06
8.0.290.0000.00716.63
8.0.280.0070.00018.45
8.0.270.0000.00717.18
8.0.260.0030.00316.84
8.0.250.0040.00416.87
8.0.240.0000.00716.89
8.0.230.0070.00016.85
8.0.220.0000.00816.88
8.0.210.0040.00416.88
8.0.200.0030.00316.79
8.0.190.0050.00216.84
8.0.180.0040.00416.80
8.0.170.0040.00416.79
8.0.160.0000.00716.84
8.0.150.0030.00616.86
8.0.140.0000.01016.77
8.0.130.0030.00313.32
8.0.120.0070.00016.79
8.0.110.0000.00716.83
8.0.100.0030.00516.88
8.0.90.0000.00716.87
8.0.80.0120.00916.79
8.0.70.0030.00516.88
8.0.60.0000.00816.73
8.0.50.0000.00716.71
8.0.30.0090.01117.20
8.0.20.0070.01017.11
8.0.10.0000.00716.83
8.0.00.0080.01316.72
7.4.330.0000.00512.92
7.4.320.0000.00616.52
7.4.300.0060.00316.52
7.4.290.0030.00316.41
7.4.280.0050.00316.44
7.4.270.0080.00016.44
7.4.260.0000.00513.20
7.4.250.0090.00016.52
7.4.240.0070.00016.35
7.4.230.0080.00016.29
7.4.220.0060.00916.40
7.4.210.0050.01116.46
7.4.200.0000.00716.46
7.4.190.0000.00716.41
7.4.160.0100.00616.49
7.4.150.0030.01416.46
7.4.140.0100.00916.51
7.4.130.0070.01216.51
7.4.120.0110.00616.46
7.4.110.0100.00716.48
7.4.100.0040.01316.45
7.4.90.0000.01816.52
7.4.80.0080.00819.39
7.4.70.0070.01516.43
7.4.60.0070.01016.33
7.4.50.0090.00016.53
7.4.40.0040.01116.39
7.4.30.0000.01716.52
7.4.00.0070.01014.62
7.3.330.0030.00313.05
7.3.320.0050.00013.04
7.3.310.0000.00816.26
7.3.300.0000.00716.25
7.3.290.0080.00816.23
7.3.280.0080.01016.25
7.3.270.0110.00716.25
7.3.260.0070.01116.41
7.3.250.0110.00916.40
7.3.240.0090.00916.13
7.3.230.0080.00816.14
7.3.210.0200.00016.28
7.3.200.0030.01216.06
7.3.190.0040.01516.14
7.3.180.0090.00816.29
7.3.170.0120.00416.25
7.3.160.0070.00716.48
7.3.120.0030.01014.71
7.2.330.0110.00616.58
7.2.320.0170.00716.55
7.2.310.0100.01016.40
7.2.300.0110.00716.72
7.2.290.0100.01016.64
7.1.70.0030.00617.19
7.1.60.0120.01219.40
7.1.50.0070.01417.05
7.1.00.0030.04022.45
7.0.200.0380.00614.67
7.0.140.0000.07322.06
7.0.120.0070.07022.19
7.0.60.0300.04320.00
7.0.50.0130.04317.90
7.0.40.0070.06320.15
7.0.30.0630.07020.21
7.0.20.0370.06020.18
7.0.10.0030.08320.00
7.0.00.0030.04020.19
5.6.280.0030.07320.85
5.6.210.0070.08020.52
5.6.200.0030.05718.16
5.6.190.0030.04320.67
5.6.180.0370.07320.45
5.6.170.0370.05720.41
5.6.160.0100.06320.71
5.6.150.0100.07718.21
5.6.140.0100.06718.11
5.6.130.0070.08718.09
5.6.120.0100.05021.02
5.6.110.0100.08321.10
5.6.100.0000.04320.97
5.6.90.0100.07020.99
5.6.80.0100.04720.39
5.5.350.0030.07720.30
5.5.340.0100.07317.99
5.5.330.0100.03720.19
5.5.320.0100.04720.41
5.5.310.0170.04020.34
5.5.300.0030.08317.91
5.5.290.0100.05318.01
5.5.280.0100.05020.84
5.5.270.0130.04020.86
5.5.260.0100.07020.77
5.5.250.0130.07320.57
5.5.240.0170.02720.25
5.4.450.0130.05019.50
5.4.440.0130.07319.50
5.4.430.0130.06019.48
5.4.420.0100.04019.50
5.4.410.0070.06019.20
5.4.400.0070.04719.02
5.4.390.0100.07319.11
5.4.380.0130.07019.20
5.4.370.0030.06019.18
5.4.360.0030.06319.07
5.4.350.0070.04019.18
5.4.340.0000.08719.14
5.4.320.0100.05019.18
5.4.310.0170.06719.00
5.4.300.0070.04319.07
5.4.290.0100.05019.07
5.4.280.0070.04019.07
5.4.270.0130.04319.11
5.4.260.0030.05319.16
5.4.250.0130.05019.00
5.4.240.0070.05018.99
5.4.230.0130.05019.11
5.4.220.0070.07018.78
5.4.210.0000.05718.95
5.4.200.0200.06718.91
5.4.190.0200.06719.13
5.4.180.0070.06319.13
5.4.170.0100.08019.17
5.4.160.0130.06318.90
5.4.150.0070.06018.89
5.4.140.0000.04716.25
5.4.130.0070.06316.25
5.4.120.0030.03716.42
5.4.110.0030.03316.30
5.4.100.0100.03716.26
5.4.90.0000.05016.27
5.4.80.0100.03016.23
5.4.70.0070.03316.25
5.4.60.0070.07316.21
5.4.50.0070.05316.30
5.4.40.0100.03316.27
5.4.30.0030.04716.55
5.4.20.0030.06016.38
5.4.10.0130.06316.22
5.4.00.0030.06015.75
5.3.290.0100.07314.75
5.3.280.0000.06014.57
5.3.270.0030.04014.48
5.3.260.0130.03714.55
5.3.250.0000.06714.52
5.3.240.0030.04714.55
5.3.230.0070.04014.54
5.3.220.0100.03314.49
5.3.210.0030.03714.49
5.3.200.0000.05014.65
5.3.190.0070.05014.48
5.3.180.0030.03714.48
5.3.170.0000.04314.48
5.3.160.0030.05014.45
5.3.150.0070.07314.51
5.3.140.0170.05714.57
5.3.130.0030.04014.63
5.3.120.0170.04714.52
5.3.110.0070.07014.63
5.3.100.0000.05013.99
5.3.90.0070.05014.11
5.3.80.0100.03313.94
5.3.70.0070.06313.94
5.3.60.0100.07313.95
5.3.50.0130.07013.96
5.3.40.0070.04313.76
5.3.30.0030.05713.87
5.3.20.0030.06713.53
5.3.10.0070.04713.47
5.3.00.0070.07313.45
5.2.170.0000.04311.07
5.2.160.0100.05711.09
5.2.150.0030.04011.00
5.2.140.0000.03711.08
5.2.130.0000.03311.01
5.2.120.0070.04711.03
5.2.110.0070.03011.08
5.2.100.0000.05711.11
5.2.90.0030.04011.04
5.2.80.0030.04011.06
5.2.70.0070.05011.25
5.2.60.0100.04710.97
5.2.50.0000.04711.09
5.2.40.0070.03310.99
5.2.30.0130.05710.91
5.2.20.0000.06310.81
5.2.10.0030.04010.92
5.2.00.0030.03010.71
5.1.60.0070.0479.94
5.1.50.0030.0379.98
5.1.40.0100.0379.89
5.1.30.0030.05710.26
5.1.20.0000.04310.21
5.1.10.0030.05310.06
5.1.00.0100.05010.08
5.0.50.0100.0278.51
5.0.40.0100.0338.24
5.0.30.0000.0578.23
5.0.20.0000.0438.16
5.0.10.0030.0478.13
5.0.00.0030.0678.17
4.4.90.0000.0178.00
4.4.80.0100.0238.00
4.4.70.0030.0338.00
4.4.60.0100.0278.00
4.4.50.0070.0308.00
4.4.40.0030.0378.00
4.4.30.0100.0338.00
4.4.20.0030.0278.00
4.4.10.0000.0378.00
4.4.00.0030.0238.00
4.3.110.0030.0338.00
4.3.100.0000.0208.00
4.3.90.0100.0308.00
4.3.80.0000.0378.00
4.3.70.0070.0278.00
4.3.60.0030.0178.00
4.3.50.0000.0378.00
4.3.40.0000.0478.00
4.3.30.0030.0208.00
4.3.20.0000.0378.00
4.3.10.0030.0338.00
4.3.00.0000.0378.00

preferences:
44.8 ms | 400 KiB | 5 Q