3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text="ála"; for($d=0;$d<mb_strlen($text);$d++) { echo $text[$d]; print "<br>"; }

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.60.0060.01018.30
8.3.50.0110.00420.09
8.3.40.0090.01218.67
8.3.30.0040.01119.29
8.3.20.0060.00324.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.180.0070.01025.92
8.2.170.0100.00722.96
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0030.00526.16
8.2.110.0060.00320.53
8.2.100.0090.00317.97
8.2.90.0040.00419.18
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0050.00317.93
8.2.50.0080.00018.07
8.2.40.0070.00018.22
8.2.30.0000.00718.17
8.2.20.0070.00020.48
8.2.10.0040.00418.03
8.2.00.0050.00319.28
8.1.280.0030.01025.92
8.1.270.0060.00323.99
8.1.260.0080.00026.35
8.1.250.0090.00628.09
8.1.240.0100.00022.21
8.1.230.0090.00317.42
8.1.220.0000.00817.79
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0000.00818.39
8.1.160.0050.00218.80
8.1.150.0070.00018.50
8.1.140.0000.00717.31
8.1.130.0070.00018.71
8.1.120.0070.00017.37
8.1.110.0060.00317.42
8.1.100.0040.00417.28
8.1.90.0030.00317.39
8.1.80.0030.00517.27
8.1.70.0000.00717.39
8.1.60.0140.00017.59
8.1.50.0150.00917.33
8.1.40.0170.00717.48
8.1.30.0180.00417.67
8.1.20.0170.00317.54
8.1.10.0220.00317.48
8.1.00.0210.00417.52
8.0.300.0020.00518.77
8.0.290.0000.00716.88
8.0.280.0070.00018.53
8.0.270.0040.00416.87
8.0.260.0040.00418.50
8.0.250.0030.00516.84
8.0.240.0000.00617.00
8.0.230.0030.00316.81
8.0.220.0060.00016.91
8.0.210.0030.00316.75
8.0.200.0000.00716.83
8.0.190.0150.00416.88
8.0.180.0170.00316.89
8.0.170.0180.00016.89
8.0.160.0110.00816.86
8.0.150.0200.00016.72
8.0.140.0200.00016.79
8.0.130.0140.00616.74
8.0.120.0140.00616.79
8.0.110.0170.00316.69
8.0.100.0100.01016.87
8.0.90.0120.00716.77
8.0.80.0130.00616.80
8.0.70.0140.00716.74
8.0.60.0200.00016.65
8.0.50.0130.00616.75
8.0.30.0150.00416.87
8.0.20.0090.00916.83
8.0.10.0200.00016.93
7.4.330.0020.00215.55
7.4.320.0070.00016.39
7.4.300.0040.00416.52
7.4.290.0060.00816.46
7.4.280.0080.01316.41
7.4.270.0140.00416.29
7.4.260.0220.00016.39
7.4.250.0210.00016.40
7.4.240.0070.00716.50
7.4.230.0060.00616.43
7.4.220.0080.01016.36
7.4.210.0120.00316.42
7.4.200.0000.01516.50
7.4.190.0050.00716.46
7.4.180.0050.00516.44
7.4.160.0150.00216.50
7.4.150.0180.00016.45
7.4.140.0160.00316.54
7.4.130.0120.00316.32
7.4.120.0160.00316.37
7.4.110.0080.00616.45
7.4.100.0130.00416.64
7.4.90.0180.00016.45
7.4.80.0130.00416.43
7.4.70.0080.00916.42
7.4.60.0140.00416.40
7.4.50.0110.00516.36
7.4.40.0090.00916.27
7.4.30.0110.00816.45
7.4.20.0160.00316.25
7.4.10.0130.00416.38
7.4.00.0110.00616.41

preferences:
42.54 ms | 400 KiB | 5 Q