Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/json/tests/
H A Dfail001.phpt25 '{"Missing colon" null}',
26 '{"Double colon":: null}',
27 '{"Comma instead of colon", null}',
133 Testing: {"Missing colon" null}
138 Testing: {"Double colon":: null}
143 Testing: {"Comma instead of colon", null}
/PHP-8.0/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-8.0/Zend/
H A Dzend_constants.c330 const char *colon; in zend_get_constant_ex() local
342 if ((colon = zend_memrchr(name, ':', name_len)) && in zend_get_constant_ex()
343 colon > name && (*(colon - 1) == ':')) { in zend_get_constant_ex()
344 int class_name_len = colon - name - 1; in zend_get_constant_ex()
346 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0); in zend_get_constant_ex()
420 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) { in zend_get_constant_ex()
422 int prefix_len = colon - name; in zend_get_constant_ex()
424 const char *constant_name = colon + 1; in zend_get_constant_ex()
H A Dzend_API.c3115 const char *colon; in zend_is_callable_check_func() local
3154 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL && in zend_is_callable_check_func()
3155 colon > Z_STRVAL_P(callable) && in zend_is_callable_check_func()
3156 *(colon-1) == ':' in zend_is_callable_check_func()
3160 colon--; in zend_is_callable_check_func()
3161 clen = colon - Z_STRVAL_P(callable); in zend_is_callable_check_func()
3164 if (colon == Z_STRVAL_P(callable)) { in zend_is_callable_check_func()
H A Dzend_execute.c4203 const char *colon; in zend_init_dynamic_call_string() local
4205 if ((colon = zend_memrchr(ZSTR_VAL(function), ':', ZSTR_LEN(function))) != NULL && in zend_init_dynamic_call_string()
4206 colon > ZSTR_VAL(function) && in zend_init_dynamic_call_string()
4207 *(colon-1) == ':' in zend_init_dynamic_call_string()
4210 size_t cname_length = colon - ZSTR_VAL(function) - 1; in zend_init_dynamic_call_string()
H A Dzend_compile.c3617 const char *colon; in zend_compile_dynamic_call() local
3619 …if ((colon = zend_memrchr(ZSTR_VAL(str), ':', ZSTR_LEN(str))) != NULL && colon > ZSTR_VAL(str) && … in zend_compile_dynamic_call()
3620 zend_string *class = zend_string_init(ZSTR_VAL(str), colon - ZSTR_VAL(str) - 1, 0); in zend_compile_dynamic_call()
3621 … zend_string *method = zend_string_init(colon + 1, ZSTR_LEN(str) - (colon - ZSTR_VAL(str)) - 1, 0); in zend_compile_dynamic_call()
/PHP-8.0/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-8.0/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-8.0/ext/date/tests/
H A Dgmdate_variation10.phpt23 echo "\n-- Testing gmdate() function with Difference to GMT in hours using colon as separator forma…
51 -- Testing gmdate() function with Difference to GMT in hours using colon as separator format --
/PHP-8.0/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.phpt8 ; Comment starts with semi-colon(;)
/PHP-8.0/ext/standard/
H A Dnet.c92 char *colon = strchr(ZSTR_VAL(ret), '%'); in php_inet_ntop() local
93 if (colon) { *colon = 0; } in php_inet_ntop()
H A Durl_scanner_ex.re353 char *colon;
361 colon = strchr(ZSTR_VAL(host_tmp), ':');
362 if (colon) {
363 ZSTR_LEN(host_tmp) = colon - ZSTR_VAL(host_tmp);
/PHP-8.0/ext/zip/tests/
H A Dbug77978.phpt2 Bug #77978 (Dirname ending in colon unzips to wrong dir)
/PHP-8.0/main/
H A Dnetwork.c514 char *colon; local
531 colon = memchr(addr + 1, ']', addrlen-1);
532 if (!colon || colon[1] != ':') {
535 port = atoi(colon + 2);
538 colon = memchr(addr, ':', addrlen);
539 if (!colon) {
542 port = atoi(colon + 1);
545 tmp = estrndup(addr, colon - addr);
/PHP-8.0/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";
198 Cannot access privateInstance method statically with colon scheme
203 Cannot access private static method statically with colon scheme
H A Dclosure_from_callable_basic.phpt16 echo 'Access public static function with colon scheme';
102 Access public static function with colon scheme OK
/PHP-8.0/ext/pdo/
H A Dpdo_dbh.c231 char *colon; in PHP_METHOD() local
249 colon = strchr(data_source, ':'); in PHP_METHOD()
251 if (!colon) { in PHP_METHOD()
262 colon = strchr(data_source, ':'); in PHP_METHOD()
264 if (!colon) { in PHP_METHOD()
277 colon = strchr(data_source, ':'); in PHP_METHOD()
278 if (!colon) { in PHP_METHOD()
284 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
365 dbh->data_source_len = strlen(colon + 1); in PHP_METHOD()
366 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
/PHP-8.0/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-8.0/sapi/cli/tests/
H A Dbug78323.phpt17 // colon in flags
/PHP-8.0/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt71 [:] => :
H A Dget_html_translation_table_basic5.phpt642 [:] => :
/PHP-8.0/sapi/fpm/tests/
H A Dresponse.inc287 $this->error("Invalid header row (no colon): $headerRow");
/PHP-8.0/ext/standard/tests/general_functions/
H A Dparse_ini_string_001.phpt6 ; Comment starts with semi-colon(;)

Completed in 93 milliseconds

12