3v4l.org

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

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.0150.00016.63
8.3.50.0150.00020.05
8.3.40.0110.00418.70
8.3.30.0090.00919.25
8.3.20.0000.00824.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.180.0120.00325.92
8.2.170.0070.01419.09
8.2.160.0000.01522.96
8.2.150.0060.00325.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0060.00320.34
8.2.100.0120.00017.78
8.2.90.0040.00417.75
8.2.80.0040.00418.78
8.2.70.0040.00417.50
8.2.60.0080.00017.63
8.2.50.0030.00617.98
8.2.40.0040.00418.28
8.2.30.0050.00218.13
8.2.20.0030.00320.49
8.2.10.0030.00617.92
8.2.00.0040.00419.18
8.1.280.0140.00725.92
8.1.270.0000.00723.99
8.1.260.0080.00026.35
8.1.250.0090.00628.09
8.1.240.0030.00622.07
8.1.230.0060.00620.93
8.1.220.0000.00818.61
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0030.00617.13
8.1.180.0030.00518.10
8.1.170.0000.00817.62
8.1.160.0050.00318.82
8.1.150.0040.00418.58
8.1.140.0040.00417.39
8.1.130.0030.00318.83
8.1.120.0030.00617.43
8.1.110.0040.00417.27
8.1.100.0030.00617.36
8.1.90.0040.00417.33
8.1.80.0040.00417.36
8.1.70.0030.00317.40
8.1.60.0130.01317.42
8.1.50.0230.00317.41
8.1.40.0230.00317.46
8.1.30.0180.00617.59
8.1.20.0170.00617.51
8.1.10.0150.00917.56
8.1.00.0120.01217.52
8.0.300.0050.00319.05
8.0.290.0060.00316.73
8.0.280.0000.00718.34
8.0.270.0030.00316.80
8.0.260.0070.00018.37
8.0.250.0030.00316.98
8.0.240.0000.00616.83
8.0.230.0030.00316.91
8.0.220.0030.00316.86
8.0.210.0000.00716.69
8.0.200.0000.00716.83
8.0.190.0050.01416.90
8.0.180.0170.00316.78
8.0.170.0170.00316.85
8.0.160.0060.01216.81
8.0.150.0200.00016.77
8.0.140.0110.00816.70
8.0.130.0160.00416.72
8.0.120.0100.01016.69
8.0.110.0110.00816.80
8.0.100.0170.00316.76
8.0.90.0180.00316.77
8.0.80.0170.00216.79
8.0.70.0160.00316.76
8.0.60.0090.01016.77
8.0.50.0130.00616.84
8.0.30.0160.00316.78
8.0.20.0050.01516.79
8.0.10.0130.00916.91
7.4.330.0060.00015.55
7.4.320.0000.00616.52
7.4.300.0030.00316.50
7.4.290.0080.00016.41
7.4.280.0180.00316.29
7.4.270.0130.01016.49
7.4.260.0150.00616.35
7.4.250.0150.00616.31
7.4.240.0100.00316.34
7.4.230.0130.00916.48
7.4.220.0150.00016.48
7.4.210.0070.00716.35
7.4.200.0040.00916.43
7.4.190.0070.00516.57
7.4.180.0090.00016.57
7.4.160.0140.00516.40
7.4.150.0130.00316.44
7.4.140.0110.00616.23
7.4.130.0120.00316.42
7.4.120.0180.00016.49
7.4.110.0060.00616.29
7.4.100.0150.00316.43
7.4.90.0100.01016.41
7.4.80.0090.00916.49
7.4.70.0120.00616.27
7.4.60.0160.00316.39
7.4.50.0120.00416.37
7.4.40.0200.00016.28
7.4.30.0110.00816.30
7.4.20.0050.01416.35
7.4.10.0100.01016.43
7.4.00.0100.01016.41

preferences:
51.43 ms | 400 KiB | 5 Q