[wp-trac] [WordPress Trac] #13900: Curly Brackets String Index-Based-Access Deprecated

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 09:53:15 UTC 2010


#13900: Curly Brackets String Index-Based-Access Deprecated
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  General       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by nacin):

  * milestone:  Awaiting Triage => 3.1


Comment:

 Did PHP core undeprecate it? Looks like it.

 "Note: Strings may also be accessed using braces, as in $str{42}, for the
 same purpose."

 I'm finding the 5.3.0 reference become 6.0 on a mirror, but that's no
 longer there either.

 I'm still fine with the patch, we should make it our coding standard.
 Incoming.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13900#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list