3v4l.org

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

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.0070.00716.38
8.3.50.0130.00720.18
8.3.40.0040.01118.71
8.3.30.0060.00919.13
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.180.0120.00325.92
8.2.170.0110.00418.87
8.2.160.0040.01122.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00826.16
8.2.110.0100.00021.03
8.2.100.0080.00417.78
8.2.90.0000.00917.84
8.2.80.0090.00017.97
8.2.70.0080.00017.63
8.2.60.0000.00917.50
8.2.50.0040.00417.98
8.2.40.0000.00818.16
8.2.30.0040.00418.11
8.2.20.0070.00020.38
8.2.10.0000.00818.07
8.2.00.0050.00319.12
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.98
8.1.230.0070.00420.96
8.1.220.0000.00817.79
8.1.210.0080.00018.77
8.1.200.0050.00317.36
8.1.190.0100.00017.00
8.1.180.0030.00518.10
8.1.170.0050.00317.62
8.1.160.0020.00519.00
8.1.150.0040.00418.69
8.1.140.0040.00417.39
8.1.130.0000.00718.86
8.1.120.0040.00417.49
8.1.110.0000.00817.51
8.1.100.0000.00817.50
8.1.90.0060.00317.54
8.1.80.0000.00717.53
8.1.70.0070.00017.42
8.1.60.0170.00817.46
8.1.50.0200.00317.44
8.1.40.0180.00617.57
8.1.30.0180.00517.70
8.1.20.0150.00317.70
8.1.10.0160.00717.59
8.1.00.0170.00717.52
8.0.300.0080.00020.02
8.0.290.0040.00416.75
8.0.280.0020.00518.42
8.0.270.0000.00716.95
8.0.260.0040.00418.51
8.0.250.0040.00417.02
8.0.240.0030.00317.04
8.0.230.0030.00316.93
8.0.220.0070.00016.97
8.0.210.0000.00716.82
8.0.200.0000.00616.96
8.0.190.0090.00916.98
8.0.180.0140.00616.91
8.0.170.0140.00516.91
8.0.160.0080.01216.90
8.0.150.0180.00016.72
8.0.140.0150.00416.95
8.0.130.0120.00616.80
8.0.120.0160.00416.88
8.0.110.0150.00416.96
8.0.100.0140.00516.82
8.0.90.0160.00416.94
8.0.80.0130.00716.90
8.0.70.0160.00816.88
8.0.60.0200.00016.90
8.0.50.0200.00016.77
8.0.30.0150.00316.67
8.0.20.0190.00016.93
8.0.10.0160.00416.84
7.4.330.0050.00015.55
7.4.320.0030.00316.51
7.4.300.0060.00016.52
7.4.290.0080.00016.45
7.4.280.0210.00016.63
7.4.270.0180.00016.48
7.4.260.0150.00616.56
7.4.250.0210.00016.44
7.4.240.0100.00316.55
7.4.230.0000.01116.47
7.4.220.0060.00916.58
7.4.210.0100.00516.55
7.4.200.0110.00416.59
7.4.190.0070.00516.51
7.4.180.0050.00516.55
7.4.160.0190.00016.52
7.4.150.0160.00016.52
7.4.140.0140.00316.48
7.4.130.0140.00316.54
7.4.120.0110.00716.53
7.4.110.0100.00416.54
7.4.100.0100.00716.52
7.4.90.0170.00316.43
7.4.80.0120.00616.46
7.4.70.0150.00316.49
7.4.60.0160.00316.49
7.4.50.0080.00816.33
7.4.40.0120.00616.33
7.4.30.0160.00416.31
7.4.20.0150.00316.48
7.4.10.0090.00916.46
7.4.00.0180.00016.47

preferences:
39.29 ms | 401 KiB | 5 Q