1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00

- Fix issue found by nuno

This commit is contained in:
Marcus Boerger
2006-01-15 00:17:08 +00:00
parent e99778562d
commit 2d3dc44908

View File

@@ -368,6 +368,7 @@ static spl_filesystem_object * spl_filesystem_object_create_type(int ht, spl_fil
Z_TYPE_P(return_value) = IS_NULL;
return NULL;
}
break;
case SPL_FS_DIR:
php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
zend_throw_exception_ex(U_CLASS_ENTRY(spl_ce_RuntimeException), 0 TSRMLS_CC, "Operation not supported");