Re: svn: /phpdoc/en/trunk/appendices/ migration53.xml

From: Date: Tue, 21 Sep 2010 16:36:04 +0000
Subject: Re: svn: /phpdoc/en/trunk/appendices/ migration53.xml
References: 1 2  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7144@lists.php.net to get a copy of this message
On 21 September 2010 17:21, Philip Olson <philip@roshambo.org> wrote: > > On Sep 21, 2010, at 9:18 AM, Mark Skilbeck wrote: > >> markskilbeck                             Tue, 21 Sep 2010 16:18:00 +0000 >> >> Revision: >> http://svn.php.net/viewvc?view=revision&revision=303646 >> >> Log: >> #52248 {} is *not* deprecated >> >> Bug: http://bugs.php.net/52248 (Open) PDO::prepare() never >> return false on failure >> >> Changed paths: >>    U   phpdoc/en/trunk/appendices/migration53.xml >> >> Modified: phpdoc/en/trunk/appendices/migration53.xml >> =================================================================== >> --- phpdoc/en/trunk/appendices/migration53.xml        2010-09-21 16:13:24 UTC (rev >> 303645) >> +++ phpdoc/en/trunk/appendices/migration53.xml        2010-09-21 16:18:00 UTC (rev >> 303646) >> @@ -691,12 +691,6 @@ >>      Call-time pass-by-reference is now deprecated. >>     </simpara> >>    </listitem> >> -   <listitem> >> -    <simpara> >> -     The use of <literal>{}</literal> to access string offsets is >> deprecated. >> -     Use <literal>[]</literal> instead. >> -    </simpara> >> -   </listitem> >>   </itemizedlist> >>  </section> > > Says who? In the very least this should be discussed on a mailing list first. > > Regards, > Philip > -- > PHP Documentation Commits Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > No E_DEPRECATED warning when using ... <?php error_reporting(-1); ini_set('display_errors', 1); $a = 'abcd'; echo $a[2], $a{3}; ?> And that's in PHP 5.3.4-dev (cli) (built: Aug 25 2010 17:20:39) admittedly, but so far nothing to say it is E_DEPRECATED. Whereas <?php error_reporting(-1); ini_set('display_errors', 1); echo mktime(1,2,3,4,5,6,7); ?> does ... Deprecated: mktime(): The is_dst parameter is deprecated in - on line 4 1144195323 Documentation is now in agreement with my simple tests. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

« previous php.doc.cvs (#7144) next »