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_cente r_openings_infa nt_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
possible, and was wondering what the constraint on variable naming does
PHP have.
Can I have a variable like:
$provider_cente r_openings_infa nt_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
Comment