Home
last modified time | relevance | path

Searched refs:search_str (Results 1 – 4 of 4) sorted by relevance

/PHP-7.1/ext/mbstring/
H A Dphp_mbregex.c46 zval search_str; member
69 ZVAL_UNDEF(&pglobals->search_str); in _php_mb_regex_globals_ctor()
141 if (!Z_ISUNDEF(MBREX(search_str))) { in PHP_RSHUTDOWN_FUNCTION()
142 zval_ptr_dtor(&MBREX(search_str)); in PHP_RSHUTDOWN_FUNCTION()
143 ZVAL_UNDEF(&MBREX(search_str)); in PHP_RSHUTDOWN_FUNCTION()
1263 if (!Z_ISUNDEF(MBREX(search_str)) && Z_TYPE(MBREX(search_str)) == IS_STRING){ in _php_mb_regex_ereg_search_exec()
1265 len = Z_STRLEN(MBREX(search_str)); in _php_mb_regex_ereg_search_exec()
1392 if (!Z_ISNULL(MBREX(search_str))) { in PHP_FUNCTION()
1393 zval_ptr_dtor(&MBREX(search_str)); in PHP_FUNCTION()
1464 …if ((position < 0) && (!Z_ISUNDEF(MBREX(search_str))) && (Z_TYPE(MBREX(search_str)) == IS_STRING))… in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/standard/tests/strings/
H A Dstr_replace_variation2.phpt20 $search_str = array (
59 for( $i = 0; $i < count($search_str); $i++ ) {
62 var_dump( str_replace($search_str[$i], "FOUND", $subject, $count) );
H A Dstr_replace.phpt55 $search_str = array (
94 for( $i = 0; $i < count($search_str); $i++ ) {
97 var_dump( str_replace($search_str[$i], "FOUND", $subject, $count) );
/PHP-7.1/ext/standard/
H A Dstring.c3915 zend_string *search_str = zval_get_string(search_entry); local
3916 if (ZSTR_LEN(search_str) == 0) {
3920 zend_string_release(search_str);
3950 if (ZSTR_LEN(search_str) == 1) {
3954 ZSTR_VAL(search_str)[0],
3963 } else if (ZSTR_LEN(search_str) > 1) {
3966 ZSTR_VAL(search_str), ZSTR_LEN(search_str),
3975 search_str, replace_value, replace_len, &replace_count);
3983 zend_string_release(search_str);

Completed in 32 milliseconds