3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Your code here! 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.0100.01018.31
8.3.50.0040.01116.50
8.3.40.0040.01520.21
8.3.30.0140.00018.63
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.180.0170.00316.38
8.2.170.0070.00718.84
8.2.160.0130.00022.96
8.2.150.0000.00925.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0030.00717.80
8.2.110.0000.00821.12
8.2.100.0060.00617.59
8.2.90.0040.00417.91
8.2.80.0050.00318.16
8.2.70.0040.00417.50
8.2.60.0140.00717.50
8.2.50.0160.00317.25
8.2.40.0150.00217.59
8.2.30.0140.00317.38
8.2.20.0090.00917.63
8.2.10.0170.00317.50
8.2.00.0100.00717.25
8.1.280.0140.00725.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00922.13
8.1.230.0040.00720.91
8.1.220.0040.00717.74
8.1.210.0060.00318.77
8.1.200.0000.00917.23
8.1.190.0120.00617.13
8.1.180.0140.00816.75
8.1.170.0110.00717.13
8.1.160.0130.00317.00
8.1.150.0100.00717.11
8.1.140.0070.01017.22
8.1.130.0080.00816.88
8.1.120.0090.00717.11
8.1.110.0130.00317.10
8.1.100.0130.00317.13
8.1.90.0130.00417.00
8.1.80.0130.00317.00
8.1.70.0120.00417.13
8.1.60.0030.01517.35
8.1.50.0140.00317.00
8.1.40.0190.00017.37
8.1.30.0180.00017.38
8.1.20.0180.00017.22
8.1.10.0180.00017.00
8.1.00.0150.00317.25
8.0.300.0080.00019.94
8.0.290.0050.00316.88
8.0.280.0110.00516.63
8.0.270.0090.00616.52
8.0.260.0120.00416.52
8.0.250.0120.00416.52
8.0.240.0090.00616.59
8.0.230.0030.01316.52
8.0.220.0040.01216.63
8.0.210.0160.00016.52
8.0.200.0200.00016.52
8.0.190.0180.00016.52
8.0.180.0140.00316.52
8.0.170.0160.00316.52
8.0.160.0170.00416.52
8.0.150.0140.00316.52
8.0.140.0160.00016.52
8.0.130.0130.00216.52
8.0.120.0120.00416.52
8.0.110.0150.00016.52
8.0.100.0120.00316.52
8.0.90.0110.00416.52
8.0.80.0160.00016.52
8.0.70.0120.00316.52
8.0.60.0120.00416.52
8.0.50.0130.00316.52
8.0.30.0080.00816.52
8.0.20.0090.00616.75
8.0.10.0150.00016.52

preferences:
37.28 ms | 400 KiB | 5 Q