3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo mb_strlen("hello!", "haha");

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.5.30.0050.00419.68
8.5.20.0090.00818.62
8.5.10.0110.00716.62
8.5.00.0140.00819.79
8.4.180.0160.00623.92
8.4.170.0100.01121.93
8.4.160.0150.00823.64
8.4.150.0090.00416.90
8.4.140.0110.01117.49
8.4.130.0100.01017.80
8.4.120.0090.00320.32
8.4.110.0050.00422.41
8.4.100.0130.00817.48
8.4.90.0120.00818.45
8.4.80.0040.00517.67
8.4.70.0040.00517.94
8.4.60.0110.00519.00
8.4.50.0090.01318.48
8.4.40.0110.01117.59
8.4.30.0090.00020.36
8.4.20.0000.00817.96
8.4.10.0060.00319.46
8.3.300.0140.00822.69
8.3.290.0130.00718.41
8.3.280.0100.01020.60
8.3.270.0140.00516.73
8.3.260.0080.01016.68
8.3.250.0090.01018.81
8.3.240.0110.00816.63
8.3.230.0110.00916.46
8.3.220.0090.00916.95
8.3.210.0150.00318.32
8.3.200.0030.00516.73
8.3.190.0060.00217.24
8.3.180.0100.01016.55
8.3.170.0040.00416.94
8.3.160.0060.01218.61
8.3.150.0140.00420.73
8.3.140.0070.01117.04
8.3.130.0040.00418.54
8.3.120.0060.00320.57
8.3.110.0060.00320.94
8.3.100.0100.00024.06
8.3.90.0140.00426.77
8.3.80.0030.00618.27
8.3.70.0090.00618.25
8.3.60.0120.00316.75
8.3.50.0140.00716.50
8.3.40.0090.00621.67
8.3.30.0120.00319.15
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.300.0110.00818.07
8.2.290.0100.00920.43
8.2.280.0090.01118.73
8.2.270.0070.01017.30
8.2.260.0120.00319.25
8.2.250.0160.00318.61
8.2.240.0000.00819.23
8.2.230.0060.00322.58
8.2.220.0080.00037.54
8.2.210.0060.01226.77
8.2.200.0050.00518.55
8.2.190.0130.00316.75
8.2.180.0110.00418.59
8.2.170.0040.01118.91
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00819.36
8.2.110.0030.00619.52
8.2.100.0260.00717.69
8.2.90.0300.00017.69
8.2.80.0270.00417.69
8.2.70.0190.01217.69
8.2.60.0230.01017.69
8.2.50.0250.00617.69
8.2.40.0230.00018.80
8.2.30.0300.00017.69
8.2.20.0210.00717.69
8.2.10.0160.01017.69
8.2.00.0250.00517.69
8.1.340.0130.00717.45
8.1.330.0140.00721.72
8.1.320.0150.00416.09
8.1.310.0090.00916.67
8.1.300.0060.00318.25
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0100.00019.57
8.1.230.0180.00019.21
8.1.220.0190.00817.69
8.1.210.0260.00017.69
8.1.200.0160.01217.69
8.1.190.0270.00017.69
8.1.180.0200.00717.69
8.1.170.0240.00417.69
8.1.160.0210.00617.69
8.1.150.0220.00617.69
8.1.140.0260.00017.69
8.1.130.0170.01017.69
8.1.120.0210.00717.69
8.1.110.0240.00317.69
8.1.100.0240.00617.69
8.1.90.0170.01017.69
8.1.80.0220.00617.69
8.1.70.0230.00517.69
8.1.60.0220.00717.69
8.1.50.0180.00917.69
8.1.40.0290.00417.69
8.1.30.0230.00317.69
8.1.20.0200.00917.69
8.1.10.0300.00317.69
8.1.00.0260.00417.69
8.0.300.0150.01117.69
8.0.290.0220.00317.69
8.0.280.0220.00417.69
8.0.270.0240.00317.69
8.0.260.0260.00017.69
8.0.250.0230.00417.69
8.0.240.0200.00717.69
8.0.230.0270.00417.69
8.0.220.0210.00617.69
8.0.210.0230.00417.69
8.0.200.0220.00717.69
8.0.190.0180.00917.69
8.0.180.0180.00917.69
8.0.170.0280.00017.69
8.0.160.0270.00017.69
8.0.150.0230.00417.69
8.0.140.0230.00617.69
8.0.130.0280.00017.69
8.0.120.0180.00917.69
8.0.110.0250.00017.69
8.0.100.0250.00017.69
8.0.90.0190.00617.69
8.0.80.0260.00017.69
8.0.70.0180.00717.69
8.0.60.0200.00417.69
8.0.50.0200.00817.69
8.0.30.0190.00817.69
8.0.20.0230.00717.69
8.0.10.0210.01017.69
7.4.120.0140.00518.44

preferences:
85.88 ms | 1138 KiB | 5 Q