]> granicus.if.org Git - php/commitdiff
- SPL has been changed
authorMarcus Boerger <helly@php.net>
Wed, 30 Jan 2008 23:50:23 +0000 (23:50 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 30 Jan 2008 23:50:23 +0000 (23:50 +0000)
ext/phar/phar_object.c

index 09edd815f4937af88b9d85b52c2d04ce73dce649..1b5cb494c6bfdded39897b224e3a88437a00908b 100755 (executable)
@@ -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;