Re: [PHP-DEV] E_DEPRECATED for 5.3

2008-02-18 Thread Lukas Kahwe Smith


On 16.02.2008, at 02:14, Lars Strojny wrote:


I've heard that E_DEPRECATED is still missing nevertheless its
introduction is planned for 5.3. So I've wrote it [1] based on a
slightly outdated patch by Felipe. The patch is so far complete, as  
far


Thx!


as I can tell, but one thing I'm wondering about is whether we should
trigger E_DEPRECATED warnings if the related ini-settings are present
(magic_quotes_gpc, magic_quotes_runtime, register_globals). I would  
say

yes, but I need some advice where to do that.


like others have said .. yes .. these should emit deprecated warnings.


For the docs team: I've added links in the E_DEPRECATED messages to
http://php.net/{migrate}#deprecated func. The {migrate}-part can
later be easily replaced once the appendix to the migration guide  
which

explains how to deal with this deprecations is set up.


very cool!


 »Aber das Verhältnis von Leben und Produktion, das jenes
  real herabsetzt zur ephemeren Erscheinung von dieser, ist


snip

please do follow the mailinglist rules and keep your signature to 2  
lines max:

http://php.net/reST/php-src/README.MAILINGLIST_RULES

in that context i would like to also remind people that they could be  
doing a better job at quoting. this is not about perfection (which is  
probably hard to define on this anyways), but just try to remember  
that a few seconds of effort will save a couple thousand people at  
least as many seconds.


regards,
Lukas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] E_DEPRECATED for 5.3

2008-02-18 Thread Lars Strojny
Hi Lukas,

Am Montag, den 18.02.2008, 10:33 +0100 schrieb Lukas Kahwe Smith:
[... deprecated ini settings ...]
 like others have said .. yes .. these should emit deprecated warnings.

Would be great if someone could give me a hint where this should be
done. I'm pretty new to the php-src, so I need some advice.
[...]
 please do follow the mailinglist rules and keep your signature to 2  
 lines max:
 http://php.net/reST/php-src/README.MAILINGLIST_RULES

Sorry, seems like a read the rules not carefully enough. Going to use
another signature from now on.

cu, Lars
-- 
Lars Strojny
Senior Software Developer MediaVentures GmbH (http://mediaventures.de)



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: [PHP-DEV] E_DEPRECATED for 5.3

2008-02-16 Thread Marcus Boerger
Hello Lars,

  thanks for doing the work. I'll apply the patch during next week. And yes
you should emit deprecation messages for use of INI settings that are going
to be dropped in 6.0.

marcus

Saturday, February 16, 2008, 2:14:54 AM, you wrote:

 Hi all,

 I've heard that E_DEPRECATED is still missing nevertheless its
 introduction is planned for 5.3. So I've wrote it [1] based on a
 slightly outdated patch by Felipe. The patch is so far complete, as far
 as I can tell, but one thing I'm wondering about is whether we should
 trigger E_DEPRECATED warnings if the related ini-settings are present
 (magic_quotes_gpc, magic_quotes_runtime, register_globals). I would say
 yes, but I need some advice where to do that.

 For the docs team: I've added links in the E_DEPRECATED messages to
 http://php.net/{migrate}#deprecated func. The {migrate}-part can
 later be easily replaced once the appendix to the migration guide which
 explains how to deal with this deprecations is set up.

 [1] http://lars.schokokeks.org/php/e_deprecated-2.diff

 cu, Lars



Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] E_DEPRECATED for 5.3

2008-02-16 Thread Hannes Magnusson
On Feb 16, 2008 2:14 AM, Lars Strojny [EMAIL PROTECTED] wrote:
 For the docs team: I've added links in the E_DEPRECATED messages to
 http://php.net/{migrate}#deprecated func. The {migrate}-part can
 later be easily replaced once the appendix to the migration guide which
 explains how to deal with this deprecations is set up.

Those links should probably be created in php_verror(), not manually.


 [1] http://lars.schokokeks.org/php/e_deprecated-2.diff

get_magic_quotes_runtime() and friends should probably be using
PHP_DEP_FE, not throwing an error themselves.

-Hannes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php