3v4l.org

run code in 300+ PHP versions simultaneously
<?php //строка $str = '12.07.1980 12.07 18.06.2000 18.06'; //подстрока $sub = '12.07'; var_dump(mb_strpos($str, $sub));

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.70.0040.01118.18
8.3.60.0180.00418.43
8.3.50.0110.01116.38
8.3.40.0040.01518.54
8.3.30.0140.00718.58
8.3.20.0090.00922.27
8.3.10.0000.01821.81
8.3.00.0130.00619.13
8.2.180.0140.00718.29
8.2.170.0070.00722.96
8.2.160.0100.00320.40
8.2.150.0090.00924.18
8.2.140.0090.00924.66
8.2.130.0110.00720.94
8.2.120.0090.00626.35
8.2.110.0100.00020.94
8.2.100.0080.00418.12
8.2.90.0060.00319.17
8.2.80.0060.00317.97
8.2.70.0040.00517.50
8.2.60.0090.00017.80
8.2.50.0000.00818.10
8.2.40.0000.00720.59
8.2.30.0030.00620.84
8.2.20.0000.00817.95
8.2.10.0040.00417.90
8.2.00.0000.00717.97
8.1.280.0070.01525.92
8.1.270.0090.00922.04
8.1.260.0140.00426.35
8.1.250.0110.00728.09
8.1.240.0030.00623.96
8.1.230.0030.00719.13
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0040.00417.23
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0060.00318.50
8.1.160.0000.00719.04
8.1.150.0030.00520.62
8.1.140.0050.00319.41
8.1.130.0000.00718.83
8.1.120.0040.00417.43
8.1.110.0030.00517.42
8.1.100.0070.00017.40
8.1.90.0050.00217.45
8.1.80.0040.00417.39
8.1.70.0030.00517.28
8.1.60.0030.00617.54
8.1.50.0040.00417.50
8.1.40.0000.00717.49
8.1.30.0000.00717.51
8.1.20.0050.00317.54
8.1.10.0040.00417.52
8.1.00.0000.00817.50
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0030.00317.15
8.0.260.0000.00716.77
8.0.250.0030.00316.86
8.0.240.0040.00416.89
8.0.230.0050.00516.82
8.0.220.0000.00716.85
8.0.210.0030.00316.94
8.0.200.0060.00016.93
8.0.190.0030.00616.83
8.0.180.0030.00616.92
8.0.170.0040.00416.82
8.0.160.0110.00016.94
8.0.150.0000.00716.88
8.0.140.0030.00316.84
8.0.130.0060.00013.29
8.0.120.0030.00616.88
8.0.110.0070.00016.81
8.0.100.0070.00016.71
8.0.90.0000.00716.94
8.0.80.0110.00616.93
8.0.70.0040.00416.80
8.0.60.0040.00416.88
8.0.50.0040.00416.86
8.0.30.0080.00917.03
8.0.20.0130.00817.40
8.0.10.0000.00716.93
8.0.00.0100.00716.51
7.4.330.0050.00015.55
7.4.320.0030.00316.41
7.4.300.0030.00316.45
7.4.290.0040.00716.52
7.4.280.0000.00716.55
7.4.270.0030.00316.43
7.4.260.0030.00516.32
7.4.250.0030.00516.48
7.4.240.0070.00016.53
7.4.230.0000.00716.34
7.4.220.0060.01416.32
7.4.210.0060.01216.53
7.4.200.0030.00316.40
7.4.160.0050.00916.48
7.4.150.0110.00817.40
7.4.140.0100.00717.86
7.4.130.0160.00616.51
7.4.120.0110.00616.39
7.3.330.0000.00513.12
7.3.320.0060.00012.88
7.3.310.0070.00016.00
7.3.300.0000.00615.96
7.3.290.0060.01216.15
7.3.280.0070.00816.14
7.3.270.0170.00717.40
7.3.260.0100.00716.26
7.3.250.0170.00516.33
7.3.240.0090.01016.46

preferences:
48.32 ms | 401 KiB | 5 Q