3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_substr("Diagnóstico: Infección del muñón, infracondilea izquierda\n", 0, 34, "UTF-8")); var_dump(mb_substr("Diagnóstico: Infección del muñón, infracondilea izquierda\n", 0, 34, "UTF-8"));

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.0160.00318.06
8.3.50.0060.00919.96
8.3.40.0070.00718.35
8.3.30.0000.01518.48
8.3.20.0080.00024.18
8.3.10.0000.00724.66
8.3.00.0050.00326.16
8.2.180.0110.00425.92
8.2.170.0140.00718.71
8.2.160.0100.00322.96
8.2.150.0050.00225.66
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0050.00520.35
8.2.100.0070.00417.59
8.2.90.0050.00317.72
8.2.80.0050.00318.61
8.2.70.0060.00317.63
8.2.60.0050.00317.91
8.2.50.0040.00418.07
8.2.40.0080.00019.75
8.2.30.0020.00517.54
8.2.20.0040.00420.50
8.2.10.0040.00417.44
8.2.00.0030.00619.02
8.1.280.0120.00325.92
8.1.270.0030.00723.99
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0030.00620.89
8.1.230.0040.00717.77
8.1.220.0050.00217.74
8.1.210.0000.00818.77
8.1.200.0040.00417.10
8.1.190.0000.00817.00
8.1.180.0040.00418.76
8.1.170.0030.00518.59
8.1.160.0070.00018.98
8.1.150.0020.00518.50
8.1.140.0000.00817.36
8.1.130.0030.00617.43
8.1.120.0070.00017.34
8.1.110.0000.00717.30
8.1.100.0030.00317.31
8.1.90.0000.00717.21
8.1.80.0030.00517.33
8.1.70.0030.00517.32
8.1.60.0040.00417.34
8.1.50.0040.00417.38
8.1.40.0060.00317.35
8.1.30.0060.00317.50
8.1.20.0000.00717.63
8.1.10.0040.00417.42
8.1.00.0000.00817.42
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.34
8.0.270.0040.00416.72
8.0.260.0030.00316.71
8.0.250.0000.00716.88
8.0.240.0030.00316.78
8.0.230.0070.00016.87
8.0.220.0030.00316.70
8.0.210.0040.00416.82
8.0.200.0030.00316.85
8.0.190.0050.00316.92
8.0.180.0000.00716.73
8.0.170.0050.00316.75
8.0.160.0000.00716.74
8.0.150.0060.00316.62
8.0.140.0030.00316.77
8.0.130.0070.00716.65
8.0.120.0090.00916.82
8.0.110.0100.00716.74
8.0.100.0080.00316.70
8.0.90.0100.00416.78
8.0.80.0080.00616.86
8.0.70.0180.00316.75
8.0.60.0150.00616.79
8.0.50.0180.00316.75
8.0.30.0180.00316.83
8.0.20.0190.00416.83
8.0.10.0210.00016.80
8.0.00.0060.00616.92
7.4.330.0040.00315.55
7.4.320.0030.00316.47
7.4.300.0000.00616.35
7.4.290.0070.00016.30
7.4.280.0080.00016.49
7.4.270.0030.00416.38
7.4.260.0030.01016.29
7.4.250.0270.00416.38
7.4.240.0220.00316.37
7.4.230.0200.00716.34
7.4.220.0140.00916.48
7.4.210.0150.00516.34
7.4.200.0150.00616.31
7.4.190.0190.00316.48
7.4.180.0180.00316.49
7.4.160.0150.00416.32
7.4.150.0190.00216.30
7.4.140.0100.01016.22
7.4.130.0180.00416.32
7.4.120.0180.00416.32
7.4.110.0140.00716.25
7.4.100.0150.00516.29
7.4.90.0140.00716.29
7.4.80.0190.00216.34
7.4.70.0110.00516.20
7.4.60.0180.00016.25
7.4.50.0060.01316.35
7.4.40.0170.00416.11
7.4.30.0160.00316.18
7.4.20.0150.00616.29
7.4.10.0180.00316.30
7.4.00.0100.01216.34
7.3.330.0150.00716.21
7.3.320.0140.00716.16
7.3.310.0190.00016.12
7.3.300.0060.00816.25
7.3.290.0190.00016.13
7.3.280.0140.00716.12
7.3.270.0180.00716.21
7.3.260.0110.01115.97
7.3.250.0250.00016.12
7.3.240.0180.00516.09
7.3.230.0200.00016.12
7.3.220.0190.00215.79
7.3.210.0170.00516.14
7.3.200.0110.01116.13
7.3.190.0230.00016.15
7.3.180.0190.00015.88
7.3.170.0110.00016.15
7.3.160.0150.00516.18
7.3.150.0180.00316.13
7.3.140.0130.00316.13
7.3.130.0030.01016.04
7.3.120.0100.00416.14
7.3.110.0050.00615.98
7.3.100.0000.01415.83
7.3.90.0150.00216.15
7.3.80.0150.00315.89
7.3.70.0080.00416.15
7.3.60.0200.00316.07
7.3.50.0170.01016.19
7.3.40.0190.00816.24
7.3.30.0260.00016.29
7.3.20.0180.00618.06
7.3.10.0190.00317.92
7.3.00.0180.00617.82

preferences:
68.69 ms | 401 KiB | 5 Q