|
Posted by James Blews on 10/19/05 07:25
I don't see why not. However, usually, 34 characters is not all that
readbable. Some shorthand can be used for things that ANY programmer would
know (jpg, img, db, eml, tbl, etc.).
The biggest concerning is value length(characters to 255, etc.).
Hope it helps,
Jim
<larry@portcommodore.com> wrote in message
news:1129690133.793101.150320@z14g2000cwz.googlegroups.com...
> I'm working on a new project that I want to get as human readable as
> possible, and was wondering what the constraint on variable naming does
> PHP have.
>
> Can I have a variable like:
>
> $provider_center_openings_infant_ft
>
> (34 characters if you want to know)
>
> Also any idea if there is a similar limit to MySQL or Postgre field
> names.
>
> I've been coding for decades back when I had a limit of 2 characters
> for variables on the old Commodore VIC-20, it's kind of hard to get
> used to all this room. I've tried to find my answer in TFMs, but
> nothing really goes into that metric, I figure you PHP code masters
> would know of any (or possible pitfalls) if it bit you once.
>
> Thanks for any insight,
> Larry
>
Navigation:
[Reply to this message]
|