Home
last modified time | relevance | path

Searched refs:value (Results 151 – 175 of 2327) sorted by relevance

12345678910>>...94

/PHP-8.3/ext/pdo_dblib/tests/
H A Dpdo_dblib_param_str_natl.phpt13 $stmt = $db->prepare('SELECT :value');
14 $stmt->bindValue(':value', 'foo', PDO::PARAM_STR | PDO::PARAM_STR_NATL);
20 SQL: [13] SELECT :value
23 Key: Name: [6] :value
25 name=[6] ":value"
/PHP-8.3/ext/pdo/
H A Dphp_pdo.h50 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \ argument
51 …lare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_long)value);
53 #define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \ argument
54 …s_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value, sizeof(value)-1);
/PHP-8.3/Zend/tests/gh10168/
H A Dassign_prop_ref_with_prop_ref.phpt7 public ?Test $value;
15 $box->value = null;
21 var_dump($box->value = &$tmp);
25 $box->value = new Test;
26 Test::$test = &$box->value;
H A Dassign_prop_with_prop_ref.phpt7 public ?Test $value;
15 $box->value = null;
20 var_dump($box->value = new Test);
24 $box->value = new Test;
25 Test::$test = &$box->value;
H A Dassign_untyped_prop_ref_with_prop_ref.phpt7 public $value;
15 $box->value = null;
21 var_dump($box->value = &$tmp);
25 $box->value = new Test;
26 Test::$test = &$box->value;
H A Dassign_untyped_prop_with_prop_ref.phpt7 public $value;
15 $box->value = null;
20 var_dump($box->value = new Test);
24 $box->value = new Test;
25 Test::$test = &$box->value;
/PHP-8.3/Zend/tests/
H A Ddynamic_class_const_fetch.phpt49 Cannot use value of type null as class constant name
52 Cannot use value of type null as class constant name
57 Cannot use value of type int as class constant name
58 Cannot use value of type int as class constant name
59 Cannot use value of type int as class constant name
60 Cannot use value of type int as class constant name
61 Cannot use value of type array as class constant name
62 Cannot use value of type array as class constant name
63 Cannot use value of type array as class constant name
64 Cannot use value of type array as class constant name
H A Dbug45744.phpt10 private function callback($value) {
11 if (!is_array($value)) {
12 return stripslashes($value);
14 return array_map(array($this, 'callback'), $value);
28 private function callBack($value) {
H A Dlist_keyed_evaluation_order_nested.phpt15 "A" => "offset value for A",
17 0 => "offset value for 0",
18 1 => "offset value for 1"
21 "G" => "offset value for G",
22 "I" => "offset value for I"
63 Offset B set to offset value for A.
67 Offset D set to offset value for 0.
69 Offset E set to offset value for 1.
74 Offset H set to offset value for G.
77 Offset J set to offset value for I.
H A Dgh11244-001.phpt8 foreach ($data as $key => &$value) {
9 echo "$value\n";
10 if ($value === 1) {
12 echo "unset $value\n";
/PHP-8.3/ext/standard/tests/array/
H A Darsort_variation11.phpt6 * testing arsort() by providing mixed value array for $array argument with following flag values.
7 * 1.flag value as default
13 // mixed value array with different key values
25 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is default --\n";
30 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
40 -- Testing arsort() by supplying mixed value array, 'flag' value is default --
97 -- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dasort_variation11.phpt6 * testing asort() by providing mixed value array for $array argument with following flag values.
7 * 1.flag value as default
13 // mixed value array with different key values
25 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n";
30 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
40 -- Testing asort() by supplying mixed value array, 'flag' value is default --
97 -- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dsort_object1.phpt15 // initializing object member value
16 function __construct($value){
17 $this->class_value = $value;
26 // initializing object member value
27 function __construct($value){
28 $this->class_value = $value;
31 // return string value
33 return (string)$this->value;
56 // testing sort() function by supplying integer object array, flag value is default
61 // testing sort() function by supplying string object array, flag value is default
[all …]
H A Dkrsort_object.phpt7 * 1.Default flag value
17 // initializing object member value
18 function __construct($value){
19 $this->class_value = $value;
27 // initializing object member value
28 function __construct($value){
29 $this->class_value = $value;
32 // return string value
34 return (string)$this->value;
62 // testing krsort() function by supplying string object array, flag value is default
[all …]
H A Dasort_object1.phpt7 * 1. Default flag value
17 // initializing object member value
18 function __construct($value){
19 $this->class_value = $value;
28 // initializing object member value
29 function __construct($value){
30 $this->class_value = $value;
33 // return string value
35 return (string)$this->value;
63 // testing asort() function by supplying string object array, flag value is default
[all …]
H A Dksort_object.phpt17 // initializing object member value
18 function __construct($value){
19 $this->class_value = $value;
28 // initializing object member value
29 function __construct($value){
30 $this->class_value = $value;
33 // return string value
35 return (string)$this->value;
56 // testing ksort() function by supplying integer object array, flag value is default
61 // testing ksort() function by supplying string object array, flag value is default
[all …]
H A Darray_walk_closure.phpt12 $func = function($value, $key, &$udata) {
14 $udata["sum"] += $value;
24 $func = function($value, $key) use (&$user_data) {
26 $user_data["sum"] += $value;
37 $func = function($value, $key, &$udata) {
39 $udata->sum += $value;
49 function sum_it_up_object($value, $key, $udata)
52 $udata->sum += $value;
64 function sum_it_up_array($value, $key, $udata)
67 $udata['sum'] += $value;
[all …]
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_php.c38 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
51 static void fpm_php_disable(char *value, int (*zend_disable)(const char *, size_t)) /* {{{ */ in fpm_php_disable() argument
53 char *s = 0, *e = value; in fpm_php_disable()
89 char *value = kv->value; in fpm_php_apply_defines_ex() local
91 int value_len = strlen(value); in fpm_php_apply_defines_ex()
93 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
96 php_dl(value, MODULE_PERSISTENT, &zv, 1); in fpm_php_apply_defines_ex()
105 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
106 zend_disable_functions(value); in fpm_php_apply_defines_ex()
110 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
[all …]
/PHP-8.3/ext/standard/
H A Dhead.c97 if (!url_encode && value && in php_setcookie()
123 if (value == NULL || ZSTR_LEN(value) == 0) { in php_setcookie()
141 zend_string *encoded_value = php_raw_url_encode(ZSTR_VAL(value), ZSTR_LEN(value)); in php_setcookie()
145 smart_str_append(&buf, value); in php_setcookie()
198 zval *value; in php_head_parse_cookie_options_array() local
206 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
208 *path = zval_get_string(value); in php_head_parse_cookie_options_array()
210 *domain = zval_get_string(value); in php_head_parse_cookie_options_array()
212 *secure = zval_is_true(value); in php_head_parse_cookie_options_array()
214 *httponly = zval_is_true(value); in php_head_parse_cookie_options_array()
[all …]
/PHP-8.3/ext/readline/
H A Dreadline.c147 zval *value = NULL; in PHP_FUNCTION() local
185 if (value) { in PHP_FUNCTION()
187 if (!try_convert_to_string(value)) { in PHP_FUNCTION()
204 if (value) { in PHP_FUNCTION()
205 rl_done = zval_get_long(value); in PHP_FUNCTION()
210 if (value) { in PHP_FUNCTION()
223 if (value) { in PHP_FUNCTION()
229 if (value) { in PHP_FUNCTION()
241 if (value) { in PHP_FUNCTION()
252 if (value) { in PHP_FUNCTION()
[all …]
/PHP-8.3/ext/pdo_oci/tests/
H A Dpdo_oci_class_constants.phpt28 foreach ($constants as $name => $value) {
30 if (!isset($values[$value])) {
31 $values[$value] = [$name];
33 $values[$value][] = $name;
57 foreach ($values as $value => $constants) {
59 printf("[003] Several constants share the same value '%s'\n", $value);
/PHP-8.3/ext/opcache/tests/opt/
H A Dblock_pass_002.phpt11 function foo($key, $value, array $attributes) {
12 return is_array($value)
13 ? [$key, array_merge($value, $attributes)]
14 : [$value, $attributes];
/PHP-8.3/ext/spl/tests/
H A DarrayObject_setIteratorClass_error1.phpt8 foreach($ao as $key=>$value) {
9 echo " $key=>$value\n";
18 foreach($ao as $key=>$value) {
19 echo " $key=>$value\n";
28 foreach($ao as $key=>$value) {
29 echo " $key=>$value\n";
37 foreach($ao as $key=>$value) {
38 echo " $key=>$value\n";
/PHP-8.3/sapi/phpdbg/tests/
H A Dwatch_001.phpt29 Old value:
30 New value: Array ([0] => 1)
35 Old value inaccessible or destroyed
36 New value:
40 Old value:
41 New value: 2
/PHP-8.3/Zend/tests/type_declarations/
H A Dtyped_properties_110.phpt6 public null $value;
10 $foo->value = null;
13 $foo->value = 1;
20 Cannot assign int to property Foo::$value of type null

Completed in 30 milliseconds

12345678910>>...94