Home
last modified time | relevance | path

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

/PHP-7.0/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()
1219 if (!Z_ISUNDEF(MBREX(search_str)) && Z_TYPE(MBREX(search_str)) == IS_STRING){ in _php_mb_regex_ereg_search_exec()
1221 len = Z_STRLEN(MBREX(search_str)); in _php_mb_regex_ereg_search_exec()
1348 if (!Z_ISNULL(MBREX(search_str))) { in PHP_FUNCTION()
1349 zval_ptr_dtor(&MBREX(search_str)); in PHP_FUNCTION()
1376 len = Z_STRLEN(MBREX(search_str)); in PHP_FUNCTION()
[all …]
/PHP-7.0/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.0/ext/standard/
H A Dstring.c3899 zend_string *search_str = zval_get_string(search_entry); local
3900 if (ZSTR_LEN(search_str) == 0) {
3904 zend_string_release(search_str);
3934 if (ZSTR_LEN(search_str) == 1) {
3938 ZSTR_VAL(search_str)[0],
3947 } else if (ZSTR_LEN(search_str) > 1) {
3950 ZSTR_VAL(search_str), ZSTR_LEN(search_str),
3959 search_str, replace_value, replace_len, &replace_count);
3967 zend_string_release(search_str);

Completed in 30 milliseconds