/PHP-7.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-7.1/tests/lang/ |
H A D | passByReference_005.phpt | 6 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 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-7.1/ext/gd/libgd/ |
H A D | mathmake.c | 40 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.1/Zend/tests/ |
H A D | bug31683.phpt | 13 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 D | foreach.phpt | 6 foreach($foo as $key => &$val) { 7 if($val == 3) { 10 $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 | class_constants_002.phpt | 7 const val = 1; 10 function foo($v = test::val) { 14 function bar($b = NoSuchClass::val) {
|
/PHP-7.1/ext/pdo/tests/ |
H A D | pdo_010.phpt | 21 $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 D | bug_34630.phpt | 21 $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 D | pdo_007.phpt | 17 $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 D | pdo_020.phpt | 17 $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 D | pdo_009.phpt | 21 $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 D | pdo_012.phpt | 17 $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 D | pdo_013.phpt | 17 $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"]=>
|
/PHP-7.1/ext/standard/ |
H A D | incomplete_class.c | 138 zval *val; in php_lookup_class_name() local 143 …if ((val = zend_hash_str_find(object_properties, MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1)) != NULL &&… in php_lookup_class_name() 144 return zend_string_copy(Z_STR_P(val)); in php_lookup_class_name() 155 zval val; in php_store_class_name() local 158 ZVAL_STRINGL(&val, name, len); in php_store_class_name() 159 zend_hash_str_update(Z_OBJPROP_P(object), MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1, &val); in php_store_class_name()
|
/PHP-7.1/ext/gmp/tests/ |
H A D | gmp_gcdext.phpt | 25 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.1/ext/standard/tests/array/ |
H A D | extract_variation1.phpt | 6 $val = 4; 9 debug_zval_dump($val); 14 debug_zval_dump($val);
|
H A D | array_fill_variation5.phpt | 2 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.1/ext/spl/tests/ |
H A D | recursiveIteratorIterator_endchildren_error.phpt | 21 foreach ($recItIt as $val) echo "$val\n"; 27 foreach ($recItIt2 as $val) echo "$val\n";
|
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";
|
/PHP-7.1/ext/interbase/ |
H A D | ibase_query.c | 90 } 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.1/main/ |
H A D | php_variables.h | 39 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);
|
/PHP-7.1/ext/dba/libinifile/ |
H A D | inifile.c | 65 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.1/ext/bcmath/libbcmath/src/ |
H A D | div.c | 93 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()
|