From: Marcus Boerger Date: Wed, 30 Jan 2008 23:50:23 +0000 (+0000) Subject: - SPL has been changed X-Git-Tag: RELEASE_2_0_0a1~683 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d3758fa0874d86f630cda51e16bf1cca697477b;p=php - SPL has been changed --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 09edd815f4..1b5cb494c6 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1061,7 +1061,9 @@ static int phar_build(zend_object_iterator *iter, void *puser TSRMLS_DC) } switch (intern->type) { case SPL_FS_DIR: -#if PHP_VERSION_ID >= 50300 +#if PHP_VERSION_ID >= 60000 + test = spl_filesystem_object_get_path(intern, NULL, NULL TSRMLS_CC).s; +#elif PHP_VERSION_ID >= 50300 test = spl_filesystem_object_get_path(intern, NULL TSRMLS_CC); #else test = intern->path;