Home
last modified time | relevance | path

Searched refs:val (Results 51 – 75 of 459) sorted by relevance

12345678910>>...19

/PHP-7.0/Zend/tests/traits/
H A Dflattening001.phpt14 public function setTextT2($val) {
15 $this->text = $val;
23 public function setText($val) {
24 $this->text = $val;
/PHP-7.0/tests/lang/
H A DpassByReference_005.phpt6 function v($val) {
7 $val = "Val changed";
20 function vr($val, &$ref) {
21 $val = "Val changed";
25 function rv(&$ref, $val) {
26 $val = "Val changed";
39 $val = "Val changed";
43 function v($val) {
44 $val = "Val changed";
57 $val = "Val changed";
[all …]
H A Dbug24783.phpt2 Bug #24783 ($key not binary safe in "foreach($arr as $key => $val)")
7 foreach ($arr as $key => $val) {
9 echo urlencode($key), ' => ', urlencode($val), "\n";
/PHP-7.0/ext/gd/libgd/
H A Dmathmake.c40 int val; in main() local
41 val = cost[(i + 270) % 360]; in main()
44 printf ("%d,\n ", val); in main()
48 printf ("%d\n", val); in main()
/PHP-7.0/Zend/tests/
H A Dbug31683.phpt13 function __set($test, $val) {
15 var_dump($val);
17 $val = 'bug';
31 function offsetset($test, $val) {
33 var_dump($val);
35 $val = 'bug';
H A Dforeach.phpt6 foreach($foo as $key => &$val) {
7 if($val == 3) {
10 $val++;
H A Dforeach_003.phpt32 foreach ($obj as $key => $val) echo "$val\n";
40 foreach (new IT(3, $trap) as $key => $val) echo "$val\n";
47 foreach ((object)new IT(2, $trap) as $key => $val) echo "$val\n";
H A Dclass_constants_002.phpt7 const val = 1;
10 function foo($v = test::val) {
14 function bar($b = NoSuchClass::val) {
/PHP-7.0/ext/pdo/tests/
H A Dpdo_010.phpt21 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10), grp VARCH…
27 $stmt = $db->prepare('SELECT classtypes.name, test.grp AS grp, test.id AS id, test.val AS val FROM …
72 ["val"]=>
79 ["val"]=>
89 ["val"]=>
96 ["val"]=>
109 ["val"]=>
116 ["val"]=>
H A Dbug_34630.phpt21 $db->exec('CREATE TABLE test (id int NOT NULL PRIMARY KEY, val BLOB)');
23 $db->exec('CREATE TABLE test (id int NOT NULL PRIMARY KEY, val VARCHAR(256))');
36 …$insert = $db->prepare("insert into test (id, val) values (1, EMPTY_BLOB()) RETURNING val INTO :bl…
38 $insert = $db->prepare("insert into test (id, val) values (1, :blob)");
54 ["val"]=>
H A Dpdo_007.phpt17 $db->exec('CREATE TABLE test(id CHAR(1) NOT NULL PRIMARY KEY, val VARCHAR(10))');
22 $stmt = $db->prepare('SELECT id, val from test');
52 ["val"]=>
57 ["val"]=>
62 ["val"]=>
H A Dpdo_020.phpt17 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
22 foreach (array('SELECT id, val FROM test', 'SELECT id, val, val2 FROM test', 'SELECT COUNT(*) FROM …
32 Counted 2 columns after SELECT id, val FROM test.
33 Counted 3 columns after SELECT id, val, val2 FROM test.
H A Dpdo_009.phpt21 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10))');
27 $stmt = $db->prepare('SELECT classtypes.name, test.id AS id, test.val AS val FROM test LEFT JOIN cl…
107 ["val"]=>
114 ["val"]=>
121 ["val"]=>
128 ["val"]=>
H A Dpdo_012.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10), grp VARCHAR(10))');
21 $SELECT = 'SELECT val, grp FROM test';
68 ["val"]=>
75 ["val"]=>
86 ["val"]=>
93 ["val"]=>
/PHP-7.0/ext/standard/
H A Dincomplete_class.c137 zval *val; in php_lookup_class_name() local
142 …if ((val = zend_hash_str_find(object_properties, MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1)) != NULL &&… in php_lookup_class_name()
143 return zend_string_copy(Z_STR_P(val)); in php_lookup_class_name()
154 zval val; in php_store_class_name() local
157 ZVAL_STRINGL(&val, name, len); in php_store_class_name()
158 zend_hash_str_update(Z_OBJPROP_P(object), MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1, &val); in php_store_class_name()
/PHP-7.0/ext/gmp/tests/
H A Dgmp_gcdext.phpt25 foreach ($a as $val) {
26 $r = gmp_gcdext($val[0],$val[1]);
27 $check = gmp_add(gmp_mul($val[0],$r['s']), gmp_mul($val[1],$r['t']));
32 var_dump(gmp_gcdext($val[0],array()));
/PHP-7.0/ext/standard/tests/array/
H A Dextract_variation1.phpt6 $val = 4;
9 debug_zval_dump($val);
14 debug_zval_dump($val);
H A Darray_fill_variation5.phpt2 Test array_fill() function : usage variations - different types of array values for 'val' argument
5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
6 …ion: Create an array containing num elements starting with index start_key each initialized to val
11 * testing array_fill() by passing different types of array values for 'val' argument
21 //array of different types of array values for 'val' argument
39 // loop through each element of the values array for 'val' argument
41 echo "--- Testing array_fill() with different types of array values for 'val' argument ---\n";
46 $val = $values[$i];
48 var_dump( array_fill($start_key , $num , $val) );
57 --- Testing array_fill() with different types of array values for 'val' argument ---
/PHP-7.0/ext/spl/tests/
H A DrecursiveIteratorIterator_endchildren_error.phpt21 foreach ($recItIt as $val) echo "$val\n";
27 foreach ($recItIt2 as $val) echo "$val\n";
H A Darray_012.phpt12 foreach($it as $key => $val)
14 echo "$key=>$val\n";
34 foreach($it as $key => $val)
36 echo "$key=>$val\n";
/PHP-7.0/ext/interbase/
H A Dibase_query.c90 } val; member
446 zval *subval = val; in _php_ibase_bind_array()
484 convert_to_double(val); in _php_ibase_bind_array()
515 Z_STRVAL_P(val)); in _php_ibase_bind_array()
541 convert_to_long(val); in _php_ibase_bind_array()
542 if (Z_LVAL_P(val) > SHRT_MAX || Z_LVAL_P(val) < SHRT_MIN) { in _php_ibase_bind_array()
549 convert_to_long(val); in _php_ibase_bind_array()
551 if (Z_LVAL_P(val) > ISC_LONG_MAX || Z_LVAL_P(val) < ISC_LONG_MIN) { in _php_ibase_bind_array()
560 convert_to_long(val); in _php_ibase_bind_array()
566 Z_STRVAL_P(val)); in _php_ibase_bind_array()
[all …]
/PHP-7.0/main/
H A Dphp_variables.h39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array);
41 PHPAPI void php_register_variable_safe(char *var, char *val, size_t val_len, zval *track_vars_array…
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array);
H A Dphp_variables.c76 zval_dtor(val); in php_register_variable_ex()
107 zval_dtor(val); in php_register_variable_ex()
116 zval_dtor(val); in php_register_variable_ex()
139 zval_dtor(val); in php_register_variable_ex()
178 zval_dtor(val); in php_register_variable_ex()
291 efree(val); in add_post_var()
466 *val++ = '\0'; in SAPI_TREAT_DATA_FUNC()
468 val_len = php_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
469 val = estrndup(val, val_len); in SAPI_TREAT_DATA_FUNC()
473 efree(val); in SAPI_TREAT_DATA_FUNC()
[all …]
/PHP-7.0/ext/dba/libinifile/
H A Dinifile.c65 if (val->value) { in inifile_val_free()
66 efree(val->value); in inifile_val_free()
147 char *val; in etrim() local
153 val = (char*)str; in etrim()
154 while (*val && strchr(" \t\r\n", *val)) { in etrim()
155 val++; in etrim()
157 l = strlen(val); in etrim()
247 val_type val; in inifile_fetch() local
266 val.value = estrdup(ln.val.value ? ln.val.value : ""); in inifile_fetch()
271 return val; in inifile_fetch()
[all …]
/PHP-7.0/ext/bcmath/libbcmath/src/
H A Ddiv.c93 int scale1, val; in bc_divide() local
220 val = (int) *ptr1 - (int) *ptr2-- - borrow; in bc_divide()
221 if (val < 0) in bc_divide()
223 val += 10; in bc_divide()
228 *ptr1-- = val; in bc_divide()
241 val = (int) *ptr1 + (int) *ptr2-- + carry; in bc_divide()
242 if (val > 9) in bc_divide()
244 val -= 10; in bc_divide()
249 *ptr1-- = val; in bc_divide()

Completed in 89 milliseconds

12345678910>>...19