3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text="ála"; for($d=0;$d<strlen($text);$d++) { echo $text[$d] . "<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.40.0040.01118.64
8.3.30.0090.00619.21
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.170.0120.00619.09
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0000.00826.16
8.2.110.0100.00020.38
8.2.100.0040.00817.72
8.2.90.0050.00320.34
8.2.80.0040.00418.83
8.2.70.0030.00517.75
8.2.60.0000.00718.04
8.2.50.0000.00818.07
8.2.40.0000.00820.07
8.2.30.0040.00418.07
8.2.20.0030.00320.48
8.2.10.0070.00017.87
8.2.00.0000.00719.13
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0100.00328.09
8.1.240.0030.00623.91
8.1.230.0000.01124.02
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.25
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00818.92
8.1.150.0030.00318.57
8.1.140.0040.00417.48
8.1.130.0000.00718.83
8.1.120.0040.00417.46
8.1.110.0060.00317.50
8.1.100.0000.00717.41
8.1.90.0000.00817.41
8.1.80.0070.00017.45
8.1.70.0030.00317.45
8.1.60.0240.00017.52
8.1.50.0120.01217.53
8.1.40.0190.00617.49
8.1.30.0210.00317.64
8.1.20.0170.00317.65
8.1.10.0180.00717.60
8.1.00.0220.00417.48
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0030.00318.38
8.0.270.0030.00316.75
8.0.260.0040.00418.35
8.0.250.0000.00716.86
8.0.240.0030.00317.00
8.0.230.0080.00016.91
8.0.220.0000.00716.90
8.0.210.0000.00716.93
8.0.200.0030.00316.95
8.0.190.0110.00716.94
8.0.180.0160.00416.91
8.0.170.0180.00016.70
8.0.160.0200.00016.81
8.0.150.0110.00816.66
8.0.140.0160.00316.65
8.0.130.0160.00516.80
8.0.120.0210.00016.82
8.0.110.0190.00016.80
8.0.100.0090.01216.91
8.0.90.0150.00616.75
8.0.80.0200.00316.71
8.0.70.0180.00316.84
8.0.60.0140.00616.68
8.0.50.0130.00716.84
8.0.30.0110.00816.72
8.0.20.0140.00816.86
8.0.10.0200.00016.86
7.4.330.0000.00615.55
7.4.320.0000.00716.42
7.4.300.0030.00316.36
7.4.290.0030.00616.34
7.4.280.0170.00616.51
7.4.270.0150.00516.50
7.4.260.0200.00016.45
7.4.250.0190.00316.49
7.4.240.0080.00416.33
7.4.230.0040.00816.42
7.4.220.0090.00716.43
7.4.210.0110.00216.41
7.4.200.0060.00616.42
7.4.190.0130.00016.44
7.4.180.0030.00616.54
7.4.160.0120.00616.48
7.4.150.0130.00316.43
7.4.140.0120.00416.36
7.4.130.0050.01116.39
7.4.120.0110.00716.35
7.4.110.0050.00516.33
7.4.100.0120.00416.32
7.4.90.0140.00516.38
7.4.80.0150.00416.44
7.4.70.0130.00716.27
7.4.60.0090.00916.43
7.4.50.0100.00716.31
7.4.40.0160.00316.31
7.4.30.0160.00316.37
7.4.20.0110.00716.28
7.4.10.0110.00716.49
7.4.00.0100.00716.34

preferences:
50 ms | 400 KiB | 5 Q