3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dynamic_list = "AA, AB, BA"; $static_list = "MC,JL,EO"; $search = "JL"; if (strpos($dynamic_list . ',' . $static_list, $search) !== false) { echo 'found'; } else { echo 'not found'; }

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.43
8.3.50.0120.00321.88
8.3.40.0110.00718.85
8.3.30.0110.00418.68
8.3.20.0040.00421.60
8.3.10.0000.00820.31
8.3.00.0040.00423.74
8.2.180.0150.00316.38
8.2.170.0140.00022.96
8.2.160.0150.00620.81
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.94
8.2.110.0060.00320.94
8.2.100.0040.00718.21
8.2.90.0040.00418.34
8.2.80.0000.00817.97
8.2.70.0040.00417.93
8.2.60.0000.01018.03
8.2.50.0060.00318.10
8.2.40.0050.00719.26
8.2.30.0030.00519.23
8.2.20.0040.00317.93
8.2.10.0050.00219.12
8.2.00.0060.00319.14
8.1.280.0100.00725.92
8.1.270.0050.00321.94
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0000.00921.95
8.1.230.0070.00422.69
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.13
8.1.190.0000.00817.13
8.1.180.0030.00518.10
8.1.170.0040.00418.29
8.1.160.0000.00718.84
8.1.150.0000.00718.75
8.1.140.0000.00718.92
8.1.130.0040.00420.05
8.1.120.0000.00717.51
8.1.110.0000.00817.43
8.1.100.0000.00717.43
8.1.90.0080.00017.39
8.1.80.0040.00417.41
8.1.70.0030.00517.41
8.1.60.0030.00517.54
8.1.50.0000.00817.50
8.1.40.0000.00917.48
8.1.30.0000.00717.68
8.1.20.0030.00617.53
8.1.10.0000.00817.48
8.1.00.0030.00517.43
8.0.300.0000.00819.65
8.0.290.0000.00816.63
8.0.280.0070.00018.44
8.0.270.0000.00816.73
8.0.260.0040.00420.18
8.0.250.0030.00316.97
8.0.240.0050.00316.95
8.0.230.0030.00516.80
8.0.220.0000.00716.88
8.0.210.0080.00016.92
8.0.200.0000.00617.00
8.0.190.0070.00016.84
8.0.180.0040.00416.89
8.0.170.0000.00816.88
8.0.160.0080.00016.83
8.0.150.0000.00716.83
8.0.140.0080.00016.85
8.0.130.0030.00313.31
8.0.120.0000.00716.80
8.0.110.0000.00716.89
8.0.100.0060.00316.91
8.0.90.0000.00816.71
8.0.80.0060.00916.82
8.0.70.0080.00016.91
8.0.60.0000.00716.87
8.0.50.0030.00516.68
8.0.30.0090.01216.81
8.0.20.0120.00816.80
8.0.10.0050.00316.84
8.0.00.0090.00816.68
7.4.330.0020.00215.55
7.4.320.0060.00016.53
7.4.300.0000.00716.52
7.4.290.0080.00016.59
7.4.280.0000.01116.59
7.4.270.0070.00016.50
7.4.260.0000.00816.47
7.4.250.0070.00016.52
7.4.240.0070.00016.61
7.4.230.0040.00416.66
7.4.220.0030.00316.30
7.4.210.0050.00916.48
7.4.200.0030.00316.33
7.4.130.0130.01016.53
7.4.120.0100.00716.48
7.4.110.0150.00316.31
7.4.100.0090.00816.62
7.4.90.0060.01116.43
7.4.80.0100.00719.39
7.4.70.0030.01616.63
7.4.60.0080.00816.53
7.4.50.0090.00016.27
7.4.40.0030.01216.48
7.4.00.0070.01015.05
7.3.330.0050.00013.16
7.3.320.0000.00513.14
7.3.310.0000.00716.10
7.3.300.0070.00016.25
7.3.290.0070.00016.07
7.3.280.0060.00816.01
7.3.260.0090.00916.40
7.3.240.0080.00916.29
7.3.230.0060.01216.16
7.3.210.0090.00616.28
7.3.200.0130.00316.14
7.3.190.0100.01316.46
7.3.180.0000.00016.48
7.3.170.0130.00316.21
7.3.160.0070.01116.43
7.3.60.0070.00314.59
7.3.50.0000.01114.93
7.3.40.0060.00614.60
7.3.30.0110.00014.67
7.3.20.0120.01214.87
7.3.10.0150.00914.70
7.3.00.0220.00314.71
7.2.330.0120.00916.66
7.2.320.0140.00516.34
7.2.310.0130.00316.75
7.2.300.0120.01316.49
7.2.290.0070.01316.78
7.2.190.0030.00914.91
7.2.180.0160.00514.89
7.2.170.0140.00814.87
7.2.160.0070.00414.95
7.2.150.0030.01215.23
7.2.140.0240.00415.11
7.2.130.0180.00914.99
7.2.120.0150.00414.91
7.2.110.0160.00314.91
7.2.100.0120.00815.17
7.2.90.0080.00815.00
7.2.80.0140.00314.66
7.2.70.0080.00815.05
7.2.60.0080.00815.10
7.2.50.0100.00514.96
7.2.40.0140.00015.06
7.2.30.0070.01014.87
7.2.20.0200.00614.89
7.2.10.0100.01714.88
7.2.00.0080.00815.09
7.1.300.0200.00613.99
7.1.290.0130.00613.86
7.1.280.0100.00613.96
7.1.270.0160.00613.71
7.1.260.0100.00713.99
7.1.250.0040.01113.94

preferences:
78.75 ms | 401 KiB | 5 Q