/PHP-7.0/ext/gd/tests/ |
H A D | imagecolorallocate_variation6.phpt | 32 foreach($values as $key => $value) { 34 //Need to be created every time to get expected return value 37 var_dump( imagecolorallocate($im_palette, $value, $value, $value) ); 38 var_dump( imagecolorallocate($im_true_color, $value, $value, $value) );
|
/PHP-7.0/ext/spl/tests/ |
H A D | bug50579.phpt | 17 foreach ($i as $name=>$value) { 18 echo $name . '=>' . $value . "\n"; 22 foreach ($i as $name=>$value) { 23 echo $name . '=>' . $value . "\n"; 29 foreach ($i as $name=>$value) { 30 echo $name . '=>' . $value . "\n";
|
/PHP-7.0/ext/imap/tests/ |
H A D | imap_fetch_overview_variation1.phpt | 90 echo "\n-- Testing with first argument value: "; 100 -- Testing with first argument value: int(0) 105 -- Testing with first argument value: int(1) 110 -- Testing with first argument value: int(12345) 115 -- Testing with first argument value: int(-2345) 140 -- Testing with first argument value: float(0.5) 145 -- Testing with first argument value: NULL 150 -- Testing with first argument value: NULL 155 -- Testing with first argument value: bool(true) 212 -- Testing with first argument value: NULL [all …]
|
/PHP-7.0/Zend/tests/type_declarations/ |
H A D | scalar_return_basic.phpt | 52 foreach ($values as $value) { 54 var_dump($value); 56 var_dump($function($value)); 76 E_NOTICE: A non well formed numeric value encountered on line %d 85 *** Caught Return value of {closure}() must be of the type integer, float returned in %s on line %d 91 *** Caught Return value of {closure}() must be of the type integer, null returned in %s on line %d 94 *** Caught Return value of {closure}() must be of the type integer, array returned in %s on line %d 114 E_NOTICE: A non well formed numeric value encountered on line %d 117 *** Caught Return value of {closure}() must be of the type float, string returned in %s on line %d 129 *** Caught Return value of {closure}() must be of the type float, null returned in %s on line %d [all …]
|
H A D | scalar_return_basic_64bit.phpt | 52 foreach ($values as $value) { 54 var_dump($value); 56 var_dump($function($value)); 76 E_NOTICE: A non well formed numeric value encountered on line %d 79 *** Caught Return value of {closure}() must be of the type integer, string returned in %s on line %d 85 *** Caught Return value of {closure}() must be of the type integer, float returned in %s on line %d 91 *** Caught Return value of {closure}() must be of the type integer, null returned in %s on line %d 114 E_NOTICE: A non well formed numeric value encountered on line %d 117 *** Caught Return value of {closure}() must be of the type float, string returned in %s on line %d 129 *** Caught Return value of {closure}() must be of the type float, null returned in %s on line %d [all …]
|
/PHP-7.0/ext/xmlrpc/tests/ |
H A D | 001.phpt | 21 <value> 23 </value> 33 <value> 35 </value> 48 <value> 50 </value>
|
/PHP-7.0/sapi/phpdbg/tests/ |
H A D | watch_001.phpt | 21 Old value: 22 New value: Array ([0] => 1) 27 Old value inaccessible or destroyed 28 New value: 32 Old value: 33 New value: 2
|
/PHP-7.0/ext/pcre/tests/ |
H A D | preg_match_all_error2.phpt | 15 $value = new stdclass(); //Object 16 var_dump(preg_match_all($regex, $value, $matches)); 19 foreach($input as $value) { 20 print "\nArg value is: $value\n"; 21 var_dump(preg_match_all($regex, $value, $matches)); 33 Arg value is: Array 39 Arg value is: test
|
H A D | preg_replace_error2.phpt | 17 foreach($replace as $value) { 18 print "\nArg value is: $value\n"; 19 var_dump(preg_replace($regex, $value, $subject)); 21 $value = new stdclass(); //Object 22 var_dump(preg_replace($regex, $value, $subject)); 28 Arg value is: this is a string 31 Arg value is: Array
|
H A D | preg_split_error2.phpt | 16 foreach($input as $value) { 17 print "\nArg value is: $value\n"; 18 var_dump(preg_split($regex, $value)); 20 $value = new stdclass(); //Object 21 var_dump(preg_split($regex, $value)); 27 Arg value is: Array
|
/PHP-7.0/ext/reflection/tests/ |
H A D | ReflectionParameter_canBePassedByValue.phpt | 13 echo "Can be passed by value: ", $parameter->canBePassedByValue()?"yes":"no", "\n"; 42 Can be passed by value: yes 46 Can be passed by value: yes 50 Can be passed by value: yes 54 Can be passed by value: yes 60 Can be passed by value: no 64 Can be passed by value: yes 70 Can be passed by value: no 74 Can be passed by value: yes
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | rsort_variation8.phpt | 39 echo "\n-- 'flag' value is default --\n"; 44 echo "\n-- 'flag' value is SORT_REGULAR --\n"; 59 -- 'flag' value is default -- 64 -- 'flag' value is SORT_REGULAR -- 71 -- 'flag' value is default -- 79 -- 'flag' value is SORT_REGULAR -- 89 -- 'flag' value is default -- 105 -- 'flag' value is SORT_REGULAR -- 123 -- 'flag' value is default -- 152 -- 'flag' value is SORT_REGULAR --
|
H A D | array_walk_recursive_variation6.phpt | 19 * Parameters : $value - value from key/value pair of the array 24 function for_numeric($value, $key, $user_data) 29 var_dump($value); 35 * Parameters : $value - values in given input array 37 * Description : Function appends key to the value 39 function for_string($value, $key) 44 var_dump($value); 48 /* Prototype : for_mixed( mixed $value, mixed $key) 49 * Parameters : $value - values in given input array 53 function for_mixed($value, $key) [all …]
|
H A D | sort_variation11.phpt | 12 * testing sort() by providing mixed value array for $array argument with following flag values. 13 * flag value as defualt 19 // mixed value array 27 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is defualt --\n"; 32 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n"; 42 -- Testing sort() by supplying mixed value array, 'flag' value is defualt -- 117 -- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
|
H A D | asort_object1.phpt | 13 * 1. Defualt flag value 23 // initializing object member value 24 function __construct($value){ 25 $this->class_value = $value; 34 // initializing object member value 35 function __construct($value){ 36 $this->class_value = $value; 39 // return string value 41 return (string)$this->value; 69 // testing asort() function by supplying string object array, flag value is defualt [all …]
|
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 --
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_php.c | 40 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master() 50 static void fpm_php_disable(char *value, int (*zend_disable)(char *, size_t)) /* {{{ */ in fpm_php_disable() argument 52 char *s = 0, *e = value; in fpm_php_disable() 83 char *value = kv->value; in fpm_php_apply_defines_ex() local 85 int value_len = strlen(value); in fpm_php_apply_defines_ex() 87 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex() 89 php_dl(value, MODULE_PERSISTENT, &zv, 1); in fpm_php_apply_defines_ex() 97 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex() 98 char *v = strdup(value); in fpm_php_apply_defines_ex() 104 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex() [all …]
|
/PHP-7.0/ext/standard/ |
H A D | head.c | 97 if (!url_encode && value && in php_setcookie() 104 if (value) { in php_setcookie() 106 encoded_value = php_url_encode(ZSTR_VAL(value), ZSTR_LEN(value)); in php_setcookie() 109 encoded_value = zend_string_copy(value); in php_setcookie() 123 if (value == NULL || ZSTR_LEN(value) == 0) { in php_setcookie() 196 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local 201 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION() 205 if (php_setcookie(name, value, expires, path, domain, secure, 1, httponly) == SUCCESS) { in PHP_FUNCTION() 217 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local 222 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/intl/collator/ |
H A D | collator_attr.c | 36 zend_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 zend_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-7.0/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-7.0/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-7.0/ext/pdo/ |
H A D | php_pdo.h | 64 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \ argument 65 …lare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_long)value); 67 #define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \ argument 68 …s_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value, sizeof(value)-1);
|