/PHP-5.5/ext/dba/libinifile/ |
H A D | inifile.h | 35 val_type val; member 52 int inifile_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC); 53 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC); 60 void inifile_val_free(val_type *val);
|
/PHP-5.5/ext/pdo/tests/ |
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_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"]=>
|
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_018.phpt | 27 foreach($this as $prop => $val) { 28 $serialized[$prop] = $val; 38 foreach(unserialize($serialized) as $prop => $val) { 39 $this->$prop = '#'.$val; 108 $stmt = $db->prepare('INSERT INTO test VALUES(:id, :classtype, :val)'); 111 $stmt->bindParam(':val', $val); 118 $val = $obj->serialize(); 122 $val = ''; 212 ["val"]=> 219 ["val"]=> [all …]
|
H A D | pdo_001.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 33 ["val"]=> 40 ["val"]=> 47 ["val"]=>
|
H A D | pdo_004.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 33 ["val"]=> 40 ["val"]=> 47 ["val"]=>
|
H A D | pdo_003.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 35 ["val"]=> 46 ["val"]=> 57 ["val"]=>
|
/PHP-5.5/ext/standard/tests/array/ |
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 …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 ---
|
H A D | array_fill_error.phpt | 5 /* Prototype : proto 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 21 $val = 1; 23 var_dump( array_fill($start_key,$num,$val, $extra_arg) ); 33 var_dump( array_fill($start_key,$num,$val) ); 37 var_dump( array_fill($start_key,$num,$val) );
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 248 for (p = val; *p; p++) { in fpm_conf_set_integer() 265 for (p = val; *p; p++) { 280 int len = strlen(val); in fpm_conf_set_time() 287 suffix = val[len-1]; in fpm_conf_set_time() 290 val[len-1] = '\0'; in fpm_conf_set_time() 291 seconds = 60 * atoi(val); in fpm_conf_set_time() 294 val[len-1] = '\0'; in fpm_conf_set_time() 298 val[len-1] = '\0'; in fpm_conf_set_time() 302 val[len-1] = '\0'; in fpm_conf_set_time() 308 seconds = atoi(val); in fpm_conf_set_time() [all …]
|
/PHP-5.5/main/ |
H A D | php_variables.h | 39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC); 41 PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, zval *track_vars_array TS… 42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
|
/PHP-5.5/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()
|
/PHP-5.5/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";
|
/PHP-5.5/Zend/tests/ |
H A D | class_constants_002.phpt | 7 const val = 1; 10 function foo($v = test::val) { 14 function bar($b = NoSuchClass::val) {
|
/PHP-5.5/ext/reflection/tests/ |
H A D | 008.phpt | 8 foreach ($a as $val) { 10 new ReflectionMethod($val); 19 foreach ($a as $key=>$val) { 21 new ReflectionMethod($val, $b[$key]);
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | st.c | 544 register int val = 0; local 547 val += c; 548 val += (val << 10); 549 val ^= (val >> 6); 551 val += (val << 3); 552 val ^= (val >> 11); 554 return val + (val << 15); 556 register int val = 0; local 559 val = val*997 + c; 562 return val + (val>>5);
|
/PHP-5.5/ext/soap/tests/ |
H A D | server013.phpt | 10 foreach($a as $val) { 11 $sum += $val; 31 <val xsi:type="xsd:int">3</val> 32 <val xsi:type="xsd:int">5</val>
|
/PHP-5.5/ext/pdo_firebird/ |
H A D | firebird_driver.c | 479 convert_to_boolean(val); in firebird_handle_set_attribute() 484 if (Z_BVAL_P(val)) { in firebird_handle_set_attribute() 497 dbh->auto_commit = Z_BVAL_P(val); in firebird_handle_set_attribute() 502 convert_to_boolean(val); in firebird_handle_set_attribute() 507 convert_to_string(val); in firebird_handle_set_attribute() 515 convert_to_string(val); in firebird_handle_set_attribute() 523 convert_to_string(val); in firebird_handle_set_attribute() 555 ZVAL_LONG(val,dbh->auto_commit); in firebird_handle_get_attribute() 577 ZVAL_STRING(val,tmp,1); in firebird_handle_get_attribute() 580 ZVAL_NULL(val); in firebird_handle_get_attribute() [all …]
|
/PHP-5.5/ext/filter/tests/ |
H A D | 034.phpt | 24 foreach($booleans as $val=>$exp) { 25 $res =filter_var($val, FILTER_VALIDATE_BOOLEAN); 27 echo "$val failed,'$exp' expect, '$res' received.\n";
|
/PHP-5.5/tests/classes/ |
H A D | __set__get_005.phpt | 22 function __set($name, $val) { 24 $this->x[$name] = $val; 40 function __set($name, $val) { 42 $this->x[$name] = $val;
|
/PHP-5.5/sapi/apache2handler/ |
H A D | sapi_apache2.c | 95 char *val, *ptr; in php_apache_sapi_header_handler() local 112 if (!val) { in php_apache_sapi_header_handler() 115 ptr = val; in php_apache_sapi_header_handler() 117 *val = '\0'; in php_apache_sapi_header_handler() 120 val++; in php_apache_sapi_header_handler() 121 } while (*val == ' '); in php_apache_sapi_header_handler() 127 ctx->content_type = estrdup(val); in php_apache_sapi_header_handler() 272 char *key, *val; in php_apache_sapi_register_variables() local 275 APR_ARRAY_FOREACH_OPEN(arr, key, val) in php_apache_sapi_register_variables() 276 if (!val) { in php_apache_sapi_register_variables() [all …]
|