Just got into PHP. Bought and read Core PHP Programming by Atkinson and
Suraski. I have a question that didn't seem to be addressed there or
anywhere else I've looked so far. So the answer is probably "can't do it".
Well here goes:
Is it possible to specify a "shortcut" to
xyzzy->firstthing = pflugh;
xyzzy->nextthing = fnord;
(like in ASP where you can say
WITH xyzzy
.firstthing = pflugh
.nextthing = fnord
END WITH
(Yes, I am "converting" - from the ASP religion to the PHP religion!)
It may be there and I just don't realize what it is called in PHP. I didn't
see it. My first excursion into PHP resulted in some really l-o-n-g lines
that would have been nice (lot's less typing) if I could have made them
shorter somehow.
thanks
--