3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nbsp = "\u{00A0}"; var_export(mb_strlen(trim($nbsp)));

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.4.120.0050.00324.05
8.4.110.0080.00618.90
8.4.100.0160.00518.80
8.4.90.0110.00820.61
8.4.80.0130.00618.79
8.4.70.0040.00418.98
8.4.60.0110.01118.73
8.4.50.0120.00917.75
8.4.40.0130.00717.50
8.4.30.0100.01018.55
8.4.20.0160.00319.61
8.4.10.0000.00819.30
8.3.250.0110.00816.42
8.3.240.0120.00816.84
8.3.230.0140.00216.75
8.3.220.0050.01318.99
8.3.210.0140.00416.73
8.3.200.0050.00416.46
8.3.190.0110.00816.67
8.3.180.0100.00618.50
8.3.170.0070.01119.05
8.3.160.0070.00717.14
8.3.150.0060.01317.12
8.3.140.0070.00716.89
8.3.130.0040.00418.46
8.3.120.0060.00318.79
8.3.110.0090.00020.94
8.3.100.0100.01024.06
8.3.90.0080.00018.18
8.3.80.0110.00629.00
8.3.70.0210.00016.50
8.3.60.0070.01016.51
8.3.50.0180.00416.46
8.3.40.0070.00721.82
8.3.30.0120.00320.09
8.3.20.0150.00721.73
8.3.10.0070.01421.56
8.3.00.0090.01318.71
8.2.290.0110.00720.20
8.2.280.0040.00418.39
8.2.270.0040.00417.18
8.2.260.0160.00316.40
8.2.250.0110.00318.07
8.2.240.0060.00618.73
8.2.230.0030.00622.58
8.2.220.0100.00037.54
8.2.210.0030.00526.77
8.2.200.0060.00316.38
8.2.190.0070.00716.58
8.2.180.0110.01116.38
8.2.170.0100.01018.77
8.2.160.0070.00722.96
8.2.150.0170.00319.15
8.2.140.0040.01420.47
8.2.130.0100.01020.39
8.2.120.0170.00318.97
8.2.110.0100.01019.18
8.2.100.0070.01018.97
8.2.90.0110.00718.78
8.2.80.0100.00719.18
8.2.70.0180.00018.64
8.2.60.0120.00618.82
8.2.50.0100.00719.02
8.2.40.0130.00618.69
8.2.30.0060.00918.57
8.2.20.0150.00318.74
8.2.10.0110.00718.71
8.2.00.0090.00918.59
8.1.330.0090.01021.80
8.1.320.0080.00816.29
8.1.310.0070.00318.13
8.1.300.0040.00419.68
8.1.290.0060.00318.88
8.1.280.0110.00325.92
8.1.270.0070.01022.05
8.1.260.0110.00721.84
8.1.250.0060.01222.20
8.1.240.0110.00718.50
8.1.230.0120.00618.61
8.1.220.0110.00718.74
8.1.210.0190.00018.42
8.1.200.0060.01218.68
8.1.190.0140.00418.56
8.1.180.0130.00618.38
8.1.170.0090.00918.74
8.1.160.0140.00318.38
8.1.150.0090.00918.74
8.1.140.0070.01018.50
8.1.130.0130.00718.69
8.1.120.0060.01218.60
8.1.110.0120.00618.50
8.1.100.0070.01018.41
8.1.90.0070.01118.37
8.1.80.0140.00319.69
8.1.70.0190.00318.38
8.1.60.0100.00718.80
8.1.50.0040.01118.68
8.1.40.0070.00718.59
8.1.30.0110.00418.74
8.1.20.0150.00019.74
8.1.10.0040.01118.45
8.1.00.0140.00018.52

preferences:
28.63 ms | 403 KiB | 5 Q