/PHP-5.3/ext/standard/tests/array/ |
H A D | arsort_variation11.phpt | 12 * testing arsort() by providing mixed value array for $array argument with following flag values. 13 * 1.flag value as default 19 // mixed value array with different key values 31 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is default --\n"; 36 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 46 -- Testing arsort() by supplying mixed value array, 'flag' value is default -- 103 -- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
H A D | asort_variation11.phpt | 12 * testing asort() by providing mixed value array for $array argument with following flag values. 13 * 1.flag value as default 19 // mixed value array with different key values 31 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n"; 36 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 46 -- Testing asort() by supplying mixed value array, 'flag' value is default -- 103 -- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
H A D | array_walk_recursive.phpt | 5 function foo($value) { 6 echo $value . " foo\n"; 9 function bar($value) { 10 echo $value . " bar\n";
|
H A D | ksort_object.phpt | 21 // initializing object member value 22 function __construct($value){ 23 $this->class_value = $value; 32 // initializing object member value 33 function __construct($value){ 34 $this->class_value = $value; 37 // return string value 39 return (string)$this->value; 60 // testing ksort() function by supplying integer object array, flag value is defualt 65 // testing ksort() function by supplying string object array, flag value is defualt [all …]
|
H A D | ksort_variation8.phpt | 12 * 1.flag value as defualt 18 // mixed value array with different key values 30 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is defualt --\n"; 35 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 45 -- Testing ksort() by supplying mixed value array, 'flag' value is defualt -- 102 -- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
H A D | arsort_object2.phpt | 13 * 1. Defualt flag value 25 // initializing object member value 40 // initializing object member value 47 // return string value 49 return (string)$this->value; 66 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is default --\n"; 68 // testing arsort() function by supplying integer object array, flag value is default 73 // testing arsort() function by supplying string object array, flag value is default 78 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n"; 79 // testing arsort() function by supplying integer object array, flag value = SORT_REGULAR [all …]
|
H A D | each_variation2.phpt | 6 * Description: Return the currently pointed key..value pair in the passed array, 128 ["value"]=> 140 ["value"]=> 152 ["value"]=> 164 ["value"]=> 176 ["value"]=> 191 ["value"]=> 204 ["value"]=> 217 ["value"]=> 229 ["value"]=> [all …]
|
H A D | krsort_variation8.phpt | 13 * 1.flag value as defualt 19 // mixed value array with different key values 31 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is defualt --\n"; 36 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 46 -- Testing krsort() by supplying mixed value array, 'flag' value is defualt -- 103 -- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | str_replace_variation2.phpt | 71 -- String after replacing the search value is => -- 78 -- String after replacing the search value is => -- 85 -- String after replacing the search value is => -- 92 -- String after replacing the search value is => -- 99 -- String after replacing the search value is => -- 106 -- String after replacing the search value is => -- 113 -- String after replacing the search value is => -- 120 -- String after replacing the search value is => -- 127 -- String after replacing the search value is => -- 134 -- String after replacing the search value is => -- [all …]
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_class_constants.phpt | 36 Sets the timeout value in seconds for communications with the database. 48 foreach ($constants as $name => $value) 50 if (!isset($values[$value])) 51 $values[$value] = array($name); 53 $values[$value][] = $name; 75 foreach ($values as $value => $constants) { 77 printf("[003] Several constants share the same value '%s'\n", $value);
|
H A D | pdo_mysql_stmt_blobs.phpt | 30 $value = str_repeat('a', $test_len); 33 $stmt->bindValue(2, $value); 51 if ($label !== $value) { 52 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d charachters). Check manually\n", 53 $offset, strlen($label), strlen($value)); 58 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n", 66 if ($ret['label'] !== $value) { 67 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d charachters). Check manually\n", 68 $offset, strlen($ret['label']), strlen($value)); 73 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
|
/PHP-5.3/ext/spl/tests/ |
H A D | arrayObject_setIteratorClass_error1.phpt | 8 foreach($ao as $key=>$value) { 9 echo " $key=>$value\n"; 18 foreach($ao as $key=>$value) { 19 echo " $key=>$value\n"; 28 foreach($ao as $key=>$value) { 29 echo " $key=>$value\n"; 37 foreach($ao as $key=>$value) { 38 echo " $key=>$value\n";
|
H A D | multiple_iterator_001.phpt | 13 foreach($m as $value) { 14 var_dump($value); 26 foreach($m as $value) { 27 var_dump($m->key(), $value); 45 foreach($m as $value) { 46 var_dump($m->key(), $value); 54 foreach($m as $value) { 55 var_dump($m->key(), $value); 74 foreach($m as $value) { 75 var_dump($m->key(), $value); [all …]
|
/PHP-5.3/ext/spl/examples/ |
H A D | dbaarray.inc | 48 * @return value associated with $name 70 * @param $value value to write 72 function offsetSet($name, $value) 74 //dba_replace($name, serialize($value), $this->db); 75 dba_replace($name, $value, $this->db); 76 return $value; 88 * Delete a key/value pair.
|
/PHP-5.3/tests/lang/ |
H A D | returnByReference.003.phpt | 17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 41 ---> 1. Trying to assign by reference the return value of a function that returns by value: 47 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 53 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.004.phpt | 19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 43 ---> 1. Trying to assign by reference the return value of a function that returns by value: 49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.005.phpt | 20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 44 ---> 1. Trying to assign by reference the return value of a function that returns by value: 50 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 56 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
/PHP-5.3/ext/pdo_pgsql/tests/ |
H A D | bug62593.phpt | 18 $value = true; 20 $query->bindValue(':foo', $value, PDO::PARAM_BOOL); 23 var_dump($value); 30 $value = true; 31 $query->bindParam(':foo', $value, PDO::PARAM_BOOL); 32 $value = false; 35 var_dump($value);
|
/PHP-5.3/ext/date/tests/ |
H A D | gmmktime_variation9.phpt | 29 foreach($inputs as $key =>$value) { 31 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) ); 32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) ); 33 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) ); 34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) ); 35 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
|
H A D | date_sunrise_variation7.phpt | 27 foreach($inputs as $timezone => $value) { 30 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va… 32 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
|
/PHP-5.3/sapi/nsapi/ |
H A D | nsapi.c | 335 char *uri,*value; in PHP_FUNCTION() local 665 char *value,*p; in sapi_nsapi_register_server_variables() local 671 if (value) { in sapi_nsapi_register_server_variables() 687 if (value) { in sapi_nsapi_register_server_variables() 695 efree(value); in sapi_nsapi_register_server_variables() 704 if (value) { in sapi_nsapi_register_server_variables() 711 if (value) { in sapi_nsapi_register_server_variables() 727 nsapi_free(value); in sapi_nsapi_register_server_variables() 757 if (value) { in sapi_nsapi_register_server_variables() 759 efree(value); in sapi_nsapi_register_server_variables() [all …]
|
/PHP-5.3/ext/imap/tests/ |
H A D | imap_fetch_overview_variation3.phpt | 41 echo "\nTesting with option value:"; 61 Testing with option value:%string|unicode%(1) "1" 64 Testing with option value:bool(true) 67 Testing with option value:float(1) 70 Testing with option value:float(1) 73 Testing with option value:int(%d) 75 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d 77 Testing with option value:int(-%d) 79 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d
|
/PHP-5.3/Zend/tests/ |
H A D | bug35509.phpt | 9 private $classArray = array( mytest::classConstant => 'value' ); 20 $normalArray = array( normalConstant => 'value' ); 26 [01] => value 30 [01] => value
|
/PHP-5.3/ext/dom/tests/ |
H A D | domobject_debug_handler.phpt | 24 [implementation] => (object value omitted) 25 [documentElement] => (object value omitted) 46 [childNodes] => (object value omitted) 47 [firstChild] => (object value omitted) 48 [lastChild] => (object value omitted)
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_bit.phpt | 57 $value = 0; 59 $value = $max_value; 64 $value = 0; 66 $value += mt_rand(0, $rand_max); 68 $value = mt_rand(0, $max_value); 72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); 94 if ($value != $row['bit_value']) { [all …]
|