/PHP-8.2/ext/date/tests/ |
H A D | timezones-list.phpt | 10 echo in_array( "Europe/Oslo", $a ) ? "found" : "notfound", "\n"; 11 echo in_array( "Europe/Oslo", $b ) ? "found" : "notfound", "\n"; 12 echo in_array( "Europe/Oslo", $c ) ? "found" : "notfound", "\n"; 13 echo in_array( "Europe/Oslo", $d ) ? "found" : "notfound", "\n\n"; 20 echo in_array( "UTC", $a ) ? "found" : "notfound", "\n"; 21 echo in_array( "UTC", $b ) ? "found" : "notfound", "\n"; 22 echo in_array( "UTC", $c ) ? "found" : "notfound", "\n"; 23 echo in_array( "UTC", $d ) ? "found" : "notfound", "\n\n"; 25 echo in_array( "US/Eastern", $a ) ? "found" : "notfound", "\n"; 26 echo in_array( "US/Eastern", $b ) ? "found" : "notfound", "\n"; [all …]
|
H A D | timezone_identifiers_list_basic1.phpt | 15 var_dump(in_array("Europe/London", $zones)); 16 var_dump(in_array("America/New_York", $zones)); 17 var_dump(in_array("UTC", $zones));
|
H A D | DateTimeZone_listIdentifiers_basic1.phpt | 15 var_dump(in_array("Europe/London", $zones)); 16 var_dump(in_array("America/New_York", $zones)); 17 var_dump(in_array("UTC", $zones));
|
H A D | DateTimeZone_getLocation.phpt | 18 …if (!in_array($timeZoneArray['country_code'], $countryCode) && NULL != $timeZoneArray['country_cod… 21 if(in_array($timeZoneArray['country_code'], $countryCodeTest)){
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | in_array_variation3.phpt | 5 /* Test in_array() with haystack as sub-array and object */ 7 /* checking for sub-arrays with in_array() */ 8 echo "*** Testing sub-arrays with in_array() ***\n"; 16 var_dump( in_array("four", $sub_array) ); 18 var_dump( in_array(3, $sub_array[1]) ); 19 var_dump( in_array(array('','i'), $sub_array) ); 21 /* checking for objects in in_array() */ 22 echo "\n*** Testing objects with in_array() ***\n"; 39 var_dump( in_array("foo", $in_array_obj) ); 49 *** Testing sub-arrays with in_array() *** [all …]
|
H A D | in_array_variation4.phpt | 8 echo "*** Testing resource type with in_array() ***\n"; 19 var_dump( in_array($file_handle, $resources, true) ); 26 var_dump( in_array("Good", array(0,"hello")) ); 28 var_dump( in_array("Good", array(0,"hello"), TRUE) ); 31 var_dump( in_array(0, array("this")) ); 33 var_dump( in_array(0, array("this")),TRUE ); 36 var_dump( in_array("this", array(0)) ); 38 var_dump( in_array("this", array(0), TRUE) ); 41 var_dump( in_array(FALSE, 49 var_dump( in_array('123abc', array(123)) ); [all …]
|
H A D | in_array_variation2.phpt | 2 Test in_array() function : usage variations - different haystack values 5 /* Test in_array() with different possible haystack values */ 7 echo "*** Testing in_array() with different haystack values ***\n"; 28 $array_type on elements in $misc_array using in_array(); 35 var_dump( in_array($type,$misc_array ) ); 37 var_dump( in_array($type,$misc_array,true) ); 39 var_dump( in_array($type,$misc_array,false) ); 46 *** Testing in_array() with different haystack values ***
|
H A D | in_array_with_ref.phpt | 2 in_array() with references 8 var_dump(in_array(42, $array, false)); 9 var_dump(in_array(42, $array, true));
|
H A D | array_search.phpt | 2 Test array_search()/in_array() 11 var_dump(in_array(123, $arr2)); 12 var_dump(in_array(123, $arr1)); 14 var_dump(in_array('a', $arr1));
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_list_encodings.phpt | 7 var_dump(in_array("7bit", mb_list_encodings())); 8 var_dump(in_array("8bit", mb_list_encodings())); 9 var_dump(in_array("ASCII", mb_list_encodings())); 10 var_dump(in_array("non-existent", mb_list_encodings()));
|
/PHP-8.2/ext/intl/tests/ |
H A D | uconverter_enum.phpt | 9 var_dump(in_array('UTF-7', $avail)); 10 var_dump(in_array('CESU-8', $avail)); 11 var_dump(in_array('ISO-8859-1', $avail)); 14 var_dump(in_array('ISO-8859-1', $latin1));
|
H A D | timezone_createTimeZoneIDEnumeration_variant1.phpt | 12 var_dump(in_array('Europe/Lisbon', $values)); 13 var_dump(in_array('Atlantic/Azores', $values));
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug62433.phpt | 8 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '.', $dots)); 9 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '..', $dots)); 11 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '.', $ndots)); 12 var_dump(in_array(__DIR__ . DIRECTORY_SEPARATOR . '..', $ndots));
|
/PHP-8.2/tests/basic/ |
H A D | bug31875.phpt | 14 var_dump(in_array($disabled_function, $functions['internal'])); 17 var_dump(in_array($disabled_function, $functions['internal'])); 20 var_dump(in_array($disabled_function, $functions['internal']));
|
/PHP-8.2/Zend/tests/ |
H A D | get_defined_functions_basic.phpt | 32 if (!in_array("cos", $internal) || !in_array("strlen", $internal)) { 42 if (count($user) == 2 && in_array("foo", $user) && in_array("helloworld", $user)) {
|
/PHP-8.2/ext/standard/tests/dir/ |
H A D | scandir_variation10.phpt | 31 var_dump(in_array('.', $files)); 32 var_dump(in_array('..', $files)); 33 var_dump(in_array('file1.tmp', $files)); 34 var_dump(in_array('file2.tmp', $files));
|
H A D | scandir_variation10-win32-mb.phpt | 37 var_dump(in_array('.', $files)); 38 var_dump(in_array('..', $files)); 39 var_dump(in_array('私はガラスを食べられますfile1.tmp', $files)); 40 var_dump(in_array('私はガラスを食べられますfile2.tmp', $files));
|
/PHP-8.2/ext/standard/tests/class_object/ |
H A D | get_declared_traits_basic_001.phpt | 20 var_dump(in_array('MyTrait', get_declared_traits())); 24 var_dump(in_array( 'I', get_declared_traits())); 28 var_dump(in_array( 'MyClass', get_declared_traits()));
|
H A D | get_declared_classes_variation1.phpt | 12 var_dump(in_array('AutoLoaded', get_declared_classes())); 16 var_dump(in_array('AutoLoaded', get_declared_classes()));
|
H A D | get_declared_interfaces_variation1.phpt | 12 var_dump(in_array('AutoInterface', get_declared_interfaces())); 17 var_dump(in_array('AutoInterface', get_declared_interfaces()));
|
H A D | get_declared_traits_variation1.phpt | 12 var_dump(in_array('AutoTrait', get_declared_traits())); 20 var_dump(in_array('AutoTrait', get_declared_traits()));
|
H A D | get_declared_classes_basic_001.phpt | 19 var_dump(in_array('C', get_declared_classes())); 23 var_dump(in_array( 'I', get_declared_classes()));
|
H A D | get_declared_interfaces_basic_001.phpt | 19 var_dump(in_array('C', get_declared_interfaces())); 23 var_dump(in_array('I', get_declared_interfaces()));
|
/PHP-8.2/ext/dba/tests/ |
H A D | skipif.inc | 5 if (in_array('flatfile', $handlers)) { 15 if (!in_array($handler, dba_handlers())) {
|
/PHP-8.2/win32/build/ |
H A D | mkdist.php | 74 $is_pecl = in_array($module, $pecl_targets); 89 if (((in_array($depbase, $sapi_targets) || 90 in_array($depbase, $ext_targets) || in_array($depbase, $pecl_targets)) || 95 if (in_array(basename($dep), $no_dist)) { 111 if (!in_array($dep, $pecl_dll_deps)) { 115 if (!in_array($dep, $extra_dll_deps)) { 120 …if (!isset($per_module_deps[basename($module)]) || !in_array($dep, $per_module_deps[basename($modu… 299 if (in_array($modulename, $pecl_targets)) 394 if (in_array($dll, $extra_dll_deps)) {
|