3v4l.org

run code in 300+ PHP versions simultaneously
<?php $item = ( Array ( Array( 'group_roles_name' => 'CREATOR' ) ) ); $value = "CREATOR"; if(is_array($item) && !array_search($value,$item)){ // not equal, break de loop $itemFound = false; echo "not found"; } else if(is_array($item) && array_search($value,$item)){ echo "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.40.0060.01018.48
8.3.30.0030.01018.95
8.3.20.0000.00720.29
8.3.10.0040.00421.73
8.3.00.0040.00419.13
8.2.170.0150.00422.96
8.2.160.0060.01320.39
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0000.00726.16
8.2.120.0040.00419.36
8.2.110.0000.01019.16
8.2.100.0090.00317.50
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00318.04
8.2.50.0040.00418.07
8.2.40.0080.00020.01
8.2.30.0040.00418.06
8.2.20.0040.00417.56
8.2.10.0050.00317.97
8.2.00.0070.00017.68
8.1.270.0080.00020.61
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00022.19
8.1.230.0070.00317.65
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0030.00517.23
8.1.180.0000.00918.10
8.1.170.0050.00318.71
8.1.160.0050.00221.88
8.1.150.0050.00318.93
8.1.140.0000.00717.45
8.1.130.0070.00017.77
8.1.120.0030.00717.49
8.1.110.0000.00717.47
8.1.100.0000.00717.36
8.1.90.0000.00717.35
8.1.80.0000.00717.38
8.1.70.0000.00717.47
8.1.60.0080.00017.60
8.1.50.0040.00417.43
8.1.40.0000.00717.42
8.1.30.0090.00017.58
8.1.20.0080.00017.57
8.1.10.0070.00017.29
8.1.00.0030.00617.45
8.0.300.0050.00318.77
8.0.290.0060.00316.75
8.0.280.0030.00318.36
8.0.270.0070.00017.16
8.0.260.0030.00617.25
8.0.250.0060.00016.94
8.0.240.0030.00316.84
8.0.230.0000.00816.92
8.0.220.0030.00316.87
8.0.210.0040.00416.93
8.0.200.0030.00316.97
8.0.190.0030.00616.97
8.0.180.0000.00716.88
8.0.170.0040.00416.85
8.0.160.0040.00416.83
8.0.150.0000.00716.84
8.0.140.0020.00516.84
8.0.130.0050.00013.36
8.0.120.0040.00416.75
8.0.110.0000.00716.93
8.0.100.0000.00716.76
8.0.90.0040.00416.78
8.0.80.0030.01216.88
8.0.70.0000.00816.78
8.0.60.0040.00416.71
8.0.50.0040.00416.84
8.0.30.0090.01317.09
8.0.20.0090.01017.40
8.0.10.0080.00017.00
8.0.00.0090.01016.83
7.4.330.0050.00015.15
7.4.320.0030.00316.57
7.4.300.0030.00316.50
7.4.290.0070.00016.58
7.4.280.0000.00816.52
7.4.270.0070.00016.52
7.4.260.0000.00716.56
7.4.250.0080.00016.61
7.4.240.0050.00216.55
7.4.230.0030.00316.70
7.4.220.0110.00716.51
7.4.210.0070.00716.57
7.4.200.0050.00316.57
7.4.160.0070.00716.66
7.4.150.0070.01117.40
7.4.140.0080.01417.86
7.4.130.0120.00616.39
7.4.120.0070.01216.45
7.4.110.0100.00716.41
7.4.100.0030.01416.46
7.4.90.0070.01016.31
7.4.80.0160.00719.39
7.4.70.0070.01016.59
7.4.60.0100.00716.48
7.4.50.0000.00816.46
7.4.40.0090.00616.69
7.4.30.0080.00816.67
7.4.00.0030.01314.86
7.3.330.0000.00612.89
7.3.320.0080.00412.96
7.3.310.0040.00416.07
7.3.300.0030.00315.98
7.3.290.0000.00616.15
7.3.280.0110.00616.14
7.3.270.0060.01217.40
7.3.260.0090.00916.53
7.3.250.0090.01016.32
7.3.240.0080.00816.29
7.3.230.0070.01016.39
7.3.210.0060.01116.46
7.3.200.0100.00619.39
7.3.190.0120.00916.23
7.3.180.0060.01016.17
7.3.170.0060.01316.27
7.3.160.0110.00516.10
7.3.00.0030.01016.49
7.2.330.0100.00916.45
7.2.320.0120.00616.63
7.2.310.0030.01616.50
7.2.300.0100.00716.54
7.2.290.0070.01016.69
7.2.130.0000.01216.75
7.2.120.0040.00816.51
7.2.110.0110.00416.80
7.2.100.0060.00916.91
7.2.90.0150.00016.61
7.2.80.0030.01416.78
7.2.70.0130.00916.42
7.2.60.0050.00816.46
7.2.50.0080.00316.79
7.2.40.0070.00416.84
7.2.30.0100.00616.71
7.2.20.0140.00316.84
7.2.10.0070.01017.01
7.2.00.0090.00317.96
7.1.250.0060.00315.72
7.1.240.0060.00315.61
7.1.230.0140.00415.83
7.1.220.0030.00915.85
7.1.210.0030.00915.75
7.1.200.0040.00715.81
7.1.190.0150.00415.75
7.1.180.0030.01015.60
7.1.170.0140.00015.73
7.1.160.0120.00615.68
7.1.150.0040.00815.68
7.1.140.0060.00615.61
7.1.130.0070.00715.67
7.1.120.0120.00615.79
7.1.110.0070.00715.62
7.1.100.0050.00816.98
7.1.90.0030.00915.73
7.1.80.0070.00715.79
7.1.70.0030.00916.53
7.1.60.0060.01217.65
7.1.50.0050.01316.35
7.1.40.0070.00715.57
7.1.30.0030.00515.68
7.1.20.0100.00315.45
7.1.10.0060.00315.49
7.1.00.0080.04019.10
7.0.330.0080.00415.52
7.0.320.0040.00415.27
7.0.310.0040.01115.27
7.0.300.0020.01115.04
7.0.290.0040.00715.44
7.0.280.0060.00915.03
7.0.270.0030.00615.09
7.0.260.0070.00715.36
7.0.250.0040.00415.08
7.0.240.0060.00615.40
7.0.230.0080.00815.07
7.0.220.0090.00615.37
7.0.210.0030.00715.24
7.0.200.0130.00614.89
7.0.190.0150.00315.04
7.0.180.0070.00715.24
7.0.170.0090.00615.29
7.0.160.0070.00315.18
7.0.150.0080.00315.12
7.0.140.0080.03518.66
7.0.130.0080.00415.27
7.0.120.0050.00315.43
7.0.110.0160.00314.97
7.0.100.0060.00615.38
7.0.90.0090.00315.27
7.0.80.0110.00415.18
7.0.70.0060.00315.35
7.0.60.0040.02617.66
7.0.50.0050.02016.52
7.0.40.0060.02816.79
7.0.30.0280.04216.72
7.0.20.0220.03316.84
7.0.10.0320.03816.79
7.0.00.0080.03716.63
5.6.380.0030.00814.14
5.6.370.0000.00913.96
5.6.360.0160.00313.85
5.6.350.0100.00314.06
5.6.340.0040.00713.55
5.6.330.0060.00614.27
5.6.320.0070.00414.07
5.6.310.0160.00614.04
5.6.300.0070.00713.95
5.6.290.0080.00413.92
5.6.280.0080.03617.43
5.6.270.0000.01114.07
5.6.260.0100.00714.26
5.6.250.0030.00614.23
5.6.240.0060.00314.22
5.6.230.0070.00314.00
5.6.220.0060.01013.87
5.6.210.0100.02317.28
5.6.200.0140.02616.08
5.6.190.0070.03217.33
5.6.180.0120.02317.18
5.6.170.0200.03517.26
5.6.160.0150.04217.34
5.6.150.0030.02516.07
5.6.140.0070.02316.22
5.6.130.0100.04516.17
5.6.120.0080.04517.82
5.6.110.0070.02317.50
5.6.100.0080.03317.49
5.6.90.0020.02517.49
5.6.80.0040.03917.26
5.6.70.0170.03517.27
5.6.60.0030.01113.75
5.6.50.0120.00914.26
5.6.40.0060.00613.98
5.6.30.0160.00414.00
5.6.20.0060.00614.02
5.6.10.0030.00613.84
5.6.00.0150.00414.01
5.5.380.0060.00310.49
5.5.370.0000.00810.64
5.5.360.0040.00410.44
5.5.350.0120.03515.36
5.5.340.0070.02214.48
5.5.330.0120.03715.77
5.5.320.0120.04515.76
5.5.310.0230.02815.70
5.5.300.0050.03914.40
5.5.290.0140.03814.37
5.5.280.0040.03215.96
5.5.270.0110.04415.79
5.5.260.0060.02315.70
5.5.250.0160.03615.68
5.5.240.0090.03915.42
5.5.230.0040.00710.92
5.5.220.0020.00710.48
5.5.210.0030.00910.79
5.5.200.0060.00610.67
5.5.190.0150.00410.39
5.5.180.0150.00810.55
5.5.170.0200.00010.71
5.5.160.0100.00510.31
5.5.150.0090.00310.34
5.5.140.0050.00510.92
5.5.130.0200.00310.87
5.5.120.0100.00310.82
5.5.110.0200.00310.80
5.5.100.0040.00810.38
5.5.90.0030.00811.07
5.5.80.0100.00610.98
5.5.70.0130.00310.80
5.5.60.0290.00411.02
5.5.50.0120.00310.96
5.5.40.0110.00611.07
5.5.30.0070.00710.95
5.5.20.0100.00311.07
5.5.10.0060.00610.92
5.5.00.0060.00910.63
5.4.450.0130.04715.12
5.4.440.0450.03015.16
5.4.430.0140.03515.15
5.4.420.0380.03215.30
5.4.410.0420.02714.95
5.4.400.0190.02814.61
5.4.390.0120.03414.62
5.4.380.0190.02814.52
5.4.370.0240.02714.61
5.4.360.0180.02814.51
5.4.350.0110.03414.52
5.4.340.0230.02714.67
5.4.330.0090.00010.52
5.4.320.0170.03114.72
5.4.310.0240.02414.54
5.4.300.0140.03314.49
5.4.290.0210.02814.55
5.4.280.0240.04114.41
5.4.270.0210.04314.55
5.4.260.0170.03214.68
5.4.250.0190.03114.67
5.4.240.0140.03714.58
5.4.230.0210.03014.62
5.4.220.0230.02814.62
5.4.210.0180.02814.48
5.4.200.0110.03313.51
5.4.190.0220.03314.45
5.4.180.0340.03014.52
5.4.170.0180.03314.56
5.4.160.0190.02714.48
5.4.150.0220.03214.64
5.4.140.0210.02813.32
5.4.130.0150.03013.43
5.4.120.0240.02713.28
5.4.110.0190.02713.20
5.4.100.0170.03013.34
5.4.90.0190.02813.42
5.4.80.0150.03113.41
5.4.70.0170.02713.31
5.4.60.0180.02713.19
5.4.50.0260.02613.38
5.4.40.0230.02713.33
5.4.30.0120.02913.19
5.4.20.0150.03013.11
5.4.10.0190.02413.26
5.4.00.0190.02612.94
5.3.290.0200.02812.56
5.3.280.0170.03212.46
5.3.270.0200.02612.47
5.3.260.0230.03012.56
5.3.250.0120.03912.59
5.3.240.0160.03312.38
5.3.230.0130.03712.49
5.3.220.0160.03012.43
5.3.210.0140.03212.43
5.3.200.0120.03312.43
5.3.190.0150.03012.43
5.3.180.0240.02512.59
5.3.170.0230.02612.55
5.3.160.0300.03212.54
5.3.150.0180.03012.58
5.3.140.0240.02312.51
5.3.130.0240.03312.52
5.3.120.0240.03312.52
5.3.110.0190.03212.47
5.3.100.0260.03712.12
5.3.90.0190.03212.24
5.3.80.0260.02412.18
5.3.70.0200.02912.21
5.3.60.0210.03012.23
5.3.50.0180.04012.13
5.3.40.0140.03012.07
5.3.30.0180.02512.15
5.3.20.0180.02512.01
5.3.10.0170.02611.90
5.3.00.0150.03011.91
5.2.170.0180.02010.33
5.2.160.0150.02710.37
5.2.150.0120.02610.38
5.2.140.0120.02210.11
5.2.130.0210.02310.29
5.2.120.0130.02510.17
5.2.110.0140.02610.29
5.2.100.0180.01810.21
5.2.90.0120.02310.13
5.2.80.0130.02410.08
5.2.70.0180.02810.19
5.2.60.0120.02610.14
5.2.50.0150.02410.06
5.2.40.0100.02510.11
5.2.30.0170.01810.15
5.2.20.0110.02310.04
5.2.10.0160.01710.07
5.2.00.0160.0189.93
5.1.60.0110.0209.34
5.1.50.0140.0159.36
5.1.40.0130.0189.34
5.1.30.0070.0269.44
5.1.20.0060.0259.48
5.1.10.0160.0209.42
5.1.00.0140.0239.21
5.0.50.0070.0178.42
5.0.40.0080.0138.43
5.0.30.0070.0278.40
5.0.20.0090.0128.40
5.0.10.0080.0158.40
5.0.00.0080.0258.40
4.4.90.0070.0128.40
4.4.80.0050.0148.40
4.4.70.0080.0138.40
4.4.60.0090.0088.40
4.4.50.0050.0138.40
4.4.40.0020.0238.40
4.4.30.0090.0088.40
4.4.20.0030.0158.40
4.4.10.0060.0138.40
4.4.00.0070.0178.40
4.3.110.0070.0128.40
4.3.100.0050.0178.40
4.3.90.0020.0188.40
4.3.80.0030.0218.40
4.3.70.0050.0128.40
4.3.60.0030.0148.40
4.3.50.0070.0118.40
4.3.40.0040.0198.40
4.3.30.0020.0138.40
4.3.20.0000.0208.40
4.3.10.0060.0128.40
4.3.00.0030.0157.56

preferences:
42.68 ms | 400 KiB | 5 Q