/php-src/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-src/Zend/tests/ |
H A D | debug_info-error-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.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-false.phpt | 7 public $val; 9 return $this->val; 11 public function __construct($val) { 12 $this->val = $val;
|
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-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-src/ext/json/ |
H A D | json_encoder.c | 36 zend_array *myht = Z_ARRVAL_P(val); in php_json_determine_array_type() 118 if (Z_TYPE_P(val) == IS_ARRAY) { in php_json_encode_array() 119 myht = Z_ARRVAL_P(val); in php_json_encode_array() 126 zend_object *obj = Z_OBJ_P(val); in php_json_encode_array() 533 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object() 534 zend_object *obj = Z_OBJ_P(val); in php_json_encode_serializable_object() 579 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object() 612 switch (Z_TYPE_P(val)) in php_json_encode_zval() 639 return php_json_escape_string(buf, Z_STRVAL_P(val), Z_STRLEN_P(val), options, encoder); in php_json_encode_zval() 655 ZVAL_COPY(&zv, val); in php_json_encode_zval() [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 206 zval *val; in zend_optimizer_get_collected_constant() local 209 ZVAL_COPY(value, val); in zend_optimizer_get_collected_constant() 255 ZVAL_STR(val, str); in drop_leading_backslash() 312 REQUIRES_STRING(val); in zend_optimizer_update_op1_const() 319 REQUIRES_STRING(val); in zend_optimizer_update_op1_const() 326 REQUIRES_STRING(val); in zend_optimizer_update_op1_const() 401 val = &zv; in zend_optimizer_update_op1_const() 404 if (Z_TYPE_P(val) == IS_STRING && Z_STRLEN_P(val) == 0) { in zend_optimizer_update_op1_const() 490 zend_str_tolower(Z_STRVAL_P(val), Z_STRLEN_P(val)); in zend_optimizer_update_op2_const() 494 val = &tmp; in zend_optimizer_update_op2_const() [all …]
|
/php-src/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 Value of type string returned from Test::__get() must be compatible with unset property Test::$val … 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-src/ext/opcache/tests/jit/ |
H A D | gh11917.phpt | 14 function bitwise_small_split($val) 22 $len = count($val); 23 $val[] = 0; 27 $digit = $val[$i] & $mask; 29 $val[$i] >>= $split; 41 $digit |= ($val[$i] & $tempmask) << $remaining; 42 $val[$i] >>= $overflow;
|
/php-src/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 ---
|
/php-src/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-src/ext/pdo/tests/ |
H A D | pdo_005.phpt | 23 $stmt = $db->prepare('SELECT id, val, val2 from test005'); 28 protected $val; 66 ["val"]=> 75 ["val"]=> 84 ["val"]=> 95 ["val":protected]=> 104 ["val":protected]=> 113 ["val":protected]=> 127 ["val":protected]=> 140 ["val":protected]=> [all …]
|
H A D | pdo_010.phpt | 22 $db->exec('CREATE TABLE test010(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10), grp VA… 28 …LECT classtypes010.name, test010.grp AS grp, test010.id AS id, test010.val AS val FROM test010 LEF… 33 public $val; 44 public $val; 55 public $val; 89 ["val"]=> 96 ["val"]=> 106 ["val"]=> 113 ["val"]=> 126 ["val"]=> [all …]
|
/php-src/tests/lang/ |
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 …]
|
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;
|
/php-src/ext/session/ |
H A D | mod_files.c | 245 n = pwrite(data->fd, ZSTR_VAL(val), ZSTR_LEN(val), 0); in ps_files_write() 251 char *buf = ZSTR_VAL(val); in ps_files_write() 264 n = write(data->fd, ZSTR_VAL(val), ZSTR_LEN(val)); in ps_files_write() 268 if (n != ZSTR_LEN(val)) { in ps_files_write() 485 *val = ZSTR_EMPTY_ALLOC(); in PS_READ_FUNC() 492 n = pread(data->fd, ZSTR_VAL(*val), ZSTR_LEN(*val), 0); in PS_READ_FUNC() 498 char *buf = ZSTR_VAL(*val); in PS_READ_FUNC() 512 n = read(data->fd, ZSTR_VAL(*val), ZSTR_LEN(*val)); in PS_READ_FUNC() 522 zend_string_release_ex(*val, 0); in PS_READ_FUNC() 523 *val = ZSTR_EMPTY_ALLOC(); in PS_READ_FUNC() [all …]
|