/PHP-5.4/ext/standard/tests/array/ |
H A D | krsort_object.phpt | 11 * 1.Defualt flag value 21 // initializing object member value 22 function __construct($value){ 23 $this->class_value = $value; 31 // initializing object member value 32 function __construct($value){ 33 $this->class_value = $value; 36 // return string value 38 return (string)$this->value; 66 // testing krsort() function by supplying string object array, flag value is defualt [all …]
|
H A D | sort_object1.phpt | 20 // initializing object member value 21 function __construct($value){ 22 $this->class_value = $value; 31 // initializing object member value 32 function __construct($value){ 33 $this->class_value = $value; 36 // return string value 38 return (string)$this->value; 61 // testing sort() function by supplying integer object array, flag value is defualt 66 // testing sort() function by supplying string object array, flag value is defualt [all …]
|
H A D | each_variation3.phpt | 114 ["value"]=> 126 ["value"]=> 138 ["value"]=> 150 ["value"]=> 162 ["value"]=> 174 ["value"]=> 186 ["value"]=> 198 ["value"]=> 210 ["value"]=> 222 ["value"]=> [all …]
|
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 | 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 | 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_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 --
|
/PHP-5.4/ext/soap/tests/interop/Round4/GroupH/ |
H A D | r4_groupH_simple_doclit_003w.phpt | 18 …se"><SOAP-ENV:Body><ns2:echoIntArrayFaultRequest><ns1:value>34</ns1:value><ns1:value>12</ns1:value… 20 …Fault'.</faultstring><detail><ns2:ArrayOfIntPart><ns1:value>34</ns1:value><ns1:value>12</ns1:value…
|
/PHP-5.4/ext/standard/ |
H A D | head.c | 89 …if (!url_encode && value && strpbrk(value, ",; \t\r\n\013\014") != NULL) { /* man isspace for \013… in php_setcookie() 95 if (value && url_encode) { in php_setcookie() 98 encoded_value = php_url_encode(value, value_len, &encoded_value_len); in php_setcookie() 100 } else if ( value ) { in php_setcookie() 101 encoded_value = estrdup(value); in php_setcookie() 113 if (value && value_len == 0) { in php_setcookie() 123 snprintf(cookie, len + 100, "Set-Cookie: %s=%s", name, value ? encoded_value : ""); in php_setcookie() 175 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local 181 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION() 198 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local [all …]
|
H A D | assert.c | 266 zval **value = NULL; in PHP_FUNCTION() local 279 convert_to_string_ex(value); in PHP_FUNCTION() 280 …_entry_ex("assert.active", sizeof("assert.active"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION() 288 convert_to_string_ex(value); in PHP_FUNCTION() 289 …_ini_entry_ex("assert.bail", sizeof("assert.bail"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION() 297 convert_to_string_ex(value); in PHP_FUNCTION() 298 …x("assert.quiet_eval", sizeof("assert.quiet_eval"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION() 306 convert_to_string_ex(value); in PHP_FUNCTION() 307 …ntry_ex("assert.warning", sizeof("assert.warning"), Z_STRVAL_PP(value), Z_STRLEN_PP(value), PHP_IN… in PHP_FUNCTION() 324 ASSERTG(callback) = *value; in PHP_FUNCTION() [all …]
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_php.c | 40 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master() 51 static void fpm_php_disable(char *value, int (*zend_disable)(char *, uint TSRMLS_DC) TSRMLS_DC) /* … in fpm_php_disable() argument 53 char *s = 0, *e = value; in fpm_php_disable() 85 char *value = kv->value; in fpm_php_apply_defines_ex() local 87 int value_len = strlen(value); in fpm_php_apply_defines_ex() 89 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex() 91 php_dl(value, MODULE_PERSISTENT, &zv, 1 TSRMLS_CC); in fpm_php_apply_defines_ex() 99 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex() 100 char *v = strdup(value); in fpm_php_apply_defines_ex() 106 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex() [all …]
|
/PHP-5.4/Zend/tests/ |
H A D | bug45744.phpt | 10 private function callback($value) { 11 if (!is_array($value)) { 12 return stripslashes($value); 14 return array_map(array($this, 'callback'), $value); 28 private function callBack($value) {
|
/PHP-5.4/ext/intl/collator/ |
H A D | collator_attr.c | 36 long attribute, value; in PHP_FUNCTION() local 53 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION() 56 RETURN_LONG( value ); in PHP_FUNCTION() 67 long attribute, value; in PHP_FUNCTION() local 73 &object, Collator_ce_ptr, &attribute, &value ) == FAILURE) in PHP_FUNCTION() 85 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
|
/PHP-5.4/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.4/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.4/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);
|
/PHP-5.4/ext/spl/examples/ |
H A D | dbaarray.inc | 48 * @return value associated with $name 67 * @param $value value to write 69 function offsetSet($name, $value) 71 //dba_replace($name, serialize($value), $this->db); 72 dba_replace($name, $value, $this->db); 73 return $value; 85 * Delete a key/value pair.
|
/PHP-5.4/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";
|
/PHP-5.4/sapi/nsapi/ |
H A D | nsapi.c | 335 char *uri,*value; in PHP_FUNCTION() local 663 char *value,*p; in sapi_nsapi_register_server_variables() local 669 if (value) { in sapi_nsapi_register_server_variables() 684 if (value) { in sapi_nsapi_register_server_variables() 692 efree(value); in sapi_nsapi_register_server_variables() 700 if (value) { in sapi_nsapi_register_server_variables() 707 if (value) { in sapi_nsapi_register_server_variables() 723 nsapi_free(value); in sapi_nsapi_register_server_variables() 753 if (value) { in sapi_nsapi_register_server_variables() 755 efree(value); in sapi_nsapi_register_server_variables() [all …]
|
/PHP-5.4/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) );
|
/PHP-5.4/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.4/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
|