Home
last modified time | relevance | path

Searched refs:value (Results 51 – 75 of 2327) sorted by relevance

12345678910>>...94

/PHP-8.3/Zend/tests/type_declarations/
H A Dscalar_strict_basic.phpt27 function type($value) {
43 echo PHP_EOL . "*** Trying ", type($value), " value", PHP_EOL;
59 *** Trying float value
62 *** Trying string value
65 *** Trying true value
68 *** Trying false value
71 *** Trying null value
74 *** Trying array value
94 *** Trying true value
100 *** Trying null value
[all …]
/PHP-8.3/main/
H A Dphp_ini_builder.h27 char *value; member
35 b->value = NULL; in BEGIN_EXTERN_C()
41 free(b->value); in php_ini_builder_deinit()
49 if (b->value != NULL) { in php_ini_builder_finish()
51 b->value[b->length] = '\0'; in php_ini_builder_finish()
54 return b->value; in php_ini_builder_finish()
65 b->value = realloc(b->value, b->length + delta + 1); in php_ini_builder_realloc()
81 …uct php_ini_builder *b, const char *name, size_t name_length, const char *value, size_t value_leng…
86 …uct php_ini_builder *b, const char *name, size_t name_length, const char *value, size_t value_leng…
/PHP-8.3/ext/dba/
H A Ddba_qdbm.c77 char *value; in DBA_FETCH_FUNC() local
82 if (value) { in DBA_FETCH_FUNC()
84 free(value); in DBA_FETCH_FUNC()
108 char *value; in DBA_EXISTS_FUNC() local
111 if (value) { in DBA_EXISTS_FUNC()
112 free(value); in DBA_EXISTS_FUNC()
130 char *value; in DBA_FIRSTKEY_FUNC() local
136 if (value) { in DBA_FIRSTKEY_FUNC()
138 free(value); in DBA_FIRSTKEY_FUNC()
148 char *value; in DBA_NEXTKEY_FUNC() local
[all …]
H A Ddba_tcadb.c87 char *value; in DBA_FETCH_FUNC() local
92 if (value) { in DBA_FETCH_FUNC()
94 tcfree(value); in DBA_FETCH_FUNC()
125 char *value; in DBA_EXISTS_FUNC() local
129 if (value) { in DBA_EXISTS_FUNC()
130 tcfree(value); in DBA_EXISTS_FUNC()
148 char *value; in DBA_FIRSTKEY_FUNC() local
154 if (value) { in DBA_FIRSTKEY_FUNC()
156 tcfree(value); in DBA_FIRSTKEY_FUNC()
166 char *value; in DBA_NEXTKEY_FUNC() local
[all …]
/PHP-8.3/Zend/tests/
H A Dbug37212.phpt8 protected $value;
12 $this->value = $val;
17 return $this->value;
25 $this->value = $obj->getValue();
26 $this->value = $obj->value; // value defined in common base class
43 ["value":protected]=>
47 ["value":protected]=>
51 ["value":protected]=>
/PHP-8.3/Zend/
H A Dzend_ini.c157 new_entry->value = zend_string_dup(old_entry->value, 1); in copy_ini_entry()
255 p->value = ini_entry->value ? in zend_register_ini_entries_ex()
534 return ini_entry->value ? ini_entry->value : NULL; in zend_ini_str_ex()
905 int value; in ZEND_INI_DISP() local
919 value = 0; in ZEND_INI_DISP()
922 if (value) { in ZEND_INI_DISP()
932 char *value; in ZEND_INI_DISP() local
937 value = ZSTR_VAL(ini_entry->value); in ZEND_INI_DISP()
941 if (value) { in ZEND_INI_DISP()
959 char *value; in ZEND_INI_DISP() local
[all …]
/PHP-8.3/ext/oci8/tests/
H A Dedition_2.phpt74 get_edit_attr($conn3); // Old value
78 //open a new connection and get the edition value . This will have the updated value.
115 // Set the edition value to MYEDITION. open a conn .get the value.
172 The value of current EDITION is ORA$BASE
178 The value of current EDITION is MYEDITION
180 The value of current EDITION is MYEDITION
182 The value of current EDITION is MYEDITION
183 The value of current EDITION is MYEDITION
205 The value of current EDITION is ORA$BASE
237 Get the value with a new connection
[all …]
/PHP-8.3/ext/standard/tests/file/
H A Duserstreams_003.phpt25 echo "\$value === $value === " . $this->expected_value. ":\n";
64 value:
70 $value === 0 === 0:
75 value:
81 $value === 1 === 1:
86 value:
102 value:
113 value:
124 value:
135 value:
[all …]
/PHP-8.3/ext/pgsql/tests/
H A Dbug68638.phpt16 pg_query($conn, "CREATE TABLE $table (id INT, value FLOAT)");
18 pg_insert($conn,$table, array('id' => 1, 'value' => 1.2));
19 pg_insert($conn,$table, array('id' => 2, 'value' => 10));
20 pg_insert($conn,$table, array('id' => 3, 'value' => 15));
24 pg_update($conn,$table, array('value' => 'inf'), array('id' => 1));
25 pg_update($conn,$table, array('value' => '-inf'), array('id' => 2));
26 pg_update($conn,$table, array('value' => '+inf'), array('id' => 3));
37 string(52) "UPDATE "test_68638" SET "value"=E'inf' WHERE "id"=1;"
41 ["value"]=>
47 ["value"]=>
[all …]
H A Dgh13354.phpt24 echo "pg_execute, null value: " . pg_fetch_result($res, 0, 0) . "\n";
34 echo "pg_query_params, null value: " . pg_fetch_result($res, 0, 0) . "\n";
60 echo "pg_send_execute, null value: " . pg_fetch_result($res, 0, 0) . "\n";
73 pg_execute, null value: t
74 pg_execute, null value by reference: t
75 pg_query_params, null value: t
76 pg_query_params, null value by reference: t
77 pg_send_query_params, null value: t
78 pg_send_query_params, null value by reference: t
79 pg_send_execute, null value: t
[all …]
/PHP-8.3/ext/json/tests/
H A Dbug40503.phpt2 Bug #40503 (json_encode() value corruption on 32bit systems with overflown values)
11 $value = 0x7FFFFFFF; #2147483647;
12 json_test_show_eq("$value", json_encode($value));
13 $value++;
14 json_test_show_eq("$value", json_encode($value));
/PHP-8.3/ext/zend_test/tests/
H A Dfiber_test_01.phpt9 $value = Fiber::suspend(123);
10 var_dump($value); // int(246)
11 return $value;
16 $value = $fiber->start();
17 var_dump($value); // int(123)
18 $value = $fiber->resume(2 * $value);
19 var_dump($value); // NULL
/PHP-8.3/ext/standard/tests/class_object/
H A Dmethod_exists_variation_001.phpt74 echo "\nArg value $value \n";
89 Arg value 0
92 Arg value 1
136 Arg value
139 Arg value
145 Arg value
151 Arg value
154 Arg value
157 Arg value
168 Arg value
[all …]
H A Dget_class_methods_variation_001.phpt72 echo "\nArg value " . (is_object($value) ? get_class($value) : $value) . "\n";
86 Arg value 0
89 Arg value 1
133 Arg value
136 Arg value
142 Arg value
148 Arg value
151 Arg value
154 Arg value
167 Arg value
[all …]
H A Dget_class_variation_001.phpt63 foreach($values as $value) {
64 echo @"\nArg value: $value (type: " . gettype($value) . ")\n";
81 Arg value: 0 (type: integer)
84 Arg value: 1 (type: integer)
123 Arg value: (type: NULL)
126 Arg value: (type: NULL)
132 Arg value: (type: boolean)
141 Arg value: (type: string)
144 Arg value: (type: string)
153 Arg value: (type: NULL)
[all …]
H A Dget_parent_class_variation_002.phpt74 echo "\nArg value " . (is_object($value) ? get_class($value) : $value) . "\n";
89 Arg value 0
92 Arg value 1
136 Arg value
139 Arg value
145 Arg value
151 Arg value
154 Arg value
157 Arg value
171 Arg value
[all …]
/PHP-8.3/Zend/tests/match/
H A D039.phpt6 $value = 1;
8 echo match ($value) {
18 echo match ($value) {
27 echo match ($value) {
36 echo match ($value) {
42 echo match ($value) {
48 echo match ($value) {
/PHP-8.3/ext/opcache/tests/
H A Dbug75357.phpt12 function wp_slash( $value ) {
13 if ( is_array( $value ) ) {
14 foreach ( $value as $k => $v ) {
16 $value[$k] = wp_slash( $v );
18 $value[$k] = addslashes( $v );
22 $value = addslashes( $value );
25 return $value;
/PHP-8.3/ext/filter/
H A Dcallback_filter.c27 zval_ptr_dtor(value); in php_filter_callback()
28 ZVAL_NULL(value); in php_filter_callback()
32 ZVAL_COPY(&args[0], value); in php_filter_callback()
36 zval_ptr_dtor(value); in php_filter_callback()
37 ZVAL_COPY_VALUE(value, &retval); in php_filter_callback()
39 zval_ptr_dtor(value); in php_filter_callback()
40 ZVAL_NULL(value); in php_filter_callback()
/PHP-8.3/ext/standard/tests/array/
H A Darray_filter_variation8.phpt18 echo "callback function with int return value\n";
21 // float as return value
29 // string as return value
32 return 'value';
37 // null as return value
45 // array as return value
57 callback function with int return value
78 callback function with float return value
99 callback function with string return value
120 callback function with null return value
[all …]
/PHP-8.3/ext/standard/tests/strings/
H A Dstrcspn_variation9.phpt58 -- Iteration with str value "" --
61 -- Iteration with str value "" --
64 -- Iteration with str value "
68 -- Iteration with str value "\n" --
71 -- Iteration with str value "hello world
86 -- Iteration with str value "hello%0world
90 -- Iteration with str value "hello\0world\012" --
93 -- Iteration with str value "%0%0" --
102 -- Iteration with str value "hello%0world" --
105 -- Iteration with str value "hello%0world" --
[all …]
H A Dstrspn_variation9.phpt58 -- Iteration with str value "" --
61 -- Iteration with str value "" --
64 -- Iteration with str value "
68 -- Iteration with str value "\n" --
71 -- Iteration with str value "hello world
86 -- Iteration with str value "hello%0world
90 -- Iteration with str value "hello\0world\012" --
93 -- Iteration with str value "%0%0" --
102 -- Iteration with str value "hello%0world" --
105 -- Iteration with str value "hello%0world" --
[all …]
/PHP-8.3/ext/standard/
H A Dmath.c36 value = fabs(value); in php_intlog10abs()
38 if (value < 1e-8 || value > 1e22) { in php_intlog10abs()
130 if (!zend_finite(value) || value == 0.0) { in _php_math_round()
131 return value; in _php_math_round()
210 zval *value; in PHP_FUNCTION() local
222 RETURN_LONG(Z_LVAL_P(value) < 0 ? -Z_LVAL_P(value) : Z_LVAL_P(value)); in PHP_FUNCTION()
233 zval *value; in PHP_FUNCTION() local
252 zval *value; in PHP_FUNCTION() local
271 zval *value; in PHP_FUNCTION() local
301 return_val = (Z_TYPE_P(value) == IS_LONG) ? (double)Z_LVAL_P(value) : Z_DVAL_P(value); in PHP_FUNCTION()
[all …]
/PHP-8.3/Zend/tests/weakrefs/
H A Dweakmap_iteration.phpt9 foreach ($map as $key => $value) {
10 var_dump($key, $value);
20 foreach ($map as $key => $value) {
21 var_dump($key, $value);
25 foreach ($map as $key => $value) {
27 var_dump($key, $value);
31 foreach ($map as $key => &$value) {
32 $value++;
69 ["value"]=>
77 ["value"]=>
/PHP-8.3/ext/standard/tests/general_functions/
H A Dintval.phpt36 foreach ($valid_ints as $value ) {
37 var_dump( intval($value) );
42 foreach ($valid_ints as $value ) {
43 var_dump( intval($value, 10) );
48 foreach ($valid_ints as $value ) {
49 var_dump( intval($value, 16) );
53 foreach ($valid_ints as $value ) {
54 var_dump( intval($value, 8) );
73 '-2147483649', // float value
74 '2147483648', // float value
[all …]

Completed in 43 milliseconds

12345678910>>...94