Home
last modified time | relevance | path

Searched refs:colon (Results 1 – 25 of 32) sorted by relevance

12

/PHP-7.4/ext/json/tests/
H A Dfail001.phpt29 '{"Missing colon" null}',
30 '{"Double colon":: null}',
31 '{"Comma instead of colon", null}',
137 Testing: {"Missing colon" null}
142 Testing: {"Double colon":: null}
147 Testing: {"Comma instead of colon", null}
/PHP-7.4/Zend/tests/
H A Dindirect_call_string_002.phpt53 // Test string ending in single colon
61 // Test string beginning in single colon
69 // Test single colon
/PHP-7.4/Zend/
H A Dzend_constants.c325 const char *colon; in zend_get_constant_ex() local
337 if ((colon = zend_memrchr(name, ':', name_len)) && in zend_get_constant_ex()
338 colon > name && (*(colon - 1) == ':')) { in zend_get_constant_ex()
339 int class_name_len = colon - name - 1; in zend_get_constant_ex()
341 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0); in zend_get_constant_ex()
415 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) { in zend_get_constant_ex()
417 int prefix_len = colon - name; in zend_get_constant_ex()
419 const char *constant_name = colon + 1; in zend_get_constant_ex()
H A Dzend_API.c3018 const char *colon; in zend_is_callable_check_func() local
3057 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL && in zend_is_callable_check_func()
3058 colon > Z_STRVAL_P(callable) && in zend_is_callable_check_func()
3059 *(colon-1) == ':' in zend_is_callable_check_func()
3063 colon--; in zend_is_callable_check_func()
3064 clen = colon - Z_STRVAL_P(callable); in zend_is_callable_check_func()
3067 if (colon == Z_STRVAL_P(callable)) { in zend_is_callable_check_func()
H A Dzend_execute_API.c566 char *colon; in zend_use_undefined_constant() local
570 } else if ((colon = (char*)zend_memrchr(ZSTR_VAL(name), ':', ZSTR_LEN(name)))) { in zend_use_undefined_constant()
H A Dzend_execute.c4036 const char *colon; in zend_init_dynamic_call_string() local
4038 if ((colon = zend_memrchr(ZSTR_VAL(function), ':', ZSTR_LEN(function))) != NULL && in zend_init_dynamic_call_string()
4039 colon > ZSTR_VAL(function) && in zend_init_dynamic_call_string()
4040 *(colon-1) == ':' in zend_init_dynamic_call_string()
4043 size_t cname_length = colon - ZSTR_VAL(function) - 1; in zend_init_dynamic_call_string()
/PHP-7.4/sapi/cgi/tests/
H A D011.phpt112 Warning: Header to delete may not contain colon. in %s on line 3
124 Warning: Header to delete may not contain colon. in %s on line 3
150 Warning: Header to delete may not contain colon. in %s on line 2
/PHP-7.4/ext/standard/tests/url/
H A Dbug69976.phpt2 Bug #69976 (Unable to parse "all" urls with colon char)
H A Dbug74780.phpt2 Bug #74780 parse_url() borks when query string contains colon
/PHP-7.4/ext/standard/tests/file/
H A Dbug51094.phpt2 Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon).
H A Dparse_ini_file.phpt13 ; Comment starts with semi-colon(;)
/PHP-7.4/ext/date/tests/
H A Dgmdate_variation10.phpt29 echo "\n-- Testing gmdate() function with Difference to GMT in hours using colon as separator forma…
58 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format --
/PHP-7.4/ext/standard/
H A Dnet.c88 char *colon = strchr(ZSTR_VAL(ret), '%'); in php_inet_ntop() local
89 if (colon) { *colon = 0; } in php_inet_ntop()
H A Durl_scanner_ex.re355 char *colon;
363 colon = strchr(ZSTR_VAL(host_tmp), ':');
364 if (colon) {
365 ZSTR_LEN(host_tmp) = colon - ZSTR_VAL(host_tmp);
/PHP-7.4/main/
H A Dnetwork.c518 char *colon; local
535 colon = memchr(addr + 1, ']', addrlen-1);
536 if (!colon || colon[1] != ':') {
539 port = atoi(colon + 2);
542 colon = memchr(addr, ':', addrlen);
543 if (!colon) {
546 port = atoi(colon + 1);
549 tmp = estrndup(addr, colon - addr);
/PHP-7.4/ext/zip/tests/
H A Dbug77978.phpt2 Bug #77978 (Dirname ending in colon unzips to wrong dir)
/PHP-7.4/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt21 echo 'Cannot access privateInstance method statically with colon scheme'."\n";
81 echo 'Cannot access private static method statically with colon scheme'."\n";
199 Cannot access privateInstance method statically with colon scheme
204 Cannot access private static method statically with colon scheme
H A Dclosure_from_callable_basic.phpt16 echo 'Access public static function with colon scheme';
103 Access public static function with colon scheme OK
/PHP-7.4/ext/pdo/
H A Dpdo_dbh.c230 char *colon; in PHP_METHOD() local
248 colon = strchr(data_source, ':'); in PHP_METHOD()
250 if (!colon) { in PHP_METHOD()
261 colon = strchr(data_source, ':'); in PHP_METHOD()
263 if (!colon) { in PHP_METHOD()
276 colon = strchr(data_source, ':'); in PHP_METHOD()
277 if (!colon) { in PHP_METHOD()
283 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
364 dbh->data_source_len = strlen(colon + 1); in PHP_METHOD()
365 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
/PHP-7.4/main/streams/
H A Dxp_socket.c580 char *colon; in parse_ip_address_ex() local
600 colon = memchr(str, ':', str_len - 1); in parse_ip_address_ex()
602 colon = NULL; in parse_ip_address_ex()
604 if (colon) { in parse_ip_address_ex()
605 *portno = atoi(colon + 1); in parse_ip_address_ex()
606 host = estrndup(str, colon - str); in parse_ip_address_ex()
/PHP-7.4/sapi/cli/tests/
H A Dbug78323.phpt17 // colon in flags
/PHP-7.4/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt71 [:] => :
H A Dget_html_translation_table_basic5.phpt642 [:] => :
/PHP-7.4/sapi/fpm/tests/
H A Dresponse.inc257 $this->error("Invalid header row (no colon): $headerRow");
/PHP-7.4/ext/standard/tests/general_functions/
H A Dparse_ini_string_001.phpt11 ; Comment starts with semi-colon(;)

Completed in 118 milliseconds

12