Lines Matching refs:delim
819 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long l… in php_explode() argument
823 const char *p2 = php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode()
836 p1 = p2 + ZSTR_LEN(delim); in php_explode()
837 p2 = php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode()
851 PHPAPI void php_explode_negative_limit(const zend_string *delim, zend_string *str, zval *return_val… in php_explode_negative_limit() argument
856 const char *p2 = php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit()
875 positions[found++] = p1 = p2 + ZSTR_LEN(delim); in php_explode_negative_limit()
876 p2 = php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit()
882 ZVAL_STRINGL(&tmp, positions[i], (positions[i+1] - ZSTR_LEN(delim)) - positions[i]); in php_explode_negative_limit()
894 zend_string *str, *delim; in PHP_FUNCTION() local
899 Z_PARAM_STR(delim) in PHP_FUNCTION()
905 if (ZSTR_LEN(delim) == 0) { in PHP_FUNCTION()
921 php_explode(delim, str, return_value, limit); in PHP_FUNCTION()
923 php_explode_negative_limit(delim, str, return_value, limit); in PHP_FUNCTION()
5126 char delim = ',', enc = '"'; local
5139 delim = delim_len ? delim_str[0] : delim;
5145 HashTable *values = php_fgetcsv(NULL, delim, enc, esc, ZSTR_LEN(str), ZSTR_VAL(str));