Re: 5.4 and safemode
| From: | Kalle Sommer Nielsen | Date: | Fri, 05 Aug 2011 09:59:31 +0000 |
| Subject: | Re: 5.4 and safemode | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54402@lists.php.net to get a copy of this message | ||
Hi Keloran
2011/7/28 Keloran <ava3ar@gmail.com>:
> I noticed that in revision
>
> *313784<http://svn.php.net/viewvc?view=revision&sortby=date&revision=313784>
> *it is checking for safemode/open basedir, but isn't safemode being dropped
> from 5.4 (if going by the RFC), since it was deprecated in 5.3 ?, unless im
> reading that wrong, or if not dropped, then wouldn't this check be moot
> anyway by having the main feature deprecated
>
> just a wonder
>
Late reply; but better late than never. The code for safe_mode
checking is commented out by the compiler preprocessor directives
which are used a few places in extensions thats synced in all active
branches to limit the amount of work needed to maintain different code
in active branches so its without a meaning.
See main/php.h for the API version thats updated at every major/minor
version of PHP.
--
regards,
Kalle Sommer Nielsen
kalle@php.net