3v4l.org

run code in 300+ PHP versions simultaneously
<?php function unichr($u) { return mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES'); } echo unichr(769);

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.0210.00018.18
8.3.50.0170.00317.89
8.3.40.0090.00618.66
8.3.30.0110.00818.90
8.3.20.0040.00418.83
8.3.10.0080.00021.81
8.3.00.0080.00020.56
8.2.180.0170.00316.49
8.2.170.0100.00322.96
8.2.160.0100.00320.74
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00719.33
8.2.110.0090.00021.18
8.2.100.0040.00819.64
8.2.90.0040.00417.75
8.2.80.0000.00817.97
8.2.70.0030.00617.80
8.2.60.0030.00517.97
8.2.50.0000.00818.10
8.2.40.0020.00519.17
8.2.30.0070.00019.29
8.2.20.0080.00018.13
8.2.10.0050.00218.06
8.2.00.0030.00617.65
8.1.280.0140.00425.92
8.1.270.0040.00418.64
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0040.00422.33
8.1.230.0080.00317.77
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00917.25
8.1.190.0080.00017.00
8.1.180.0050.00318.10
8.1.170.0050.00318.64
8.1.160.0050.00218.88
8.1.150.0000.00818.87
8.1.140.0000.00822.00
8.1.130.0000.00717.38
8.1.120.0000.00817.41
8.1.110.0040.00317.28
8.1.100.0030.00417.48
8.1.90.0030.00617.48
8.1.80.0040.00417.29
8.1.70.0000.00717.49
8.1.60.0030.00517.48
8.1.50.0000.00717.53
8.1.40.0040.00417.52
8.1.30.0100.00017.58
8.1.20.0060.00317.52
8.1.10.0060.00317.41
8.1.00.0040.00417.41
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0070.00017.16
8.0.260.0000.00716.81
8.0.250.0000.00716.81
8.0.240.0030.00316.91
8.0.230.0030.00616.86
8.0.220.0030.00616.87
8.0.210.0080.00016.76
8.0.200.0040.00416.93
8.0.190.0070.00016.86
8.0.180.0000.00716.90
8.0.170.0030.00716.87
8.0.160.0030.00416.93
8.0.150.0000.00716.79
8.0.140.0040.00416.79
8.0.130.0000.00513.34
8.0.120.0050.00316.91
8.0.110.0000.00816.88
8.0.100.0000.00716.87
8.0.90.0040.00416.83
8.0.80.0120.00616.85
8.0.70.0030.00416.78
8.0.60.0080.00016.79
8.0.50.0000.00716.68
8.0.30.0070.01117.13
8.0.20.0130.00617.40
8.0.10.0000.00816.66
8.0.00.0110.00616.73
7.4.330.0050.00015.55
7.4.320.0030.00316.62
7.4.300.0000.00616.46
7.4.290.0030.00316.54
7.4.280.0040.00416.66
7.4.270.0070.00016.59
7.4.260.0040.00416.54
7.4.250.0000.00716.59
7.4.240.0000.00716.54
7.4.230.0070.00016.60
7.4.220.0030.00516.48
7.4.210.0050.00916.52
7.4.200.0070.00016.60
7.4.160.0040.01116.53
7.4.140.0130.00817.86
7.4.130.0000.01716.60
7.4.120.0110.01116.36
7.4.110.0130.01016.42
7.4.100.0100.01016.60
7.4.90.0240.02216.42
7.4.80.0030.02119.39
7.4.70.0120.00616.38
7.4.60.0110.00616.34
7.4.50.0070.00716.34
7.4.40.0100.01316.38
7.3.330.0000.00513.14
7.3.320.0050.00013.43
7.3.310.0000.00916.21
7.3.300.0000.00616.40
7.3.290.0040.00416.40
7.3.280.0090.00616.35
7.3.260.0100.01116.42
7.3.240.0110.00816.53
7.3.230.0120.00316.47
7.3.210.0040.01516.52
7.3.200.0120.00816.39
7.3.190.0120.00616.39
7.3.180.0140.00716.34
7.3.170.0120.00916.48
7.3.160.0100.00716.61
7.2.330.0120.00616.80
7.2.320.0150.00616.59
7.2.310.0180.00416.70
7.2.300.0140.00716.57
7.2.290.0100.01016.64

preferences:
57.48 ms | 401 KiB | 5 Q