1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 18:22:42 +01:00

- Missing argument to type "t"

This commit is contained in:
Felipe Pena
2008-09-12 16:24:12 +00:00
parent 2f52949fec
commit 4768abe05f

View File

@@ -879,11 +879,11 @@ SPL_METHOD(SplFileInfo, getBasename)
spl_filesystem_object *intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
zstr fname, suffix, path;
int flen, slen = 0, path_len;
zend_uchar path_type;
zend_uchar path_type, stype;
suffix.v = 0;
if (intern->file_name_type == IS_UNICODE) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|t", &suffix.u, &slen) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|t", &suffix, &slen, &stype) == FAILURE) {
return;
}
} else {