3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Santander Merchant Plataform Solutions S.A.'; return mb_substr( $string, 0, $length, mb_detect_encoding($string));

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.0090.00618.68
8.3.50.0110.00416.34
8.3.40.0040.01218.84
8.3.30.0090.00618.59
8.3.20.0060.00324.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.180.0140.00725.92
8.2.170.0190.00319.09
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00826.35
8.2.110.0060.00322.16
8.2.100.0030.00917.78
8.2.90.0000.00817.91
8.2.80.0030.00618.86
8.2.70.0050.00317.50
8.2.60.0040.00417.93
8.2.50.0090.00018.07
8.2.40.0060.00317.94
8.2.30.0000.00718.12
8.2.20.0000.00717.93
8.2.10.0000.00819.24
8.2.00.0040.00419.12
8.1.280.0150.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.91
8.1.230.0040.00817.70
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00417.23
8.1.190.0030.00617.36
8.1.180.0040.00418.10
8.1.170.0080.00018.40
8.1.160.0050.00218.79
8.1.150.0000.00718.89
8.1.140.0040.00418.80
8.1.130.0070.00020.19
8.1.120.0080.00017.46
8.1.110.0040.00417.40
8.1.100.0000.00817.34
8.1.90.0000.00717.33
8.1.80.0000.00917.41
8.1.70.0030.00317.44
8.1.60.0030.00617.48
8.1.50.0040.00417.40
8.1.40.0040.00417.43
8.1.30.0040.00417.51
8.1.20.0040.00417.65
8.1.10.0000.00817.43
8.1.00.0040.00417.43
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0000.00818.34
8.0.270.0030.00318.09
8.0.260.0030.00320.18
8.0.250.0000.00716.92
8.0.240.0040.00416.87
8.0.230.0030.00316.92
8.0.220.0030.00316.86
8.0.210.0050.00316.96
8.0.200.0000.00716.89
8.0.190.0000.00716.94
8.0.180.0040.00416.93
8.0.170.0090.00016.85
8.0.160.0050.00216.86
8.0.150.0030.00316.89
8.0.140.0070.00016.84
8.0.130.0030.00313.46
8.0.120.0040.00416.94
8.0.110.0000.00716.93
8.0.100.0000.00716.79
8.0.90.0000.00716.88
8.0.80.0110.00916.97
8.0.70.0040.00417.01
8.0.60.0040.00416.90
8.0.50.0040.00416.84
8.0.30.0090.00616.96
8.0.20.0050.01316.92
8.0.10.0070.00016.99
8.0.00.0060.01316.72
7.4.330.0000.00615.55
7.4.320.0000.00616.50
7.4.300.0000.00616.57
7.4.290.0000.00716.48
7.4.280.0000.00816.45
7.4.270.0000.00916.59
7.4.260.0000.00513.19
7.4.250.0020.00516.45
7.4.240.0030.00516.51
7.4.230.0000.00716.39
7.4.220.0020.00516.51
7.4.210.0060.01116.50
7.4.200.0000.00716.48
7.4.130.0120.00816.52
7.4.120.0070.01016.35
7.4.110.0030.01316.54
7.4.100.0060.01016.60
7.4.90.0100.00716.40
7.4.80.0090.00916.41
7.4.70.0090.00916.39
7.4.60.0030.01416.41
7.4.50.0090.00616.57
7.4.40.0120.00416.52
7.4.30.0030.01416.46
7.4.20.0040.01316.38
7.4.10.0130.00316.28
7.4.00.0070.01015.97
7.3.330.0060.00316.32
7.3.320.0030.00313.09
7.3.310.0000.00716.32
7.3.300.0000.00716.09
7.3.290.0100.00616.29
7.3.280.0060.00916.21
7.3.260.0140.01116.30
7.3.230.0070.01016.25
7.3.210.0100.00716.38
7.3.200.0130.00616.23
7.3.190.0060.01116.11
7.3.180.0090.00916.43
7.3.170.0100.01016.32
7.3.160.0040.01216.24
7.3.150.0120.00616.27
7.3.140.0080.01016.32
7.3.130.0080.00916.27
7.3.120.0130.00316.10
7.3.110.0070.01016.36
7.3.100.0110.00616.36
7.3.90.0140.01116.18
7.3.80.0080.00816.16
7.3.70.0160.00016.11
7.3.60.0070.01016.28
7.3.50.0060.01216.29
7.3.40.0140.00316.45
7.3.30.0070.01016.24
7.3.20.0100.00716.36
7.3.10.0120.00616.28
7.3.00.0160.00316.32
7.2.330.0200.00016.45
7.2.320.0100.01016.57
7.2.310.0090.00916.38
7.2.300.0070.01116.37
7.2.290.0100.01016.31
7.2.280.0070.01116.30
7.2.270.0070.01116.19
7.2.260.0060.01216.31
7.2.250.0120.00616.44
7.2.240.0110.00816.37
7.2.230.0150.00316.63
7.2.220.0140.00316.20
7.2.210.0090.00916.32
7.2.200.0000.01716.55
7.2.190.0030.01416.48
7.2.180.0070.01016.45
7.2.170.0030.01316.39
7.2.160.0070.01016.40
7.2.150.0100.00716.59
7.2.140.0070.01016.48
7.2.130.0130.00616.35
7.2.120.0110.00516.46
7.2.110.0140.00616.53
7.2.100.0030.01516.39
7.2.90.0070.01116.56
7.2.80.0110.00716.54
7.2.70.0030.01416.35
7.2.60.0160.00616.43
7.2.50.0060.01216.78
7.2.40.0090.00916.55
7.2.30.0110.00716.46
7.2.20.0120.00916.44
7.2.10.0060.01116.38
7.2.00.0140.00316.38

preferences:
56.88 ms | 400 KiB | 5 Q