weird array syntax

Posted by dnagirl on Stack Overflow See other posts from Stack Overflow or by dnagirl
Published on 2010-04-23T13:55:28Z Indexed on 2010/04/23 14:03 UTC
Read the original article Hit count: 364

Filed under:
|
|

I'm trying to figure how a function I've been given works -- or rather doesn't work. The problematic areas include array notation like this:

$small[$end[$i]{0}]

I think the idea is to append "0" to the value of $end[$i] and use that for the index of $small. But it doesn't work in PHP5.3. Is this a deprecated syntax and is it trying to do what I think it is?

© Stack Overflow or respective owner

Related posts about php

Related posts about array