3v4l.org

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

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.01018.05
8.3.50.0120.00317.99
8.3.40.0030.01318.85
8.3.30.0070.00718.50
8.3.20.0080.00018.60
8.3.10.0040.00421.60
8.3.00.0050.00220.39
8.2.180.0120.00618.41
8.2.170.0110.00322.96
8.2.160.0070.00721.00
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00419.70
8.2.120.0040.00426.35
8.2.110.0060.00320.88
8.2.100.0120.00019.38
8.2.90.0000.00817.63
8.2.80.0070.00017.97
8.2.70.0030.00517.80
8.2.60.0000.00718.22
8.2.50.0000.00818.10
8.2.40.0000.00719.34
8.2.30.0040.00419.30
8.2.20.0020.00518.01
8.2.10.0000.00817.93
8.2.00.0040.00417.70
8.1.270.0040.00418.93
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.53
8.1.230.0000.01117.57
8.1.220.0070.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.63
8.1.160.0040.00418.83
8.1.150.0000.00720.68
8.1.140.0000.00722.09
8.1.130.0000.00720.07
8.1.120.0030.00617.45
8.1.110.0020.00517.48
8.1.100.0030.00517.47
8.1.90.0030.00617.40
8.1.80.0000.00817.42
8.1.70.0030.00517.42
8.1.60.0030.00517.57
8.1.50.0000.00717.50
8.1.40.0000.00717.38
8.1.30.0070.00217.65
8.1.20.0040.00417.64
8.1.10.0000.00817.50
8.1.00.0040.00417.33
8.0.300.0040.00418.77
8.0.290.0070.00016.61
8.0.280.0030.00518.48
8.0.270.0070.00017.25
8.0.260.0030.00318.44
8.0.250.0000.00716.87
8.0.240.0030.00316.95
8.0.230.0080.00017.00
8.0.220.0030.00616.83
8.0.210.0000.00716.87
8.0.200.0040.00416.86
8.0.190.0080.00016.91
8.0.180.0050.00216.86
8.0.170.0000.00916.89
8.0.160.0050.00316.99
8.0.150.0070.00016.81
8.0.140.0070.00016.84
8.0.130.0000.00613.28
8.0.120.0000.00816.75
8.0.110.0070.00016.85
8.0.100.0060.00316.92
8.0.90.0000.00716.77
8.0.80.0070.01116.90
8.0.70.0040.00416.83
8.0.60.0050.00316.70
8.0.50.0000.00716.84
8.0.30.0070.01016.94
8.0.20.0130.01317.40
8.0.10.0040.00416.84
8.0.00.0090.00816.77
7.4.330.0050.00015.55
7.4.320.0030.00316.52
7.4.300.0000.00616.63
7.4.290.0070.00016.39
7.4.280.0000.00816.45
7.4.270.0030.00316.48
7.4.260.0000.00716.48
7.4.250.0040.00416.45
7.4.240.0030.00316.57
7.4.230.0000.00716.67
7.4.220.0000.00816.54
7.4.210.0140.00316.55
7.4.200.0070.00016.57
7.4.160.0100.00716.46
7.4.140.0100.01017.86
7.4.130.0070.01016.51
7.4.120.0100.01116.52
7.4.110.0170.00716.48
7.4.100.0100.00716.57
7.4.90.0130.01016.59
7.4.80.0160.00619.39
7.4.70.0140.00716.48
7.4.60.0030.01316.59
7.4.50.0070.01016.61
7.4.40.0110.01116.34
7.3.330.0030.00313.36
7.3.320.0050.00013.21
7.3.310.0000.00816.39
7.3.300.0070.00016.27
7.3.290.0000.00716.31
7.3.280.0080.00816.45
7.3.260.0150.00516.42
7.3.240.0100.00916.40
7.3.230.0100.00616.52
7.3.210.0030.01316.37
7.3.200.0070.01116.30
7.3.190.0130.01016.53
7.3.180.0090.00616.38
7.3.170.0090.01316.29
7.3.160.0060.01216.32
7.2.330.0150.00316.68
7.2.320.0060.01516.72
7.2.310.0070.01016.66
7.2.300.0090.01216.65
7.2.290.0060.01316.50

preferences:
59.33 ms | 400 KiB | 5 Q