/php-src/ext/fileinfo/tests/ |
H A D | finfo_buffer_basic-mb.phpt | 25 foreach( $options as $option ) { 26 $finfo = finfo_open( $option, $magicFile ); 28 var_dump( finfo_buffer( $finfo, $string, $option ) );
|
H A D | finfo_buffer_variation1-mb.phpt | 25 foreach( $options as $option ) { 26 $finfo = new finfo( $option, $magicFile ); 28 var_dump( $finfo->buffer( $string, $option ) );
|
H A D | finfo_buffer_variation1.phpt | 25 foreach( $options as $option ) { 26 $finfo = new finfo( $option, $magicFile ); 28 var_dump( $finfo->buffer( $string, $option ) );
|
H A D | finfo_buffer_basic.phpt | 25 foreach( $options as $option ) { 26 $finfo = finfo_open( $option, $magicFile ); 28 var_dump( finfo_buffer( $finfo, $string, $option ) );
|
/php-src/ext/curl/tests/ |
H A D | bug54798-unix.phpt | 51 foreach($options_to_check as $option) { 52 checkForClosedFilePointer($host, constant($option), $option);
|
H A D | bug46711.phpt | 16 foreach( $opt as $option => $value ) { 17 curl_setopt( $ch, $option, $value );
|
/php-src/ext/ldap/tests/ |
H A D | ldap_get_option_package_basic.phpt | 2 ldap_get_option() - Basic test for getting the TLS package ldap option 14 // This is a read-only option.
|
/php-src/Zend/tests/ |
H A D | argument_restriction_001.phpt | 6 …public function &test($foo, array $bar, $option = NULL, $extra = "llllllllllllllllllllllllllllllll… 16 …of & Sub::test() must be compatible with & Base::test($foo, array $bar, $option = null, $extra = '…
|
H A D | argument_restriction_002.phpt | 6 …public function test($foo, array &$bar, $option = NULL, $extra = 3.1415926535897932384626433832795… 16 …foo, array &$bar) must be compatible with Base::test($foo, array &$bar, $option = null, $extra = 3…
|
H A D | argument_restriction_003.phpt | 9 …public function test(Foo $foo, array $bar, $option = NULL, $extra = "lllllllllllllllllllllllllllll… 19 …of Sub::test() must be compatible with Base::test(Foo $foo, array $bar, $option = null, $extra = '…
|
/php-src/ext/standard/tests/general_functions/ |
H A D | get_cfg_var_variation8.phpt | 2 Test function get_cfg_var() by calling deprecated option 12 echo "*** Test by calling method or function with deprecated option ***\n";
|
/php-src/ext/standard/tests/network/ |
H A D | setcookie_error.phpt | 41 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999'); 55 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" 56 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
|
H A D | setrawcookie_error.phpt | 41 …var_dump($e->getMessage() == 'setrawcookie(): "expires" option cannot have a year greater than 999… 56 setrawcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" 57 setrawcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
|
H A D | bug69948.phpt | 20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" 21 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
|
/php-src/ext/standard/tests/ini_info/ |
H A D | php_ini_scanned_files.phpt | 9 // Empty env value disables any config option 13 // Env value without path separator overrides any config option
|
/php-src/ext/intl/tests/ |
H A D | calendar_setSkipped_RepeatedWallTimeOption_error.phpt | 31 IntlCalendar::setSkippedWallTimeOption(): Argument #1 ($option) must be one of IntlCalendar::WALLTI… 32 IntlCalendar::setRepeatedWallTimeOption(): Argument #1 ($option) must be either IntlCalendar::WALLT…
|
/php-src/sapi/cgi/tests/ |
H A D | bug78323.phpt | 12 // no argument for option 36 Error in argument 1, char 1: no argument for option -
|
/php-src/ext/curl/ |
H A D | share.c | 56 static bool _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_val… in _php_curl_share_setopt() argument 60 switch (option) { in _php_curl_share_setopt() 63 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt()
|
/php-src/ext/filter/ |
H A D | filter.c | 462 zval *option; in php_filter_call() local 477 if ((option = zend_hash_str_find(filter_args_ht, "filter", sizeof("filter") - 1)) != NULL) { in php_filter_call() 478 filter = zval_get_long(option); in php_filter_call() 483 if (Z_TYPE_P(option) == IS_ARRAY) { in php_filter_call() 484 options = option; in php_filter_call() 487 options = option; in php_filter_call() 492 if ((option = zend_hash_str_find(filter_args_ht, "flags", sizeof("flags") - 1)) != NULL) { in php_filter_call() 493 filter_flags = zval_get_long(option); in php_filter_call() 604 zval *option, *opt, *def; in PHP_FUNCTION() local 608 if ((option = zend_hash_str_find(filter_args_ht, "flags", sizeof("flags") - 1)) != NULL) { in PHP_FUNCTION() [all …]
|
/php-src/ext/sockets/tests/ |
H A D | socket_set_option_error_socket_option.phpt | 2 Test if socket_set_option() returns 'Unable to set socket option' failure for invalid options 31 Warning: socket_set_option(): Unable to set socket option [%d]: Permission denied in %s on line %d
|
H A D | socket_set_option_bindtodevice.phpt | 2 Test if socket_set_option() works, option:SO_BINDTODEVICE 36 Warning: socket_set_option(): Unable to set socket option [19]: No such device in %s on line %d
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_options.phpt | 14 function set_option_and_check($offset, $option, $value, $option_desc) { 20 $db = new PDO($dsn, $user, $pass, [$option => $value]); 22 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option)))) 58 /* TODO - why is this a valid option if getAttribute() does not support it?! */ 84 foreach ($valid_options as $option => $name) { 86 $tmp = @$db->getAttribute($option); 87 if ($tmp !== $defaults[$option]) 89 $name, $defaults[$option], gettype($defaults[$option]),
|
/php-src/ext/standard/ |
H A D | http.c | 243 static zend_result cache_request_parse_body_option(HashTable *options, zval *option, int cache_offs… in cache_request_parse_body_option() argument 245 if (option) { in cache_request_parse_body_option() 247 if (Z_TYPE_P(option) == IS_STRING) { in cache_request_parse_body_option() 249 result = zend_ini_parse_quantity(Z_STR_P(option), &errstr); in cache_request_parse_body_option() 254 } else if (Z_TYPE_P(option) == IS_LONG) { in cache_request_parse_body_option() 255 result = Z_LVAL_P(option); in cache_request_parse_body_option() 257 zend_value_error("Invalid %s value in $options argument", zend_zval_value_name(option)); in cache_request_parse_body_option()
|
/php-src/ext/zip/ |
H A D | php_zip.c | 360 zval *option; in php_zip_parse_options() local 371 if (Z_TYPE_P(option) != IS_FALSE && Z_TYPE_P(option) != IS_TRUE) { in php_zip_parse_options() 373 zend_zval_value_name(option)); in php_zip_parse_options() 381 zend_zval_value_name(option)); in php_zip_parse_options() 398 zend_zval_value_name(option)); in php_zip_parse_options() 416 zend_zval_value_name(option)); in php_zip_parse_options() 420 if (Z_STRLEN_P(option) == 0) { in php_zip_parse_options() 436 zend_zval_value_name(option)); in php_zip_parse_options() 440 if (Z_STRLEN_P(option) == 0) { in php_zip_parse_options() 456 zend_zval_value_name(option)); in php_zip_parse_options() [all …]
|
/php-src/ext/pcre/tests/ |
H A D | request47456.phpt | 2 Request #47456 (Missing PCRE option 'J') 4 The J modifier is supposed to be identical to the internal option (?J), so we're
|