Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-8.1/ext/gmp/tests/
H A Dgmp_gcdext.phpt24 foreach ($a as $val) {
25 $r = gmp_gcdext($val[0],$val[1]);
26 $check = gmp_add(gmp_mul($val[0],$r['s']), gmp_mul($val[1],$r['t']));
32 var_dump(gmp_gcdext($val[0], array()));
/PHP-8.1/ext/pdo/tests/
H A Dpdo_025.phpt18 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
37 public $id, $val, $val2;
52 public $val, $val2;
67 ["val"]=>
75 ["val"]=>
83 ["val"]=>
91 ["val"]=>
99 ["val"]=>
107 ["val"]=>
H A Dpdo_010.phpt22 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10), grp VARCH…
28 $stmt = $db->prepare('SELECT classtypes.name, test.grp AS grp, test.id AS id, test.val AS val FROM …
73 ["val"]=>
80 ["val"]=>
90 ["val"]=>
97 ["val"]=>
110 ["val"]=>
117 ["val"]=>
/PHP-8.1/ext/reflection/tests/
H A Dbug62384.phpt6 $closure1 = function($val){ return $val; };
7 $closure2 = function($val){ return $val; };
/PHP-8.1/Zend/tests/
H A Dbug79108.phpt6 function test(string $val) {
7 $a = &$val;
9 print_r($val);
13 // we're able to modify the $val from here, even though the arg was not a reference
H A Dforeach.phpt6 foreach($foo as $key => &$val) {
7 if($val == 3) {
10 $val++;
H A Dforeach_004.phpt29 foreach ($obj as $key => &$val) echo "$val\n";
37 foreach (new IT($trap) as $key => &$val) echo "$val\n";
44 foreach ((object)new IT($trap) as $key => &$val) echo "$val\n";
H A Dgc_045.phpt31 public Value $val;
33 public function __construct(Value $val)
35 $this->val = $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 Dbug31683.phpt13 function __set($test, $val) {
15 var_dump($val);
17 $val = 'bug';
31 function offsetset($test, $val): void {
33 var_dump($val);
35 $val = 'bug';
H A Dstring_to_number_comparison.phpt8 function format($val) {
9 if (is_float($val)) {
10 if (is_nan($val)) return "NAN";
11 if ($val == INF) return "INF";
12 if ($val == -INF) return "-INF";
14 return json_encode($val);
/PHP-8.1/main/
H A Dphp_variables.c92 zval_ptr_dtor_nogc(val); in php_register_variable_ex()
123 zval_ptr_dtor_nogc(val); in php_register_variable_ex()
152 zval_ptr_dtor_nogc(val); in php_register_variable_ex()
350 efree(val); in add_post_var()
526 *val++ = '\0'; in SAPI_TREAT_DATA_FUNC()
529 val_len = php_raw_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
531 val_len = php_url_decode(val, strlen(val)); in SAPI_TREAT_DATA_FUNC()
534 val = ""; in SAPI_TREAT_DATA_FUNC()
538 val = estrndup(val, val_len); in SAPI_TREAT_DATA_FUNC()
545 efree(val); in SAPI_TREAT_DATA_FUNC()
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Dbug12776.phpt6 function test($val,$key)
11 print "val: $val; key: $key\n"; flush();
23 val: v; key: k
H A Dextract_variation1.phpt6 $val = 4;
9 var_dump($val);
14 var_dump($val);
/PHP-8.1/ext/opcache/tests/jit/
H A Dswitch_jumptable.phpt13 function test1(string $val) {
14 switch ($val) {
22 function test2(int $val) {
23 switch ($val) {
/PHP-8.1/ext/dba/libinifile/
H A Dinifile.h31 val_type val; member
49 int inifile_replace(inifile *dba, const key_type *key, const val_type *val);
50 int inifile_replace_ex(inifile *dba, const key_type *key, const val_type *val, bool *found);
51 int inifile_append(inifile *dba, const key_type *key, const val_type *val);
58 void inifile_val_free(val_type *val);
H A Dinifile.c63 if (val->value) { in inifile_val_free()
64 efree(val->value); in inifile_val_free()
145 char *val; in etrim() local
151 val = (char*)str; in etrim()
152 while (*val && strchr(" \t\r\n", *val)) { in etrim()
153 val++; in etrim()
155 l = strlen(val); in etrim()
243 val_type val; in inifile_fetch() local
262 val.value = estrdup(ln.val.value ? ln.val.value : ""); in inifile_fetch()
267 return val; in inifile_fetch()
[all …]
/PHP-8.1/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-8.1/ext/standard/
H A Dincomplete_class.c129 zval *val = zend_hash_str_find(object->properties, MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1); in php_lookup_class_name() local
131 if (val != NULL && Z_TYPE_P(val) == IS_STRING) { in php_lookup_class_name()
132 return zend_string_copy(Z_STR_P(val)); in php_lookup_class_name()
143 zval val; in php_store_class_name() local
145 ZVAL_STR_COPY(&val, name); in php_store_class_name()
146 zend_hash_str_update(Z_OBJPROP_P(object), MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1, &val); in php_store_class_name()
/PHP-8.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.c37 string->val = NULL; in mbfl_string_init_set()
48 if (string->val) { in mbfl_string_clear()
49 efree(string->val); in mbfl_string_clear()
/PHP-8.1/Zend/tests/nullsafe_operator/
H A D031.phpt6 $val = null;
7 $ref =& $val;
10 $val = new stdClass;
/PHP-8.1/ext/mysqli/tests/
H A Dgh9841.phpt19 SELECT 1 AS val
25 SELECT 1 AS val
32 SELECT 1 AS val
43 SELECT 1 AS val
52 SELECT 1 AS val
63 SELECT 1 AS val
/PHP-8.1/tests/lang/
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-8.1/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-8.1/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";

Completed in 40 milliseconds

12345678910>>...20