Posted by Ian Hobson on 09/07/07 23:08
Kenoli wrote:
>
> I have never been able to derive a consistent rule for either of these
> two constructs.
>
> Does anyone know the rules here for when one or the other is required
> or not allowed?
>
Hi Kenoli,
It is explained very well in the manual - with examples.
The key part about curly braces is here.
http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex
Regards
Ian
Navigation:
[Reply to this message]
|