3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'https://testy-dlya-medsester.ru/nmo/2892-nastavnichestvo-kak-metod-adaptatsii-molodykh-spetsialistov-v-sestrinskoj-deelnosti/Question-2892-3ecd193a222eb56c35ec4cb7895ee08a'; $result = explode('/Question-', $str, 2)[0] ?? ''; echo ($result);

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.130.0120.00818.63
8.4.120.0110.01024.04
8.4.110.0120.00820.61
8.4.100.0120.00718.56
8.4.90.0110.00920.33
8.4.80.0060.00317.77
8.4.70.0120.00817.87
8.4.60.0130.00518.52
8.4.50.0120.00917.97
8.4.40.0200.00017.55
8.4.30.0080.01218.88
8.4.20.0070.01417.68
8.4.10.0080.00019.61
8.3.250.0110.00818.91
8.3.240.0050.00617.06
8.3.230.0040.00516.66
8.3.220.0040.00419.05
8.3.210.0150.00616.72
8.3.200.0050.00416.56
8.3.190.0110.00618.88
8.3.180.0050.00316.27
8.3.170.0140.00418.80
8.3.160.0100.00717.05
8.3.150.0110.00718.86
8.3.140.0060.01216.63
8.3.130.0090.00018.52
8.3.120.0060.00320.82
8.3.110.0150.00320.94
8.3.100.0030.01018.54
8.3.90.0090.00926.77
8.3.80.0060.00317.97
8.3.70.0060.00918.05
8.3.60.0160.00618.32
8.3.50.0060.01218.25
8.3.40.0000.01423.79
8.3.30.0100.00720.21
8.3.20.0040.00424.18
8.3.10.0110.00722.38
8.3.00.0150.00420.69
8.2.290.0100.00920.29
8.2.280.0100.00518.24
8.2.270.0070.00717.05
8.2.260.0160.00316.67
8.2.250.0140.00416.55
8.2.240.0000.00717.23
8.2.230.0050.00322.58
8.2.220.0000.00824.06
8.2.210.0130.00626.77
8.2.200.0040.00716.75
8.2.190.0040.01116.63
8.2.180.0030.01716.75
8.2.170.0120.00318.72
8.2.160.0080.00622.96
8.2.150.0050.00325.66
8.2.140.0070.01122.16
8.2.130.0070.00722.24
8.2.120.0100.01020.72
8.2.110.0060.00920.91
8.2.100.0150.00420.75
8.2.90.0170.00320.53
8.2.80.0110.00820.82
8.2.70.0090.00620.52
8.2.60.0100.01020.32
8.2.50.0140.00720.62
8.2.40.0080.00820.44
8.2.30.0090.00620.55
8.2.20.0110.00420.50
8.2.10.0070.00720.41
8.2.00.0030.01320.45
8.1.330.0090.00921.86
8.1.320.0080.01315.99
8.1.310.0110.00416.62
8.1.300.0060.00320.05
8.1.290.0000.00930.84
8.1.280.0100.00725.92
8.1.270.0140.00024.00
8.1.260.0120.00323.95
8.1.250.0110.00423.70
8.1.240.0110.00420.38
8.1.230.0080.00020.35
8.1.220.0040.00420.77
8.1.210.0050.00320.33
8.1.200.0050.00320.28
8.1.190.0000.01420.33
8.1.180.0120.00320.16
8.1.170.0150.00020.04
8.1.160.0070.00720.21
8.1.150.0070.01019.98
8.1.140.0070.00318.44
8.1.130.0110.00318.73
8.1.120.0030.00618.25
8.1.110.0040.00418.55
8.1.100.0080.00018.55
8.1.90.0040.00418.46
8.1.80.0040.00418.55
8.1.70.0070.00318.38
8.1.60.0040.00418.68
8.1.50.0000.00818.48
8.1.40.0040.00418.52
8.1.30.0000.00818.82
8.1.20.0040.00418.73
8.1.10.0080.00018.66
8.1.00.0080.00018.47

preferences:
33.77 ms | 403 KiB | 5 Q