Re: Deprecation information in versions.xml

From: Date: Sun, 08 Mar 2015 18:12:34 +0000
Subject: Re: Deprecation information in versions.xml
References: 1  Groups: php.doc php.doc.cvs 
Request: Send a blank email to phpdoc+get-969385473@lists.php.net to get a copy of this message
Peter, thank you for posting this information. I was going to do it when I get home, but you were faster :) Yes, help with marking other function would be very appreciated. While currently scripts are checking only the existence of that attribute, we should still care about its correctness (as Peter said), because it can be used in the future (e.g. for generating index of deprecated functions). There are some functions which (as far as I know) were removed without deprecation (see php_check_syntax()), but I think that we should mark them too. Regards, Maciej. W dniu 2015-03-08 o 16:09, Peter Cowburn pisze:
Hi docs chaps, Thanks to Maciej, we have the ability to mark when a function/method was deprecated, in the versions.xml files. Simply add the "deprecated" attribute for the function, containing the version in which deprecation happened. It is going to be a big task getting these versions.xml files up-to-date but when you are amending them, please be super-careful that the information you're adding is correct. In the commit below, I amended some of Maciej's changes... and *still* made a mistake (set_stream_blocking() has been deprecated since 4.0 beta 4!). Cheers, Peter


« previous php.doc (#969385473) next »