3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strlen("안녕세상") . "\n" . mb_strlen("안녕세상");

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.20.0120.00920.34
8.4.10.0070.00317.47
8.3.150.0080.00017.19
8.3.140.0100.01016.73
8.3.130.0000.00818.16
8.3.120.0090.00020.71
8.3.110.0080.00016.36
8.3.100.0040.00418.21
8.3.90.0070.00026.77
8.3.80.0090.00017.97
8.3.70.0090.01218.30
8.3.60.0130.01018.43
8.3.50.0130.00821.88
8.3.40.0110.00718.71
8.3.30.0110.00418.64
8.3.20.0040.00418.73
8.3.10.0040.00421.77
8.3.00.0030.00619.13
8.2.270.0080.00017.16
8.2.260.0070.01016.43
8.2.250.0080.00018.41
8.2.240.0040.00818.62
8.2.230.0080.00020.94
8.2.220.0060.00337.54
8.2.210.0000.00926.77
8.2.200.0030.00616.38
8.2.190.0180.00316.58
8.2.180.0170.00316.50
8.2.170.0150.00322.96
8.2.160.0030.01019.08
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.09
8.2.120.0080.00026.35
8.2.110.0000.01022.25
8.2.100.0090.00317.66
8.2.90.0050.00318.16
8.2.80.0040.00417.97
8.2.70.0050.00317.80
8.2.60.0030.00517.99
8.2.50.0030.00618.10
8.2.40.0000.00820.28
8.2.30.0030.00319.16
8.2.20.0030.00517.90
8.2.10.0000.00717.89
8.2.00.0000.00817.48
8.1.310.0070.01118.41
8.1.300.0130.00317.93
8.1.290.0080.00430.84
8.1.280.0090.00925.92
8.1.270.0040.00422.20
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00023.86
8.1.230.0040.00720.97
8.1.220.0050.00317.74
8.1.210.0050.00318.92
8.1.200.0000.00917.13
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0080.00018.49
8.1.160.0040.00419.04
8.1.150.0000.00720.25
8.1.140.0040.00419.35
8.1.130.0070.00018.92
8.1.120.0000.00717.22
8.1.110.0030.00517.19
8.1.100.0000.00717.35
8.1.90.0000.00817.39
8.1.80.0070.00017.34
8.1.70.0030.00317.22
8.1.60.0080.00017.54
8.1.50.0000.00817.32
8.1.40.0070.00017.34
8.1.30.0080.00017.64
8.1.20.0070.00017.40
8.1.10.0070.00017.46
8.1.00.0100.00017.48
8.0.300.0050.00219.94
8.0.290.0060.00316.75
8.0.280.0000.00718.33
8.0.270.0000.00817.30
8.0.260.0000.00717.29
8.0.250.0030.00316.93
8.0.240.0050.00316.85
8.0.230.0040.00416.88
8.0.220.0000.00716.81
8.0.210.0000.00716.87
8.0.200.0000.00616.97
8.0.190.0000.00816.97
8.0.180.0040.00416.96
8.0.170.0000.00716.84
8.0.160.0070.00416.96
8.0.150.0030.00316.86
8.0.140.0030.00516.72
8.0.130.0000.00513.34
8.0.120.0040.00416.82
8.0.110.0000.00716.74
8.0.100.0000.00716.77
8.0.90.0040.00416.76
8.0.80.0100.01016.72
8.0.70.0040.00416.70
8.0.60.0030.00316.87
8.0.50.0050.00216.62
8.0.30.0100.00717.02
8.0.20.0100.01017.40
8.0.10.0080.00016.72
8.0.00.0080.00816.72
7.4.330.0000.00615.55
7.4.320.0030.00316.36
7.4.300.0060.00016.37
7.4.290.0000.00716.35
7.4.280.0000.00716.26
7.4.270.0030.00316.45
7.4.260.0000.00716.32
7.4.250.0030.00316.37
7.4.240.0040.00316.25
7.4.230.0030.00316.34
7.4.220.0090.00916.30
7.4.210.0070.00716.39
7.4.200.0070.00016.51
7.4.160.0060.01016.28
7.4.150.0070.01017.40
7.4.140.0090.01117.86
7.4.130.0090.00716.41
7.4.120.0090.00916.44
7.4.110.0120.00416.38
7.4.100.0130.00316.47
7.4.90.0170.00016.29
7.4.80.0060.01216.54
7.4.70.0120.00416.49
7.4.60.0110.01116.50
7.4.50.0070.00716.42
7.4.40.0120.00616.30
7.4.30.0100.01016.54
7.4.10.0060.01214.77
7.4.00.0050.01114.95
7.3.330.0000.00512.94
7.3.320.0020.00213.09
7.3.310.0070.00016.14
7.3.300.0030.00316.05
7.3.290.0060.01016.24
7.3.280.0110.00616.20
7.3.270.0140.00717.40
7.3.260.0050.01216.17
7.3.250.0100.00716.35
7.3.240.0080.01216.20
7.3.230.0030.01616.51
7.3.210.0030.01316.21
7.3.200.0080.01216.45
7.3.190.0050.01416.13
7.3.180.0030.01416.32
7.3.170.0200.00416.19
7.3.160.0060.01216.50
7.3.130.0070.01315.02
7.3.120.0080.00814.78
7.3.110.0030.01514.71
7.3.100.0060.00414.74
7.3.90.0060.00514.84
7.3.80.0070.00714.79
7.3.70.0060.00514.76
7.3.60.0030.01214.77
7.3.50.0110.00114.71
7.3.40.0030.00714.58
7.3.30.0050.00514.73
7.3.20.0050.01016.61
7.3.10.0040.00816.54
7.3.00.0080.00316.46
7.2.330.0040.01316.57
7.2.320.0060.01016.58
7.2.310.0060.01216.29
7.2.300.0070.01016.47
7.2.290.0090.00916.70
7.2.260.0030.01615.20
7.2.250.0100.00614.86
7.2.240.0080.00815.05
7.2.230.0070.00914.74
7.2.220.0090.00715.13
7.2.210.0090.00515.13
7.2.200.0030.01014.80
7.2.190.0030.01214.78
7.2.180.0060.00614.67
7.2.170.0060.00514.80
7.2.160.0050.00914.94
7.2.150.0030.01316.69
7.2.140.0080.00816.95
7.2.130.0060.00816.69
7.2.120.0050.00716.58
7.2.110.0030.01016.77
7.2.100.0020.01016.70
7.2.90.0060.01016.75
7.2.80.0060.00816.81
7.2.70.0060.00616.90
7.2.60.0050.00816.84
7.2.50.0050.00816.87
7.2.40.0070.00916.84
7.2.30.0020.01316.69
7.2.20.0060.00716.82
7.2.10.0070.00716.73
7.2.00.0050.00816.67
7.1.330.0030.01015.79
7.1.320.0060.01015.78
7.1.310.0070.00315.70
7.1.300.0040.00915.53
7.1.290.0060.00715.67
7.1.280.0050.00815.65
7.1.270.0060.00515.61
7.1.260.0110.00615.47
7.1.250.0100.00515.66
7.1.240.0000.01615.71
7.1.230.0040.00715.56
7.1.220.0070.01015.83
7.1.210.0060.00615.76
7.1.200.0160.01015.21
7.1.190.0060.00615.74
7.1.180.0030.00615.81
7.1.170.0040.01215.71
7.1.160.0070.00715.42
7.1.150.0030.01015.62
7.1.140.0000.00915.84
7.1.130.0030.01015.72
7.1.120.0030.00715.64
7.1.110.0070.00715.90
7.1.100.0040.00415.61
7.1.90.0000.00915.90
7.1.80.0030.01015.75
7.1.70.0020.00816.38
7.1.60.0030.00816.48
7.1.50.0000.01315.71
7.1.40.0080.00015.56
7.1.30.0070.00715.68
7.1.20.0070.01015.85
7.1.10.0040.00815.46
7.1.00.0120.03219.12
7.0.330.0090.00615.45
7.0.320.0000.01015.31
7.0.310.0070.00715.40
7.0.300.0000.01515.00
7.0.290.0030.01015.40
7.0.280.0090.00615.44
7.0.270.0000.01015.10
7.0.260.0110.00415.35
7.0.250.0060.00915.11
7.0.240.0080.00015.41
7.0.230.0040.00815.16
7.0.220.0040.00815.57
7.0.210.0060.00615.30
7.0.200.0050.01016.01
7.0.190.0030.01015.48
7.0.180.0030.00915.09
7.0.170.0060.00615.12
7.0.160.0100.00315.20
7.0.150.0040.00815.33
7.0.140.0000.03918.65
7.0.130.0090.03318.85
7.0.120.0100.03018.78
7.0.110.0090.03318.79
7.0.100.0050.03418.70
7.0.90.0080.03118.82
7.0.80.0090.03218.76
7.0.70.0070.03518.66
7.0.60.0100.03218.59
7.0.50.0080.04118.77
7.0.40.0080.03017.67
7.0.30.0080.03117.50
7.0.20.0140.02717.79
7.0.10.0050.03317.88
7.0.00.0070.03317.58
5.6.400.0080.00314.60
5.6.390.0060.00814.46
5.6.380.0040.00714.45
5.6.370.0040.01213.91
5.6.360.0070.00714.01
5.6.350.0000.01414.26
5.6.340.0040.01114.22
5.6.330.0070.00714.20
5.6.320.0140.00014.02
5.6.310.0100.00614.25
5.6.300.0040.00814.49
5.6.290.0030.03117.69
5.6.280.0130.02517.69
5.6.270.0050.03817.54
5.6.260.0110.02817.62
5.6.250.0120.02917.55
5.6.240.0100.03217.62
5.6.230.0140.02817.60
5.6.220.0030.03717.43
5.6.210.0070.03517.58
5.6.200.0050.03517.58
5.6.190.0050.03917.56
5.6.180.0070.03017.49
5.6.170.0080.02917.46
5.6.160.0050.03417.64
5.6.150.0080.03117.57
5.6.140.0110.04017.49
5.6.130.0070.03017.59
5.6.120.0130.03017.53
5.6.110.0020.04217.59
5.6.100.0070.03317.48
5.6.90.0070.03017.66
5.6.80.0100.02917.22
5.6.70.0060.03217.26
5.6.60.0070.03017.20
5.6.50.0130.02517.24
5.6.40.0050.03417.12
5.6.30.0020.03417.09
5.6.20.0100.02617.27
5.6.10.0100.02717.30
5.6.00.0120.02517.20

preferences:
28.75 ms | 403 KiB | 5 Q