Home
last modified time | relevance | path

Searched refs:val (Results 76 – 100 of 472) sorted by relevance

12345678910>>...19

/PHP-7.4/ext/ffi/tests/
H A D008.phpt13 foreach ($a as $key => $val) {
14 echo "$key => $val\n";
25 foreach ($a as $key => $val) {
26 echo "$key => $val\n";
/PHP-7.4/ext/pdo/tests/
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 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_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"]=>
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_013.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';
71 ["val"]=>
78 ["val"]=>
85 ["val"]=>
92 ["val"]=>
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_001.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
33 ["val"]=>
40 ["val"]=>
47 ["val"]=>
H A Dpdo_004.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
33 ["val"]=>
40 ["val"]=>
47 ["val"]=>
H A Dpdo_003.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
35 ["val"]=>
46 ["val"]=>
57 ["val"]=>
H A Dpdo_018.phpt26 foreach($this as $prop => $val) {
27 $serialized[$prop] = $val;
37 foreach(unserialize($serialized) as $prop => $val) {
38 $this->$prop = '#'.$val;
118 $stmt = $db->prepare('INSERT INTO test VALUES(:id, :classtype, :val)');
121 $stmt->bindParam(':val', $val);
128 $val = $obj->serialize();
132 $val = '';
233 ["val"]=>
240 ["val"]=>
[all …]
/PHP-7.4/ext/spl/tests/
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.4/ext/standard/tests/array/
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 …tion: 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.4/ext/reflection/tests/
H A D008.phpt8 foreach ($a as $val) {
10 new ReflectionMethod($val);
19 foreach ($a as $key=>$val) {
21 new ReflectionMethod($val, $b[$key]);
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Ddiv.c92 int scale1, val; in bc_divide() local
216 val = (int) *ptr1 - (int) *ptr2-- - borrow; in bc_divide()
217 if (val < 0) in bc_divide()
219 val += 10; in bc_divide()
224 *ptr1-- = val; in bc_divide()
237 val = (int) *ptr1 + (int) *ptr2-- + carry; in bc_divide()
238 if (val > 9) in bc_divide()
240 val -= 10; in bc_divide()
245 *ptr1-- = val; in bc_divide()
/PHP-7.4/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.4/ext/ffi/
H A Dffi_parser.c2887 zend_ffi_val val; in parse_attributes() local
2969 zend_ffi_val val; in parse_attrib() local
3360 zend_ffi_val_error(val); in parse_unary_expression()
3392 zend_ffi_val_error(val); in parse_unary_expression()
3397 zend_ffi_val_error(val); in parse_unary_expression()
3402 zend_ffi_val_error(val); in parse_unary_expression()
3407 zend_ffi_val_error(val); in parse_unary_expression()
3412 zend_ffi_expr_plus(val); in parse_unary_expression()
3417 zend_ffi_expr_neg(val); in parse_unary_expression()
3422 zend_ffi_expr_bw_not(val); in parse_unary_expression()
[all …]
/PHP-7.4/ext/filter/tests/
H A D034.phpt24 foreach($booleans as $val=>$exp) {
25 $res =filter_var($val, FILTER_VALIDATE_BOOLEAN);
27 echo "$val failed,'$exp' expect, '$res' received.\n";
/PHP-7.4/Zend/tests/
H A Dclass_constants_002.phpt7 const val = 1;
10 function foo($v = test::val) {
14 function bar($b = NoSuchClass::val) {
H A Dbug73663.phpt15 var_dump(list($val) = $array); // NG: Invalid opcode
17 change(list(&$val) = $array);
21 $func(list(&$val) = $array);
H A Dforeach_006.phpt6 foreach ([1,2,3] as &$val) {
7 echo "$val\n";
/PHP-7.4/tests/classes/
H A D__set__get_005.phpt20 function __set($name, $val) {
22 $this->x[$name] = $val;
38 function __set($name, $val) {
40 $this->x[$name] = $val;
/PHP-7.4/ext/soap/tests/
H A Dserver013.phpt10 foreach($a as $val) {
11 $sum += $val;
31 <val xsi:type="xsd:int">3</val>
32 <val xsi:type="xsd:int">5</val>
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_conf.c257 for (p = val; *p; p++) { in fpm_conf_set_integer()
274 for (p = val; *p; p++) {
289 int len = strlen(val); in fpm_conf_set_time()
296 suffix = val[len-1]; in fpm_conf_set_time()
299 val[len-1] = '\0'; in fpm_conf_set_time()
300 seconds = 60 * atoi(val); in fpm_conf_set_time()
303 val[len-1] = '\0'; in fpm_conf_set_time()
307 val[len-1] = '\0'; in fpm_conf_set_time()
311 val[len-1] = '\0'; in fpm_conf_set_time()
317 seconds = atoi(val); in fpm_conf_set_time()
[all …]
/PHP-7.4/ext/mbstring/tests/
H A Dmb_check_encoding.phpt10 $arr = [1234, 12.34, TRUE, FALSE, NULL, $str, 'key'=>$str, $str=>'val'];
15 $arr1 = [1234, 12.34, TRUE, FALSE, NULL, 'key'=>$str, $str=>'val'];
16 $arr2 = [1234, 12.34, TRUE, FALSE, NULL, $str=>'val'];

Completed in 94 milliseconds

12345678910>>...19