/PHP-7.4/Zend/tests/generators/ |
H A D | generator_method_by_ref.phpt | 18 foreach ($this->data as $key => &$value) { 19 yield $key => $value; 25 foreach ($test as &$value) { 26 $value *= -1;
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | each_variation3.phpt | 115 ["value"]=> 127 ["value"]=> 139 ["value"]=> 151 ["value"]=> 163 ["value"]=> 175 ["value"]=> 187 ["value"]=> 199 ["value"]=> 211 ["value"]=> 223 ["value"]=> [all …]
|
H A D | bug77135.phpt | 31 $array = ["this" => "value"]; 64 $v_this = value 67 $v_this = value 72 $v_this = value 75 $v_this = value 80 $v_this = value 83 $v_this = value
|
H A D | krsort_variation8.phpt | 13 * 1.flag value as defualt 19 // mixed value array with different key values 31 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is defualt --\n"; 36 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 46 -- Testing krsort() by supplying mixed value array, 'flag' value is defualt -- 103 -- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
H A D | rsort_object1.phpt | 20 // initializing object member value 21 function __construct($value){ 22 $this->class_value = $value; 31 // initializing object member value 32 function __construct($value){ 33 $this->class_value = $value; 36 // return string value 38 return (string)$this->value; 61 // testing rsort() function by supplying integer object array, flag value is defualt 66 // testing rsort() function by supplying string object array, flag value is defualt [all …]
|
H A D | each_variation2.phpt | 6 * Description: Return the currently pointed key..value pair in the passed array, 129 ["value"]=> 141 ["value"]=> 153 ["value"]=> 165 ["value"]=> 177 ["value"]=> 192 ["value"]=> 205 ["value"]=> 218 ["value"]=> 230 ["value"]=> [all …]
|
/PHP-7.4/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 13 return "assigned value"; 78 string(14) "assigned value" 86 string(14) "assigned value" 94 ["assigned value"]=> 95 string(14) "assigned value" 107 ["assigned value"]=> 108 string(14) "assigned value" 120 ["assigned value"]=> 121 string(14) "assigned value" 129 string(14) "assigned value" [all …]
|
H A D | returnByReference.006.phpt | 21 …rn by ref function call, assign by reference the return value of a function that returns by value:… 28 echo "\n---> 2. Via a return by ref function call, assign by reference the return value of a functi… 35 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi… 44 …urn by ref function call, assign by reference the return value of a function that returns by value: 50 ---> 2. Via a return by ref function call, assign by reference the return value of a function that … 56 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
|
/PHP-7.4/ext/date/tests/ |
H A D | date_sunrise_variation7.phpt | 27 foreach($inputs as $timezone => $value) { 30 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va… 32 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
|
/PHP-7.4/ext/dom/tests/ |
H A D | domobject_debug_handler.phpt | 24 [implementation] => (object value omitted) 25 [documentElement] => (object value omitted) 46 [childNodes] => (object value omitted) 47 [firstChild] => (object value omitted) 48 [lastChild] => (object value omitted)
|
H A D | bug69846.phpt | 53 string(22) "(object value omitted)" 65 string(22) "(object value omitted)" 96 string(22) "(object value omitted)" 98 string(22) "(object value omitted)" 100 string(22) "(object value omitted)" 106 string(22) "(object value omitted)" 108 string(22) "(object value omitted)" 143 string(22) "(object value omitted)" 155 string(22) "(object value omitted)"
|
H A D | DOMAttr_value_basic_002.phpt | 2 Write non-string $value property 11 $attr->value = 1; 12 print $attr->value;
|
/PHP-7.4/ext/tidy/tests/ |
H A D | 024.phpt | 16 <wps:value></wps:value> 22 'new-blocklevel-tags' => 'wps:block,wps:var,wps:value', 37 <wps:block>%w<wps:var>%w<wps:value></wps:value>%w</wps:var>%w</wps:block>
|
H A D | 010.phpt | 16 ["value"]=> 40 ["value"]=> 66 ["value"]=> 113 ["value"]=> 144 ["value"]=> 171 ["value"]=> 197 ["value"]=> 220 ["value"]=> 244 ["value"]=> 273 ["value"]=> [all …]
|
/PHP-7.4/ext/dom/ |
H A D | cdatasection.c | 31 ZEND_ARG_INFO(0, value) 52 char *value = NULL; in PHP_METHOD() local 55 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) { in PHP_METHOD() 59 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
|
H A D | comment.c | 31 ZEND_ARG_INFO(0, value) 52 char *value = NULL; in PHP_METHOD() local 55 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|s", &value, &value_len) == FAILURE) { in PHP_METHOD() 59 nodep = xmlNewComment((xmlChar *) value); in PHP_METHOD()
|
/PHP-7.4/Zend/tests/ |
H A D | bug72813.phpt | 14 public function __set($prop, $value) 16 if ($prop === 'b') $value = [$value]; 17 $this->props[$prop] = $value;
|
H A D | bug34893.phpt | 10 function __set($name, $value) { 11 $this->$name = $value; 19 function __set($name, $value) { 20 $this->$name = $value;
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_blobs.phpt | 30 $value = str_repeat('a', $test_len); 33 $stmt->bindValue(2, $value); 51 if ($label !== $value) { 52 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n", 53 $offset, strlen($label), strlen($value)); 58 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n", 66 if ($ret['label'] !== $value) { 67 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n", 68 $offset, strlen($ret['label']), strlen($value)); 73 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
|
/PHP-7.4/ext/spl/tests/ |
H A D | multiple_iterator_001.phpt | 13 foreach($m as $value) { 14 var_dump($value); 26 foreach($m as $key => $value) { 27 var_dump($key, $value); 45 foreach($m as $key => $value) { 46 var_dump($key, $value); 54 foreach($m as $key => $value) { 55 var_dump($key, $value); 74 foreach($m as $key => $value) { 75 var_dump($key, $value); [all …]
|
H A D | bug34548.phpt | 10 foreach($dataArray as $value) $this->append($value); 13 public function offsetSet($index, $value) 15 parent::offsetSet($index, $value);
|
/PHP-7.4/tests/classes/ |
H A D | iterators_006.phpt | 47 foreach ($array as $property => $value) { 48 print "$property: $value\n"; 60 foreach ($array as $property => $value) { 61 print "$property: $value\n"; 66 foreach ($array as $property => $value) { 67 print "$property: $value\n";
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | getopt_003.phpt | 4 -vvv --v -a value --another value -1111 -2 --12 --0 --0 --1 -v 28 string(5) "value" 30 string(5) "value"
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_bit.phpt | 57 $value = 0; 59 $value = $max_value; 64 $value = 0; 66 $value += mt_rand(0, $rand_max); 68 $value = mt_rand(0, $max_value); 72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); 94 if ($value != $row['bit_value']) { [all …]
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_097.phpt | 2 Incrementing/decrementing past max/min value (additional cases) 75 Cannot decrement property Test::$foo of type int past its minimal value 77 Cannot decrement property Test::$foo of type int past its minimal value 79 Cannot increment property Test::$foo of type int past its maximal value 81 Cannot increment property Test::$foo of type int past its maximal value 83 Cannot decrement a reference held by property Test::$foo of type int past its minimal value 85 Cannot decrement a reference held by property Test::$foo of type int past its minimal value 87 Cannot increment a reference held by property Test::$foo of type int past its maximal value 89 Cannot increment a reference held by property Test::$foo of type int past its maximal value
|