/php-src/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 430 $c = count($values); 437 $result .= sprintf($format, $values[$i]); 442 function formatShortHexArray(array $values, int $width) : string { argument 443 return formatArray($values, $width, "0x%04x"); 446 return formatArray($values, $width, "% 5d"); 448 function formatIntArray(array $values, int $width) : string { argument 449 return formatArray($values, $width, "0x%08x"); 481 $values = []; 484 $values[] = $range->start; 485 $values[] = $range->end; [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | is_bool.phpt | 5 echo "*** Testing is_bool() with valid boolean values ***\n"; 6 // different valid boolean values 14 bool values, expected output: bool(true) */ 21 echo "\n*** Testing is_bool() on non boolean values ***\n"; 134 *** Testing is_bool() with valid boolean values *** 144 *** Testing is_bool() on non boolean values ***
|
H A D | is_null.phpt | 5 echo "*** Testing is_null() with valid null values ***\n"; 6 // different valid null values 32 null values, expected output: bool(true) */ 39 echo "\n*** Testing is_bool() on non null values ***\n"; 134 *** Testing is_null() with valid null values *** 158 *** Testing is_bool() on non null values ***
|
H A D | is_float.phpt | 9 echo "*** Testing is_float(), is_double() with float values***\n"; 10 // different valid float values 44 different float values, expected: bool(true) */ 52 echo "\n*** Testing is_float(), is_double() with non float values ***\n"; 61 // non_scalar values, objects, arrays, resources and boolean 132 *** Testing is_float(), is_double() with float values*** 224 *** Testing is_float(), is_double() with non float values ***
|
/php-src/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 14 assertTrue($standards === array_unique($standards), '$standards values must be unique'); 15 …$carry, $item) { return $carry && is_string($item); }, true), '$standards values must be strings');
|
/php-src/ext/standard/tests/math/ |
H A D | log1p_basic.phpt | 9 $values = array(23, 23 foreach($values as $value) {
|
/php-src/ext/standard/tests/array/range/ |
H A D | range_variation1.phpt | 12 echo "\n*** Testing max/outof range values ***\n"; 24 *** Testing max/outof range values ***
|
H A D | range_variation1_64bit.phpt | 12 echo "\n*** Testing max/outof range values ***\n"; 24 *** Testing max/outof range values ***
|
/php-src/ext/standard/tests/array/ |
H A D | krsort_variation8.phpt | 2 Test krsort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR… 6 * testing krsort() by providing array of mixed values for $array argument 7 * with following flag values: 14 // mixed value array with different key values
|
H A D | ksort_variation8.phpt | 2 Test ksort() function : usage variations - sort mixed values, 'sort_flags' as default/SORT_REGULAR … 6 …* testing ksort() by providing array of mixed values for $array argument with following flag value… 13 // mixed value array with different key values
|
H A D | array_keys_variation_004.phpt | 21 $values = array(TRUE, FALSE, 1, 0, -1, "1", "0", "-1", NULL, array(), "php", ""); 22 foreach ($values as $value){
|
H A D | array_intersect_variation3.phpt | 35 // heredoc with quoted strings and numeric values 45 /*1*/ array(1, 2), // array with default keys and numeric values 46 array(1.1, 2.2), // array with default keys & float values 47 array(false,true), // array with default keys and boolean values 55 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 56 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 57 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 61 // associative array, containing null/empty/boolean values as key/value
|
H A D | array_intersect_variation4.phpt | 35 // heredoc with quoted strings and numeric values 54 /*1*/ array(1, 2), // array with default keys and numeric values 55 array(1.1, 2.2), // array with default keys & float values 56 array(false,true), // array with default keys and boolean values 64 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values 65 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values 66 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values 70 // associative array, containing null/empty/boolean values as key/value
|
H A D | arsort_variation3.phpt | 2 Test arsort() function : usage variations - sort integer/float values 6 …rsort() by providing different integer/float value arrays for $array argument with following values 25 // array values contains minimum and maximum ranges 29 // set of possible flag values 44 // loop through $flag_value array and setting all possible flag values
|
H A D | arsort_variation9.phpt | 6 …* Testing arsort() by providing arrays with key values for $array argument with following flag va… 13 // list of arrays with/without key values 25 echo "\n-- Testing arsort() by supplying various arrays with key values --\n"; 49 -- Testing arsort() by supplying various arrays with key values --
|
H A D | asort_variation3.phpt | 2 Test asort() function : usage variations - sort integer/float values 6 …asort() by providing different integer/float value arrays for $array argument with following values 25 // array values contains minimum and maximum ranges 29 // set of possible flag values 44 // loop through $flag_value array and setting all possible flag values
|
H A D | asort_variation9.phpt | 6 …* Testing asort() by providing arrays with key values for $array argument with following flag val… 13 // list of arrays with/without key values 25 echo "\n-- Testing asort() by supplying various arrays with key values --\n"; 49 -- Testing asort() by supplying various arrays with key values --
|
H A D | ksort_variation9.phpt | 6 …ing ksort() by providing arrays with/without key values for $array argument with following flag v… 13 // list of arrays with/without key values 25 echo "\n-- Testing ksort() by supplying various arrays with/without key values --\n"; 48 -- Testing ksort() by supplying various arrays with/without key values --
|
H A D | sort_variation3.phpt | 2 Test sort() function : usage variations - sort integer/float values 7 * with following flag values 27 // array values contains minimum and maximum ranges 31 // set of possible flag values 46 // loop through $flag_value array and setting all possible flag values
|
H A D | sort_variation9.phpt | 6 * Testing sort() by providing arrays with key values for $array argument 7 * with following flag values. 15 // list of arrays with key and values 28 echo "\n-- Testing sort() by supplying various arrays with key values --\n"; 52 -- Testing sort() by supplying various arrays with key values --
|
H A D | array_merge_recursive_variation5.phpt | 2 Test array_merge_recursive() function : usage variations - associative array with different values 7 * associative arrays having different values to $arr1 argument. 10 echo "*** Testing array_merge_recursive() : assoc. array with diff. values to \$arr1 argument ***\n… 34 // arrays with integer values 38 // arrays with float values 42 // arrays with string values 76 *** Testing array_merge_recursive() : assoc. array with diff. values to $arr1 argument ***
|
/php-src/ext/spl/tests/ |
H A D | SplDoublyLinkedList_offsetExists_success.phpt | 2 SPL SplDoublyLinkedList offsetExists returns correct values 9 // Push two values onto the list
|
/php-src/ext/standard/tests/ini_info/ |
H A D | php_ini_scanned_files.phpt | 17 // Scanned ini values override previously loaded values
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 13 and freeing memory for you by tracking which values are no longer needed. It does this by assigning 72 with ``GC_``, or macros that work on ``zval`` values, usually prefixed with ``Z_``. Unfortunately, 101 no-op. If it does not, using the macro on these values is undefined behavior. 159 or multi-threaded environment with opcache enabled, it shares some common values between processes 161 threads can be tricky and requires special care when modifying values. In particular, modification 164 immutable and never modifying the reference count. Such values will receive the ``GC_IMMUTABLE`` 191 PHP implements a cycle collector that detects such cycles and frees values that are only reachable 192 through their own references. The cycle collector will record values that may be involved in a 211 This allows for a fast way to detect values that don't need to be added to the cycle collector 215 example, ``var_dump`` recursively prints the contents of values, and marks visited values with the [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | chunk_split_variation6.phpt | 17 $values = array( 34 //Loop through each element of values for 'str' 35 for($count = 0;$count < count($values);$count++) { 37 var_dump( chunk_split($values[$count], $chunklen, $ending) );
|