3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Your code here! echo strlen(mb_convert_encoding('俱', 'UTF-16')); echo strlen(mb_convert_encoding('𠀋', 'UTF-16')); ?>

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.0170.00316.50
8.3.50.0030.01616.78
8.3.40.0090.00920.35
8.3.30.0140.00418.59
8.3.20.0050.00224.18
8.3.10.0000.00824.66
8.3.00.0080.00026.16
8.2.180.0160.00616.50
8.2.170.0090.00618.66
8.2.160.0110.00422.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00420.94
8.2.110.0030.00620.99
8.2.100.0040.00817.78
8.2.90.0080.00017.86
8.2.80.0000.00818.09
8.2.70.0080.00017.63
8.2.60.0080.01117.13
8.2.50.0190.00017.37
8.2.40.0130.00317.38
8.2.30.0110.00617.38
8.2.20.0110.00817.13
8.2.10.0160.00417.38
8.2.00.0140.00417.50
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0050.00323.98
8.1.230.0110.00020.96
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0090.00017.22
8.1.190.0140.00317.00
8.1.180.0110.00616.73
8.1.170.0150.00017.13
8.1.160.0170.00017.13
8.1.150.0100.00717.25
8.1.140.0090.00617.34
8.1.130.0080.00817.38
8.1.120.0110.00816.75
8.1.110.0110.00617.13
8.1.100.0130.00417.25
8.1.90.0150.00017.00
8.1.80.0160.00017.23
8.1.70.0100.00517.00
8.1.60.0180.00017.25
8.1.50.0060.01117.50
8.1.40.0100.00717.25
8.1.30.0090.00917.50
8.1.20.0130.00617.25
8.1.10.0130.00417.38
8.1.00.0090.00917.25
8.0.300.0050.00320.03
8.0.290.0040.00416.75
8.0.280.0160.00416.52
8.0.270.0100.00516.75
8.0.260.0090.00616.52
8.0.250.0100.00516.52
8.0.240.0130.00316.63
8.0.230.0090.00916.52
8.0.220.0110.00616.63
8.0.210.0130.00316.52
8.0.200.0140.00516.63
8.0.190.0120.00816.63
8.0.180.0190.00016.52
8.0.170.0170.00016.61
8.0.160.0130.00316.52
8.0.150.0170.00016.52
8.0.140.0140.00316.52
8.0.130.0160.00016.52
8.0.120.0100.00716.52
8.0.110.0070.00716.52
8.0.100.0120.00416.52
8.0.90.0100.00516.63
8.0.80.0130.00316.52
8.0.70.0120.00416.52
8.0.60.0090.00616.52
8.0.50.0160.00016.52
8.0.30.0130.00316.52
8.0.20.0110.00416.61
8.0.10.0130.00216.52

preferences:
36.07 ms | 401 KiB | 5 Q