Home
last modified time | relevance | path

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

12

/PHP-7.3/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.3/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.3/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.c3001 const char *colon; in zend_is_callable_check_func() local
3040 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL && in zend_is_callable_check_func()
3041 colon > Z_STRVAL_P(callable) && in zend_is_callable_check_func()
3042 *(colon-1) == ':' in zend_is_callable_check_func()
3046 colon--; in zend_is_callable_check_func()
3047 clen = colon - Z_STRVAL_P(callable); in zend_is_callable_check_func()
3050 if (colon == Z_STRVAL_P(callable)) { in zend_is_callable_check_func()
H A Dzend_execute_API.c519 char *colon; in zend_use_undefined_constant() local
523 } else if ((colon = (char*)zend_memrchr(ZSTR_VAL(name), ':', ZSTR_LEN(name)))) { in zend_use_undefined_constant()
H A Dzend_execute.c2928 const char *colon; in zend_init_dynamic_call_string() local
2930 if ((colon = zend_memrchr(ZSTR_VAL(function), ':', ZSTR_LEN(function))) != NULL && in zend_init_dynamic_call_string()
2931 colon > ZSTR_VAL(function) && in zend_init_dynamic_call_string()
2932 *(colon-1) == ':' in zend_init_dynamic_call_string()
2935 size_t cname_length = colon - ZSTR_VAL(function) - 1; in zend_init_dynamic_call_string()
/PHP-7.3/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.3/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.3/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.3/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.3/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.c354 char *colon; in check_http_host() local
362 colon = strchr(ZSTR_VAL(host_tmp), ':'); in check_http_host()
363 if (colon) { in check_http_host()
364 ZSTR_LEN(host_tmp) = colon - ZSTR_VAL(host_tmp); in check_http_host()
H A Durl_scanner_ex.re357 char *colon;
365 colon = strchr(ZSTR_VAL(host_tmp), ':');
366 if (colon) {
367 ZSTR_LEN(host_tmp) = colon - ZSTR_VAL(host_tmp);
/PHP-7.3/main/
H A Dnetwork.c517 char *colon; local
534 colon = memchr(addr + 1, ']', addrlen-1);
535 if (!colon || colon[1] != ':') {
538 port = atoi(colon + 2);
541 colon = memchr(addr, ':', addrlen);
542 if (!colon) {
545 port = atoi(colon + 1);
548 tmp = estrndup(addr, colon - addr);
/PHP-7.3/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.3/ext/pdo/
H A Dpdo_dbh.c229 char *colon; in PHP_METHOD() local
247 colon = strchr(data_source, ':'); in PHP_METHOD()
249 if (!colon) { in PHP_METHOD()
260 colon = strchr(data_source, ':'); in PHP_METHOD()
262 if (!colon) { in PHP_METHOD()
275 colon = strchr(data_source, ':'); in PHP_METHOD()
276 if (!colon) { in PHP_METHOD()
282 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
363 dbh->data_source_len = strlen(colon + 1); in PHP_METHOD()
364 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
/PHP-7.3/main/streams/
H A Dxp_socket.c574 char *colon; in parse_ip_address_ex() local
594 colon = memchr(str, ':', str_len - 1); in parse_ip_address_ex()
596 colon = NULL; in parse_ip_address_ex()
598 if (colon) { in parse_ip_address_ex()
599 *portno = atoi(colon + 1); in parse_ip_address_ex()
600 host = estrndup(str, colon - str); in parse_ip_address_ex()
/PHP-7.3/sapi/cli/tests/
H A Dbug78323.phpt17 // colon in flags
/PHP-7.3/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt71 [:] => :
H A Dget_html_translation_table_basic5.phpt642 [:] => :
/PHP-7.3/sapi/fpm/tests/
H A Dresponse.inc229 $this->error("Invalid header row (no colon): $headerRow");
/PHP-7.3/ext/standard/tests/general_functions/
H A Dparse_ini_string_001.phpt11 ; Comment starts with semi-colon(;)

Completed in 106 milliseconds

12