3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputString = 'fool'; $containsValue = 'foo'; var_dump(false !== mb_stripos($inputString, $containsValue, 0, mb_detect_encoding($inputString)));

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.130.0070.00018.40
8.3.120.0060.00320.64
8.3.110.0080.00020.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0070.00317.97
8.3.70.0120.00918.31
8.3.60.0160.00018.30
8.3.50.0100.00417.21
8.3.40.0090.00918.59
8.3.30.0140.00018.59
8.3.20.0050.00218.85
8.3.10.0050.00319.07
8.3.00.0080.00019.56
8.2.250.0030.01216.63
8.2.240.0070.00718.75
8.2.230.0100.00722.58
8.2.220.0100.00737.54
8.2.210.0000.00826.77
8.2.200.0060.00316.38
8.2.190.0090.01216.63
8.2.180.0120.00618.54
8.2.170.0070.00722.96
8.2.160.0140.00018.91
8.2.150.0170.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00019.83
8.2.120.0000.00726.35
8.2.110.0060.00322.11
8.2.100.0100.00317.72
8.2.90.0060.00317.75
8.2.80.0060.00318.69
8.2.70.0000.00818.05
8.2.60.0030.00517.93
8.2.50.0000.00918.10
8.2.40.0040.00419.43
8.2.30.0000.00719.23
8.2.20.0040.00418.20
8.2.10.0020.00517.98
8.2.00.0030.00319.41
8.1.300.0060.00918.44
8.1.290.0080.00030.84
8.1.280.0090.00925.92
8.1.270.0030.00523.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0040.00422.42
8.1.230.0150.00018.95
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0050.00317.23
8.1.190.0000.00917.22
8.1.180.0000.00818.10
8.1.170.0040.00718.54
8.1.160.0000.00718.87
8.1.150.0040.00418.88
8.1.140.0000.00717.66
8.1.130.0000.00719.10
8.1.120.0000.00817.34
8.1.110.0040.00417.34
8.1.100.0050.00317.40
8.1.90.0070.00017.32
8.1.80.0070.00217.44
8.1.70.0050.00317.46
8.1.60.0040.00417.49
8.1.50.0040.00417.41
8.1.40.0000.00717.44
8.1.30.0040.00417.62
8.1.20.0040.00417.55
8.1.10.0080.00017.51
8.1.00.0000.01217.44
8.0.300.0070.00019.77
8.0.290.0000.00716.75
8.0.280.0070.00018.53
8.0.270.0000.00717.29
8.0.260.0030.00319.05
8.0.250.0070.00016.96
8.0.240.0000.00816.92
8.0.230.0050.00316.88
8.0.220.0030.00616.76
8.0.210.0000.00716.91
8.0.200.0020.00516.91
8.0.190.0000.00716.98
8.0.180.0000.00816.93
8.0.170.0080.00016.88
8.0.160.0040.00416.84
8.0.150.0080.00016.85
8.0.140.0040.00416.83
8.0.130.0000.00713.23
8.0.120.0050.00316.77
8.0.110.0100.00016.82
8.0.100.0040.00416.70
8.0.90.0040.00416.77
8.0.80.0050.01316.87
8.0.70.0000.00716.80
8.0.60.0080.00016.93
8.0.50.0000.00816.75
8.0.30.0130.00516.98
8.0.20.0060.01417.40
8.0.10.0040.00416.96
8.0.00.0110.00716.56
7.4.330.0050.00015.55
7.4.320.0060.00016.45
7.4.300.0000.00616.65
7.4.290.0000.00716.57
7.4.280.0000.00816.52
7.4.270.0000.00716.57
7.4.260.0070.00016.43
7.4.250.0030.00516.43
7.4.240.0070.00016.71
7.4.230.0070.00016.67
7.4.220.0070.00016.75
7.4.210.0070.00716.59
7.4.200.0000.00716.39
7.4.160.0110.00916.53
7.4.140.0110.00917.86
7.4.130.0060.01516.43
7.4.120.0100.00916.53
7.4.110.0090.00916.36
7.4.100.0090.00616.39
7.4.90.0070.01016.42
7.4.80.0100.00619.39
7.4.70.0100.00516.56
7.4.60.0090.01216.36
7.4.50.0080.00816.38
7.4.40.0070.01016.45
7.4.00.0130.00314.68
7.3.330.0030.00313.21
7.3.320.0000.00513.05
7.3.310.0030.00316.32
7.3.300.0000.00716.27
7.3.290.0070.00016.28
7.3.280.0070.00816.28
7.3.260.0110.00516.46
7.3.240.0080.00816.33
7.3.230.0110.01116.25
7.3.210.0150.00416.20
7.3.200.0080.00816.44
7.3.190.0130.00416.50
7.3.180.0120.00616.25
7.3.170.0130.00916.48
7.3.160.0040.01216.30
7.3.10.0070.00716.55
7.3.00.0090.00516.50
7.2.330.0140.00416.54
7.2.320.0170.01616.54
7.2.310.0030.01416.61
7.2.300.0090.00916.49
7.2.290.0070.01416.80
7.2.130.0110.00516.59
7.2.120.0090.00616.52
7.2.110.0090.00516.41
7.2.100.0050.01016.58
7.2.90.0110.00516.73
7.2.80.0080.00716.76
7.2.70.0070.01116.63
7.2.60.1580.01015.75
7.2.50.1030.01116.11
7.2.40.0110.00916.31
7.2.30.1070.00716.29
7.2.20.1960.00916.16
7.2.10.1740.00816.42
7.2.00.1310.00716.31
7.1.250.0200.00315.51
7.1.200.0100.00615.82
7.1.170.1110.00713.99
7.1.160.0130.01416.95
7.1.150.0190.01116.70
7.1.140.6350.01217.02
7.1.130.5000.01416.79
7.1.120.4760.01316.84
7.1.110.4940.01216.39
7.1.100.4570.01016.32
7.1.90.2690.01116.03
7.1.80.2760.00816.28
7.1.70.0140.01015.04
7.1.60.0430.01232.99
7.1.50.3360.01732.66
7.1.40.0390.01832.63
7.1.30.0350.01732.59
7.1.20.0400.01432.96
7.1.10.0230.01414.68
7.1.00.0170.01214.81

preferences:
27.83 ms | 403 KiB | 5 Q