Home
last modified time | relevance | path

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

12

/PHP-7.0/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.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-7.0/Zend/
H A Dzend_constants.c300 const char *colon; in zend_get_constant_ex() local
312 if ((colon = zend_memrchr(name, ':', name_len)) && in zend_get_constant_ex()
313 colon > name && (*(colon - 1) == ':')) { in zend_get_constant_ex()
314 int class_name_len = colon - name - 1; in zend_get_constant_ex()
316 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_API.c2917 const char *colon; in zend_is_callable_check_func() local
2967 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL && in zend_is_callable_check_func()
2968 colon > Z_STRVAL_P(callable) && in zend_is_callable_check_func()
2969 *(colon-1) == ':' in zend_is_callable_check_func()
2971 colon--; in zend_is_callable_check_func()
2972 clen = colon - Z_STRVAL_P(callable); in zend_is_callable_check_func()
2975 if (colon == Z_STRVAL_P(callable)) { in zend_is_callable_check_func()
H A Dzend_execute_API.c556 char *colon; in zval_update_constant_ex() local
579 } else if ((colon = (char*)zend_memrchr(Z_STRVAL_P(p), ':', Z_STRLEN_P(p)))) { in zval_update_constant_ex()
H A Dzend_compile.c2921 const char *colon; in zend_compile_dynamic_call() local
2923 …if ((colon = zend_memrchr(ZSTR_VAL(str), ':', ZSTR_LEN(str))) != NULL && colon > ZSTR_VAL(str) && … in zend_compile_dynamic_call()
2924 zend_string *class = zend_string_init(ZSTR_VAL(str), colon - ZSTR_VAL(str) - 1, 0); in zend_compile_dynamic_call()
2925 … zend_string *method = zend_string_init(colon + 1, ZSTR_LEN(str) - (colon - ZSTR_VAL(str)) - 1, 0); in zend_compile_dynamic_call()
/PHP-7.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-7.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-7.0/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.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.phpt13 ; Comment starts with semi-colon(;)
/PHP-7.0/scripts/dev/generate-phpt/src/texts/
H A Dhelp.txt11 -s sections....................... Create optional sections, colon separated list
/PHP-7.0/main/
H A Dnetwork.c524 char *colon; local
537 colon = memchr(addr + 1, ']', addrlen-1);
538 if (!colon || colon[1] != ':') {
541 port = atoi(colon + 2);
544 colon = memchr(addr, ':', addrlen);
545 if (!colon) {
548 port = atoi(colon + 1);
551 tmp = estrndup(addr, colon - addr);
/PHP-7.0/ext/pdo/
H A Dpdo_dbh.c204 char *colon; in PHP_METHOD() local
220 colon = strchr(data_source, ':'); in PHP_METHOD()
222 if (!colon) { in PHP_METHOD()
233 colon = strchr(data_source, ':'); in PHP_METHOD()
235 if (!colon) { in PHP_METHOD()
248 colon = strchr(data_source, ':'); in PHP_METHOD()
249 if (!colon) { in PHP_METHOD()
255 driver = pdo_find_driver(data_source, colon - data_source); in PHP_METHOD()
336 dbh->data_source_len = strlen(colon + 1); in PHP_METHOD()
337 dbh->data_source = (const char*)pestrdup(colon + 1, is_persistent); in PHP_METHOD()
/PHP-7.0/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.0/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt71 [:] => :
H A Dget_html_translation_table_basic5.phpt642 [:] => :
H A Dhtml_entity_decode_html5.phpt822 ":",
2956 : => : 3a
/PHP-7.0/ext/standard/tests/general_functions/
H A Dparse_ini_string_001.phpt11 ; Comment starts with semi-colon(;)
/PHP-7.0/ext/pcre/pcrelib/testdata/
H A Dtestinput14229 : # closing colon
H A Dtestinput17147 : # closing colon
H A Dtestoutput14296 : # closing colon
H A Dtestoutput17163 : # closing colon
H A Dtestinput1217 Well, we need a colon: somewhere
603 : # closing colon
3780 /^(?!:) # colon disallowed at start
3784 : # followed by colon

Completed in 102 milliseconds

12