Just Learning PHP

This is a discussion on Just Learning PHP within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Thanks. This looks like most of what I was looking for, especially on curly braces. Never would have thought to ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 09-09-2007
Kenoli
 
Posts: n/a
Default Re: Just Learning PHP

Thanks. This looks like most of what I was looking for, especially on
curly braces. Never would have thought to look under "strings." At
first glance I didn't see an explanation about when and when not to
use single quotes around array keys. It gets complicated as array
keys are supplied from various sources, i.e. variables, table
columns,form attributes, etc. and given where they come from, the
quote requirement seems to change. I will keep looking in the
article.

--Kenoli

On Sep 7, 4:08 pm, Ian Hobson <ian.hob...@ntlworld.com> wrote:
> 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/languag...language.types...
>
> Regards
>
> Ian



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0