/PHP-8.0/Zend/tests/ |
H A D | debug_info-error-str.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-true.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-0.0.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-1.0.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-empty_str.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-object.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
H A D | debug_info-error-resource.phpt | 9 public $val; 11 return $this->val; 13 public function __construct($val) { 14 $this->val = $val;
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | typed_properties_074.phpt | 8 public int $val; 17 unset($test->val); 20 var_dump($test->val); 32 ["val"]=> 35 Cannot assign string to property Test::$val of type int 39 ["val"]=>
|
H A D | scalar_constant_defaults.phpt | 46 echo "Testing int val" . PHP_EOL; 49 echo "Testing float val" . PHP_EOL; 52 echo "Testing string val" . PHP_EOL; 55 echo "Testing int add val" . PHP_EOL; 58 echo "Testing float add val" . PHP_EOL; 86 Testing int val 88 Testing float val 90 Testing string val 92 Testing int add val 94 Testing float add val [all …]
|
H A D | typed_properties_072.phpt | 7 public int $val; 15 unset($test->val); 17 var_dump($test->val); 22 ["val"]=>
|
/PHP-8.0/ext/session/ |
H A D | mod_files.c | 247 n = pwrite(data->fd, ZSTR_VAL(val), ZSTR_LEN(val), 0); in ps_files_write() 252 unsigned int to_write = ZSTR_LEN(val) > UINT_MAX ? UINT_MAX : (unsigned int)ZSTR_LEN(val); in ps_files_write() 253 char *buf = ZSTR_VAL(val); in ps_files_write() 266 n = write(data->fd, ZSTR_VAL(val), ZSTR_LEN(val)); in ps_files_write() 270 if (n != ZSTR_LEN(val)) { in ps_files_write() 491 *val = ZSTR_EMPTY_ALLOC(); in PS_READ_FUNC() 498 n = pread(data->fd, ZSTR_VAL(*val), ZSTR_LEN(*val), 0); in PS_READ_FUNC() 504 char *buf = ZSTR_VAL(*val); in PS_READ_FUNC() 518 n = read(data->fd, ZSTR_VAL(*val), ZSTR_LEN(*val)); in PS_READ_FUNC() 529 *val = ZSTR_EMPTY_ALLOC(); in PS_READ_FUNC() [all …]
|
/PHP-8.0/sapi/apache2handler/ |
H A D | php_functions.c | 178 char *key, *val; in PHP_FUNCTION() local 190 if (!val) val = ""; in PHP_FUNCTION() 201 char *key, *val; in PHP_FUNCTION() local 213 if (!val) val = ""; in PHP_FUNCTION() 437 char *key, *val; in PHP_MINFO_FUNCTION() local 443 if (!val) { in PHP_MINFO_FUNCTION() 444 val = ""; in PHP_MINFO_FUNCTION() 458 if (!val) { in PHP_MINFO_FUNCTION() 459 val = ""; in PHP_MINFO_FUNCTION() 467 if (!val) { in PHP_MINFO_FUNCTION() [all …]
|
/PHP-8.0/tests/lang/ |
H A D | foreach_with_references_001.phpt | 8 foreach($arr as $key => $val) { 9 $val = $key; 14 foreach($arr as $key => &$val) { 15 $val = $key;
|
H A D | passByReference_005.phpt | 6 function v($val) { 7 $val = "Val changed"; 19 function vr($val, &$ref) { 20 $val = "Val changed"; 24 function rv(&$ref, $val) { 25 $val = "Val changed"; 37 $val = "Val changed"; 41 function v($val) { 42 $val = "Val changed"; 55 $val = "Val changed"; [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | array_013.phpt | 16 foreach($it as $key => $val) 18 echo "$key=>$val\n"; 26 foreach(new NoRewindIterator($it) as $key => $val) 28 echo "$key=>$val\n"; 45 foreach($it as $key => $val) 47 echo "$key=>$val\n"; 55 foreach(new NoRewindIterator($it) as $key => $val) 57 echo "$key=>$val\n";
|
H A D | iterator_011.phpt | 8 foreach(new LimitIterator(new InfiniteIterator(new EmptyIterator()), 0, 3) as $key=>$val) 10 echo "$key=>$val\n"; 18 foreach($it as $val=>$key) 20 echo "$val=>$key\n"; 29 foreach($it as $val=>$key) 31 echo "$val=>$key\n";
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_fill_variation3.phpt | 2 Test array_fill() function : usage variations - unexpected values for 'val' argument 6 * testing array_fill() by passing different unexpected values for 'val' argument 30 //array of different values for 'val' argument 45 // loop through each element of the array for 'val' argument 47 echo "--- Testing array_fill() with different values for 'val' argument ---\n"; 52 $val = $values[$index]; 54 var_dump( array_fill($start_key , $num , $val) ); 63 --- Testing array_fill() with different values for 'val' argument ---
|
H A D | bug45312.phpt | 7 function __construct($val) { 8 $this->priv_member = $val; 26 foreach($result as $val) { 27 $val->dump(); 30 foreach($result as $val) { 31 $val->dump();
|
/PHP-8.0/ext/pdo/tests/ |
H A D | pdo_005.phpt | 22 $stmt = $db->prepare('SELECT id, val, val2 from test'); 27 protected $val; 58 ["val"]=> 67 ["val"]=> 76 ["val"]=> 87 ["val":protected]=> 96 ["val":protected]=> 105 ["val":protected]=> 121 ["val":protected]=> 134 ["val":protected]=> [all …]
|
/PHP-8.0/ext/mbstring/ |
H A D | mb_gpc.c | 178 char *var, *val; in _php_mb_encoding_handler_ex() local 218 val = strchr(var, '='); in _php_mb_encoding_handler_ex() 219 if (val) { /* have a value */ in _php_mb_encoding_handler_ex() 224 *val++ = '\0'; in _php_mb_encoding_handler_ex() 225 val_list[n] = val; in _php_mb_encoding_handler_ex() 226 len_list[n] = php_url_decode(val, strlen(val)); in _php_mb_encoding_handler_ex() 298 var = (char *)resvar.val; in _php_mb_encoding_handler_ex() 306 val = (char *)resval.val; in _php_mb_encoding_handler_ex() 309 val = val_list[n]; in _php_mb_encoding_handler_ex() 314 val = estrndup(val, val_len); in _php_mb_encoding_handler_ex() [all …]
|
/PHP-8.0/ext/json/ |
H A D | json_encoder.c | 40 HashTable *myht = Z_ARRVAL_P(val); in php_json_determine_array_type() 133 if (Z_TYPE_P(val) == IS_ARRAY) { in php_json_encode_array() 134 myht = Z_ARRVAL_P(val); in php_json_encode_array() 471 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object() 472 HashTable* myht = Z_OBJPROP_P(val); in php_json_encode_serializable_object() 514 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object() 534 switch (Z_TYPE_P(val)) in php_json_encode_zval() 548 smart_str_append_long(buf, Z_LVAL_P(val)); in php_json_encode_zval() 561 return php_json_escape_string(buf, Z_STRVAL_P(val), Z_STRLEN_P(val), options, encoder); in php_json_encode_zval() 573 ZVAL_COPY(&zv, val); in php_json_encode_zval() [all …]
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | bug36611.phpt | 19 $val = 1; 21 var_dump($val); 22 $xml->pos["act_idx"] = $val; 23 var_dump($val);
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | magic.c | 331 ms->indir_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam() 334 ms->name_max = CAST(uint16_t, *CAST(const size_t *, val)); in magic_setparam() 349 ms->bytes_max = *CAST(const size_t *, val); in magic_setparam() 358 magic_getparam(struct magic_set *ms, int param, void *val) in magic_getparam() argument 364 *CAST(size_t *, val) = ms->indir_max; in magic_getparam() 367 *CAST(size_t *, val) = ms->name_max; in magic_getparam() 370 *CAST(size_t *, val) = ms->elf_phnum_max; in magic_getparam() 373 *CAST(size_t *, val) = ms->elf_shnum_max; in magic_getparam() 376 *CAST(size_t *, val) = ms->elf_notes_max; in magic_getparam() 379 *CAST(size_t *, val) = ms->regex_max; in magic_getparam() [all …]
|
/PHP-8.0/Zend/ |
H A D | zend_vm_trace_handlers.h | 56 if (Z_LVAL(p1->val) < Z_LVAL(p2->val)) { in zend_vm_trace_compare() 58 } else if (Z_LVAL(p1->val) > Z_LVAL(p2->val)) { in zend_vm_trace_compare() 68 zval *val; in zend_vm_trace_finish() local 74 ZEND_HASH_FOREACH_STR_KEY_VAL(&vm_trace_ht, key, val) { in zend_vm_trace_finish() 75 fprintf(f, "%s "ZEND_LONG_FMT"\n", ZSTR_VAL(key), Z_LVAL_P(val)); in zend_vm_trace_finish()
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug62384.phpt | 6 $closure1 = function($val){ return $val; }; 7 $closure2 = function($val){ return $val; };
|