Lines Matching refs:delim
832 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long l… in php_explode() argument
836 const char *p2 = php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode()
849 p1 = p2 + ZSTR_LEN(delim); in php_explode()
850 p2 = php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode()
864 PHPAPI void php_explode_negative_limit(const zend_string *delim, zend_string *str, zval *return_val… in php_explode_negative_limit() argument
869 const char *p2 = php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit()
888 positions[found++] = p1 = p2 + ZSTR_LEN(delim); in php_explode_negative_limit()
889 p2 = php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit()
895 ZVAL_STRINGL(&tmp, positions[i], (positions[i+1] - ZSTR_LEN(delim)) - positions[i]); in php_explode_negative_limit()
907 zend_string *str, *delim; in PHP_FUNCTION() local
912 Z_PARAM_STR(delim) in PHP_FUNCTION()
918 if (ZSTR_LEN(delim) == 0) { in PHP_FUNCTION()
934 php_explode(delim, str, return_value, limit); in PHP_FUNCTION()
936 php_explode_negative_limit(delim, str, return_value, limit); in PHP_FUNCTION()