@@ -1284,7 +1284,6 @@ SPL_METHOD(SplFileInfo, getLinkTarget)
12841284}
12851285/* }}} */
12861286
1287- #if HAVE_REALPATH || defined(ZTS )
12881287/* {{{ proto string SplFileInfo::getRealPath()
12891288 Return the resolved path */
12901289SPL_METHOD (SplFileInfo , getRealPath )
@@ -1325,7 +1324,6 @@ SPL_METHOD(SplFileInfo, getRealPath)
13251324 zend_restore_error_handling (& error_handling );
13261325}
13271326/* }}} */
1328- #endif
13291327
13301328/* {{{ proto SplFileObject SplFileInfo::openFile([string mode = 'r' [, bool use_include_path [, resource context]]])
13311329 Open the current file */
@@ -1900,9 +1898,7 @@ static const zend_function_entry spl_SplFileInfo_functions[] = {
19001898 SPL_ME (SplFileInfo , isDir , arginfo_class_SplFileInfo_isDir , ZEND_ACC_PUBLIC )
19011899 SPL_ME (SplFileInfo , isLink , arginfo_class_SplFileInfo_isLink , ZEND_ACC_PUBLIC )
19021900 SPL_ME (SplFileInfo , getLinkTarget , arginfo_class_SplFileInfo_getLinkTarget , ZEND_ACC_PUBLIC )
1903- #if HAVE_REALPATH || defined (ZTS )
19041901 SPL_ME (SplFileInfo , getRealPath , arginfo_class_SplFileInfo_getRealPath , ZEND_ACC_PUBLIC )
1905- #endif
19061902 SPL_ME (SplFileInfo , getFileInfo , arginfo_class_SplFileInfo_getFileInfo , ZEND_ACC_PUBLIC )
19071903 SPL_ME (SplFileInfo , getPathInfo , arginfo_class_SplFileInfo_getPathInfo , ZEND_ACC_PUBLIC )
19081904 SPL_ME (SplFileInfo , openFile , arginfo_class_SplFileInfo_openFile , ZEND_ACC_PUBLIC )
0 commit comments