/PHP-8.1/ext/gmp/tests/ |
H A D | gmp_gcdext.phpt | 24 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 D | pdo_025.phpt | 18 $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 D | pdo_010.phpt | 22 $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 D | bug62384.phpt | 6 $closure1 = function($val){ return $val; }; 7 $closure2 = function($val){ return $val; };
|
/PHP-8.1/Zend/tests/ |
H A D | bug79108.phpt | 6 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 D | foreach.phpt | 6 foreach($foo as $key => &$val) { 7 if($val == 3) { 10 $val++;
|
H A D | foreach_004.phpt | 29 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 D | gc_045.phpt | 31 public Value $val; 33 public function __construct(Value $val) 35 $this->val = $val;
|
H A D | foreach_003.phpt | 32 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 D | bug31683.phpt | 13 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 D | string_to_number_comparison.phpt | 8 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 D | php_variables.c | 92 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 D | bug12776.phpt | 6 function test($val,$key) 11 print "val: $val; key: $key\n"; flush(); 23 val: v; key: k
|
H A D | extract_variation1.phpt | 6 $val = 4; 9 var_dump($val); 14 var_dump($val);
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | switch_jumptable.phpt | 13 function test1(string $val) { 14 switch ($val) { 22 function test2(int $val) { 23 switch ($val) {
|
/PHP-8.1/ext/dba/libinifile/ |
H A D | inifile.h | 31 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 D | inifile.c | 63 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 D | flattening001.phpt | 14 public function setTextT2($val) { 15 $this->text = $val; 23 public function setText($val) { 24 $this->text = $val;
|
/PHP-8.1/ext/standard/ |
H A D | incomplete_class.c | 129 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 D | mbfl_string.c | 37 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 D | 031.phpt | 6 $val = null; 7 $ref =& $val; 10 $val = new stdClass;
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | gh9841.phpt | 19 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 D | bug24783.phpt | 2 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 D | 008.phpt | 13 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 D | array_012.phpt | 12 foreach($it as $key => $val) 14 echo "$key=>$val\n"; 34 foreach($it as $key => $val) 36 echo "$key=>$val\n";
|