Improve SPL directory and stat() cache using zend_srting* instead of char*

This commit is contained in:
Dmitry Stogov 2021-02-26 02:28:46 +03:00
parent 5e8ae15c3d
commit 13e4ce386b
13 changed files with 276 additions and 288 deletions

View file

@ -391,7 +391,7 @@ END_EXTERN_C()
/* Flags for url_stat method in wrapper ops */
#define PHP_STREAM_URL_STAT_LINK 1
#define PHP_STREAM_URL_STAT_QUIET 2
#define PHP_STREAM_URL_STAT_NOCACHE 4
#define PHP_STREAM_URL_STAT_IGNORE_OPEN_BASEDIR 4
/* change the blocking mode of stream: value == 1 => blocking, value == 0 => non-blocking. */
#define PHP_STREAM_OPTION_BLOCKING 1