/PHP-7.2/ext/standard/tests/array/ |
H A D | arsort_variation7.phpt | 12 * testing arsort() by providing bool value array for $array argument with following flag values. 13 * flag value as defualt 19 // bool value array 22 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is defualt --\n"; 27 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n"; 32 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n"; 37 echo "\n-- Testing arsort() by supplying bool value array, 'flag' value is SORT_STRING --\n"; 47 -- Testing arsort() by supplying bool value array, 'flag' value is defualt -- 60 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 73 -- Testing arsort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- [all …]
|
H A D | asort_variation7.phpt | 12 * testing asort() by providing bool value array for $array argument with following flag values. 13 * flag value as defualt 19 // bool value array 22 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is defualt --\n"; 27 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n"; 32 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n"; 37 echo "\n-- Testing asort() by supplying bool value array, 'flag' value is SORT_STRING --\n"; 47 -- Testing asort() by supplying bool value array, 'flag' value is defualt -- 60 -- Testing asort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 73 -- Testing asort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- [all …]
|
H A D | sort_variation7.phpt | 12 * testing sort() by providing bool value array for $array argument with following flag values. 13 * flag value as defualt 19 // bool value array 22 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is defualt --\n"; 27 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR --\n"; 32 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC --\n"; 37 echo "\n-- Testing sort() by supplying bool value array, 'flag' value is SORT_STRING --\n"; 47 -- Testing sort() by supplying bool value array, 'flag' value is defualt -- 60 -- Testing sort() by supplying bool value array, 'flag' value is SORT_REGULAR -- 73 -- Testing sort() by supplying bool value array, 'flag' value is SORT_NUMERIC -- [all …]
|
H A D | krsort_variation11.phpt | 12 * 1.flag value as defualt 18 // bool value array 21 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is defualt --\n"; 26 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR --\n"; 31 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC --\n"; 36 echo "\n-- Testing krsort() by supplying boolean value array, 'flag' value is SORT_STRING --\n"; 46 -- Testing krsort() by supplying boolean value array, 'flag' value is defualt -- 55 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_REGULAR -- 64 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_NUMERIC -- 73 -- Testing krsort() by supplying boolean value array, 'flag' value is SORT_STRING --
|
H A D | array_filter_variation8.phpt | 20 // int as return value 28 // float as return value 36 // string as return value 39 return 'value'; 44 // null as return value 52 // array as return value 64 callback function with int return value 85 callback function with float return value 106 callback function with string return value 127 callback function with null return value [all …]
|
/PHP-7.2/Zend/tests/type_declarations/ |
H A D | scalar_strict_basic.phpt | 38 function type($value) { 54 echo PHP_EOL . "*** Trying ", type($value), " value", PHP_EOL; 70 *** Trying float value 76 *** Trying true value 79 *** Trying false value 82 *** Trying null value 85 *** Trying array value 105 *** Trying true value 111 *** Trying null value 134 *** Trying true value [all …]
|
/PHP-7.2/ext/xmlrpc/tests/ |
H A D | bug72647.phpt | 20 <value> 23 <value> 25 </value> 26 <value> 28 </value> 29 <value> 31 </value> 34 </value>
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | fseek_variation1.phpt | 79 echo @"\nArg value $value \n"; 136 Arg value 140 Arg value 144 Arg value 1 148 Arg value 152 Arg value 1 156 Arg value 160 Arg value 166 Arg value 190 Arg value [all …]
|
/PHP-7.2/Zend/tests/ |
H A D | bug37212.phpt | 8 protected $value; 12 $this->value = $val; 17 return $this->value; 25 $this->value = $obj->getValue(); 26 $this->value = $obj->value; // value defined in common base class 44 ["value":protected]=> 48 ["value":protected]=> 52 ["value":protected]=>
|
H A D | numeric_string_errors_assign.phpt | 115 Warning: A non-numeric value encountered in %s on line %d 117 Warning: A non-numeric value encountered in %s on line %d 126 Warning: A non-numeric value encountered in %s on line %d 128 Warning: A non-numeric value encountered in %s on line %d 137 Warning: A non-numeric value encountered in %s on line %d 139 Warning: A non-numeric value encountered in %s on line %d 148 Warning: A non-numeric value encountered in %s on line %d 150 Warning: A non-numeric value encountered in %s on line %d 161 Warning: A non-numeric value encountered in %s on line %d 163 Warning: A non-numeric value encountered in %s on line %d [all …]
|
/PHP-7.2/ext/xml/tests/ |
H A D | xml_parser_set_option_variation2.phpt | 85 echo @"\nArg value $value \n"; 155 Arg value 160 Arg value 165 Arg value 1 168 Arg value 173 Arg value 1 176 Arg value 181 Arg value 186 Arg value 206 Arg value [all …]
|
H A D | xml_parser_get_option_variation2.phpt | 89 echo @"\nArg value $value \n"; 160 Arg value 165 Arg value 170 Arg value 1 173 Arg value 178 Arg value 1 181 Arg value 186 Arg value 191 Arg value 216 Arg value [all …]
|
H A D | xml_parser_set_option_variation1.phpt | 91 echo @"\nArg value $value \n"; 101 Arg value 0 106 Arg value 1 171 Arg value 176 Arg value 186 Arg value 196 Arg value 201 Arg value 206 Arg value 231 Arg value [all …]
|
/PHP-7.2/ext/filter/ |
H A D | logical_filters.c | 219 p = Z_STRVAL_P(value); in php_filter_int() 247 zval_ptr_dtor(value); in php_filter_int() 317 zval_ptr_dtor(value); in php_filter_boolean() 318 ZVAL_BOOL(value, ret); in php_filter_boolean() 407 zval_ptr_dtor(value); in php_filter_float() 524 if (Z_TYPE_P(value) != IS_STRING || old_len != Z_STRLEN_P(value)) { in php_filter_validate_url() 529 url = php_url_parse_ex(Z_STRVAL_P(value), Z_STRLEN_P(value)); in php_filter_validate_url() 766 if (memchr(Z_STRVAL_P(value), ':', Z_STRLEN_P(value))) { in php_filter_validate_ip() 768 } else if (memchr(Z_STRVAL_P(value), '.', Z_STRLEN_P(value))) { in php_filter_validate_ip() 814 res = _php_filter_validate_ipv6(Z_STRVAL_P(value), Z_STRLEN_P(value)); in php_filter_validate_ip() [all …]
|
H A D | callback_filter.c | 31 zval_ptr_dtor(value); in php_filter_callback() 32 ZVAL_NULL(value); in php_filter_callback() 36 ZVAL_COPY(&args[0], value); in php_filter_callback() 40 zval_ptr_dtor(value); in php_filter_callback() 41 ZVAL_COPY_VALUE(value, &retval); in php_filter_callback() 43 zval_ptr_dtor(value); in php_filter_callback() 44 ZVAL_NULL(value); in php_filter_callback()
|
/PHP-7.2/ext/json/tests/ |
H A D | bug40503.phpt | 2 Bug #40503 (json_encode() value corruption on 32bit systems with overflown values) 13 $value = 0x7FFFFFFF; #2147483647; 14 json_test_show_eq("$value", json_encode($value)); 15 $value++; 16 json_test_show_eq("$value", json_encode($value));
|
/PHP-7.2/ext/standard/ |
H A D | math.c | 40 value = fabs(value); in php_intlog10abs() 42 if (value < 1e-8 || value > 1e22) { in php_intlog10abs() 135 return value; in _php_math_round() 174 return value; in _php_math_round() 292 zval *value; in PHP_FUNCTION() local 306 RETURN_LONG(Z_LVAL_P(value) < 0 ? -Z_LVAL_P(value) : Z_LVAL_P(value)); in PHP_FUNCTION() 317 zval *value; in PHP_FUNCTION() local 338 zval *value; in PHP_FUNCTION() local 359 zval *value; in PHP_FUNCTION() local 394 return_val = (Z_TYPE_P(value) == IS_LONG) ? (double)Z_LVAL_P(value) : Z_DVAL_P(value); in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/posix/tests/ |
H A D | posix_strerror_variation1.phpt | 72 echo "\nArg value $value \n"; 137 Arg value 140 Arg value 143 Arg value 1 146 Arg value 149 Arg value 1 152 Arg value 155 Arg value 160 Arg value 175 Arg value [all …]
|
/PHP-7.2/ext/opcache/tests/ |
H A D | bug75357.phpt | 12 function wp_slash( $value ) { 13 if ( is_array( $value ) ) { 14 foreach ( $value as $k => $v ) { 16 $value[$k] = wp_slash( $v ); 18 $value[$k] = addslashes( $v ); 22 $value = addslashes( $value ); 25 return $value;
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | strcspn_variation9.phpt | 58 -- Iteration with str value "" -- 61 -- Iteration with str value "" -- 64 -- Iteration with str value " 68 -- Iteration with str value "\n" -- 86 -- Iteration with str value "helloworld 93 -- Iteration with str value "" -- 96 -- Iteration with str value "helloworld" -- 99 -- Iteration with str value "hello\0world" -- 102 -- Iteration with str value "helloworld" -- 105 -- Iteration with str value "helloworld" -- [all …]
|
H A D | strspn_variation9.phpt | 58 -- Iteration with str value "" -- 61 -- Iteration with str value "" -- 64 -- Iteration with str value " 68 -- Iteration with str value "\n" -- 86 -- Iteration with str value "helloworld 93 -- Iteration with str value "" -- 96 -- Iteration with str value "helloworld" -- 99 -- Iteration with str value "hello\0world" -- 102 -- Iteration with str value "helloworld" -- 105 -- Iteration with str value "helloworld" -- [all …]
|
H A D | strspn_variation4.phpt | 90 foreach($values as $value) { 91 echo "\n-- Iteration with len value as \"$value\" --\n"; 143 -- Iteration with len value as "" -- 146 -- Iteration with len value as "" -- 149 -- Iteration with len value as "1" -- 152 -- Iteration with len value as "" -- 158 -- Iteration with len value as "" -- 161 -- Iteration with len value as "" -- 166 -- Iteration with len value as "" -- 186 -- Iteration with len value as "" -- [all …]
|
/PHP-7.2/ext/standard/tests/url/ |
H A D | parse_url_variation_002_32bit.phpt | 75 echo "\nArg value $value \n"; 145 Arg value 148 Arg value 151 Arg value 1 154 Arg value 160 Arg value 163 Arg value 167 Arg value 180 Arg value 184 Arg value [all …]
|
H A D | parse_url_variation_002_64bit.phpt | 75 echo "\nArg value $value \n"; 145 Arg value 148 Arg value 151 Arg value 1 154 Arg value 160 Arg value 163 Arg value 167 Arg value 180 Arg value 184 Arg value [all …]
|
/PHP-7.2/ext/standard/tests/class_object/ |
H A D | get_object_vars_variation_003.phpt | 68 echo @"\nArg value $value \n"; 81 Arg value 0 86 Arg value 1 151 Arg value 156 Arg value 166 Arg value 176 Arg value 181 Arg value 186 Arg value 201 Arg value [all …]
|