3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = Array ( 221 => 'suspended-suspended-1', 691 => 'knee-ir-1', 812 => 'knee-ir-4' ); $row['id']=691; //for example if(isset($myarray[$row['id']]) && strpos($myarray[$row['id']],"ir") !==false){ echo "ir exists on the search index ".$row['id']; }

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.0060.00318.55
8.3.120.0080.00818.85
8.3.110.0090.00020.94
8.3.100.0040.00416.85
8.3.90.0040.00426.77
8.3.80.0100.00016.63
8.3.70.0090.00616.58
8.3.60.0030.01218.31
8.3.50.0120.00418.29
8.3.40.0090.00618.86
8.3.30.0060.00918.89
8.3.20.0040.00418.85
8.3.10.0070.00021.66
8.3.00.0000.00821.95
8.2.250.0050.00318.60
8.2.240.0040.00417.06
8.2.230.0090.00622.58
8.2.220.0060.00924.06
8.2.210.0070.00726.77
8.2.200.0060.00316.63
8.2.190.0110.00416.75
8.2.180.0100.00725.92
8.2.170.0100.01322.96
8.2.160.0030.01022.25
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0050.00221.00
8.2.120.0060.00326.35
8.2.110.0030.00621.18
8.2.100.0110.00017.91
8.2.90.0040.00419.36
8.2.80.0040.00417.97
8.2.70.0050.00317.93
8.2.60.0080.00018.03
8.2.50.0080.00018.10
8.2.40.0000.00821.03
8.2.30.0070.00020.50
8.2.20.0040.00418.13
8.2.10.0000.00818.26
8.2.00.0000.00817.99
8.1.300.0040.01420.10
8.1.290.0080.00030.84
8.1.280.0090.00625.92
8.1.270.0040.00422.07
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00020.93
8.1.230.0060.00617.70
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0050.00317.23
8.1.190.0030.00519.14
8.1.180.0020.00518.10
8.1.170.0040.00418.46
8.1.160.0070.00018.87
8.1.150.0000.00818.89
8.1.140.0080.00020.54
8.1.130.0040.00420.22
8.1.120.0080.00017.48
8.1.110.0080.00017.50
8.1.100.0060.00617.43
8.1.90.0040.00417.46
8.1.80.0040.00417.42
8.1.70.0060.00317.36
8.1.60.0000.00817.61
8.1.50.0040.00417.50
8.1.40.0040.00417.49
8.1.30.0000.00917.61
8.1.20.0000.00917.58
8.1.10.0040.00417.58
8.1.00.0040.00417.37
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0070.00018.50
8.0.270.0070.00017.16
8.0.260.0030.00318.45
8.0.250.0030.00616.86
8.0.240.0050.00517.00
8.0.230.0030.00316.94
8.0.220.0030.00616.83
8.0.210.0030.00316.88
8.0.200.0030.00316.84
8.0.190.0060.00316.99
8.0.180.0000.00816.81
8.0.170.0060.00316.89
8.0.160.0000.00716.83
8.0.150.0110.00016.75
8.0.140.0030.00316.68
8.0.130.0030.00313.33
8.0.120.0030.00516.86
8.0.110.0040.00416.76
8.0.100.0040.00416.80
8.0.90.0000.00816.84
8.0.80.0090.00816.85
8.0.70.0040.00416.76
8.0.60.0000.00716.75
8.0.50.0070.00016.95
8.0.30.0130.00517.15
8.0.20.0110.00717.40
8.0.10.0000.00717.08
8.0.00.0150.00316.67
7.4.330.0050.00015.55
7.4.320.0030.00316.53
7.4.300.0030.00316.63
7.4.290.0040.00416.42
7.4.280.0030.00416.44
7.4.270.0070.00016.51
7.4.260.0000.00716.52
7.4.250.0030.00316.46
7.4.240.0070.00016.48
7.4.230.0000.00716.69
7.4.220.0040.00416.67
7.4.210.0070.00916.57
7.4.200.0030.00316.54
7.4.160.0070.01016.45
7.4.140.0080.01017.86
7.4.130.0090.00916.43
7.4.120.0070.01016.51
7.4.110.0090.00616.39
7.4.100.0100.01016.52
7.4.90.0110.00616.45
7.4.80.0100.01319.39
7.4.70.0080.00816.58
7.4.60.0070.01016.61
7.4.50.0070.01016.53
7.4.40.0120.00616.41
7.4.00.0060.00315.12
7.3.330.0000.00613.24
7.3.320.0030.00313.21
7.3.310.0040.00416.29
7.3.300.0030.00316.17
7.3.290.0000.00716.27
7.3.280.0100.00916.27
7.3.260.0140.00816.56
7.3.240.0080.01116.58
7.3.230.0110.00616.30
7.3.210.0070.01416.25
7.3.200.0230.01116.56
7.3.190.0080.01116.36
7.3.180.0090.00916.58
7.3.170.0100.01016.60
7.3.160.0090.00616.35
7.2.330.0090.00916.84
7.2.320.0120.00616.79
7.2.310.0070.01016.36
7.2.300.0070.01116.57
7.2.290.0040.01716.91
7.2.100.0800.00914.71
7.2.90.0750.01014.71
7.2.80.0820.00814.74
7.2.70.0790.00614.89
7.2.60.0910.00515.12
7.2.50.0730.00514.89
7.2.40.0760.00615.22
7.2.30.0830.00615.04
7.2.20.0930.00215.04
7.2.10.0850.00215.13
7.2.00.0850.00614.75
7.1.220.0780.00513.86
7.1.210.0760.00713.71
7.1.200.0950.00813.78
7.1.190.0790.00513.81
7.1.180.0780.00613.85
7.1.170.0790.00613.79
7.1.160.1050.00513.78
7.1.150.1490.00513.68
7.1.140.0990.00813.80
7.1.130.0780.00513.66
7.1.120.0740.00313.83
7.1.110.1100.00513.92
7.1.100.0940.00513.98
7.1.90.1050.00513.92
7.1.80.0860.00813.66
7.1.70.0920.01013.63
7.1.60.1340.00831.78
7.1.50.1380.00831.55
7.1.40.1540.00731.55
7.1.30.1300.01031.66
7.1.20.1250.00831.67
7.1.10.1080.00313.76
7.1.00.0950.00613.71
5.6.380.0070.00614.22

preferences:
27.02 ms | 403 KiB | 5 Q