Re: [PHP-DEV] Re: LOCK_SH for file_get_contents ?

2022-04-25 Thread Guilliam Xavier
First, hello... > This has been requested for years (since at least 2009?) but it seems no > > actual plan has been proposed > > How about this? > > since we already have the constant FILE_USE_INCLUDE_PATH , seems it was > > introduced in PHP5.0.0, > > > > 1: FILE_USE_INCLUDE_PATH currently collid

[PHP-DEV] Re: LOCK_SH for file_get_contents ?

2022-04-23 Thread Hans Henrik Bergan
can we at least change FILE_USE_INCLUDE_PATH to 8 / (1<<3) ? that would allow a userland implementation of file_get_contents to support LOCK_SH and FILE_USE_INCLUDE_PATH The current situation is so bad that FILE_USE_INCLUDE_PATH literally cannot be used in strict_mode=1, it's pretty much complete