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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user