Hi there,
I've written a short PHP tutorial and am looking for input - does it
cover enough ground? Is it hard to use as a reference? Does it get
too technical?
Anyway, if you have any ideas as to how it can be improved, I'd be
happy to hear from you. The URL is http://www.hudzilla.org/php and
Michael,
Er, if you're saying that my private variable example shouldn't work, then I
agree - that's the reason I'm confused. Or am I misunderstanding what you're
saying?
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y with an next snapshot.
>
>
> Alan
>
>
> - Original Message -
> From: "Paul Hudson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 11, 2003 11:21 PM
> Subject: [PHP] Private and protected variables in PHP 5?
>
> >
All,
I'm toying with the new stuff available in PHP 5 (latest CVS), but I've hit a
brick wall: both private and protected don't seem to work as I'd expect them
to.
Here's an example script:
Name = "Poppy";
print $poppy->Name;
?>
For some reason, that script works fine - PHP doesn't object
4 matches
Mail list logo