Home
last modified time | relevance | path

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

12

/PHP-7.2/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.2/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.2/Zend/
H A Dzend_constants.c288 const char *colon; in zend_get_constant_ex() local
300 if ((colon = zend_memrchr(name, ':', name_len)) && in zend_get_constant_ex()
301 colon > name && (*(colon - 1) == ':')) { in zend_get_constant_ex()
302 int class_name_len = colon - name - 1; in zend_get_constant_ex()
304 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0); in zend_get_constant_ex()
376 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) { in zend_get_constant_ex()
378 int prefix_len = colon - name; in zend_get_constant_ex()
380 const char *constant_name = colon + 1; in zend_get_constant_ex()
H A Dzend_execute.c2553 const char *colon; in zend_init_dynamic_call_string() local
2555 if ((colon = zend_memrchr(ZSTR_VAL(function), ':', ZSTR_LEN(function))) != NULL && in zend_init_dynamic_call_string()
2556 colon > ZSTR_VAL(function) && in zend_init_dynamic_call_string()
2557 *(colon-1) == ':' in zend_init_dynamic_call_string()
2560 size_t cname_length = colon - ZSTR_VAL(function) - 1; in zend_init_dynamic_call_string()
H A Dzend_API.c2990 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.c551 char *colon; in zval_update_constant_ex() local
576 } else if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) { in zval_update_constant_ex()
/PHP-7.2/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.2/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.2/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.2/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.2/scripts/dev/generate-phpt/src/texts/
H A Dhelp.txt11 -s sections....................... Create optional sections, colon separated list
/PHP-7.2/main/
H A Dnetwork.c517 char *colon; local
532 colon = memchr(addr + 1, ']', addrlen-1);
533 if (!colon || colon[1] != ':') {
536 port = atoi(colon + 2);
539 colon = memchr(addr, ':', addrlen);
540 if (!colon) {
543 port = atoi(colon + 1);
546 tmp = estrndup(addr, colon - addr);
/PHP-7.2/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.2/ext/pdo/
H A Dpdo_dbh.c204 char *colon; in PHP_METHOD() local
222 colon = strchr(data_source, ':'); in PHP_METHOD()
224 if (!colon) { in PHP_METHOD()
235 colon = strchr(data_source, ':'); in PHP_METHOD()
237 if (!colon) { in PHP_METHOD()
250 colon = strchr(data_source, ':'); in PHP_METHOD()
251 if (!colon) { in PHP_METHOD()
257 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
338 dbh->data_source_len = strlen(colon + 1); in PHP_METHOD()
339 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
/PHP-7.2/main/streams/
H A Dxp_socket.c570 char *colon; in parse_ip_address_ex() local
590 colon = memchr(str, ':', str_len - 1); in parse_ip_address_ex()
592 colon = NULL; in parse_ip_address_ex()
594 if (colon) { in parse_ip_address_ex()
595 *portno = atoi(colon + 1); in parse_ip_address_ex()
596 host = estrndup(str, colon - str); in parse_ip_address_ex()
/PHP-7.2/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt71 [:] => :
/PHP-7.2/ext/standard/
H A Durl_scanner_ex.c352 char *colon; in check_http_host() local
360 colon = strchr(ZSTR_VAL(host_tmp), ':'); in check_http_host()
361 if (colon) { in check_http_host()
362 ZSTR_LEN(host_tmp) = colon - ZSTR_VAL(host_tmp); in check_http_host()
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.2/sapi/fpm/tests/
H A Dresponse.inc229 $this->error("Invalid header row (no colon): $headerRow");
/PHP-7.2/ext/standard/tests/general_functions/
H A Dparse_ini_string_001.phpt11 ; Comment starts with semi-colon(;)
/PHP-7.2/ext/pcre/pcrelib/testdata/
H A Dtestinput14229 : # closing colon
H A Dtestinput17147 : # closing colon

Completed in 81 milliseconds

12