Yes Richard, In fact I know ActionScript and JavaScript and I'm trying to nail the peculiarities of php. I totally agree. I am not used to use ' -> ' to call a method if you know what I mean, but the rest is quite familiar, phew! :) Aside from that, this was just one of the things I could not really understand properly: I could understand the effects, not the reasons behind the effects, if it makes any sense. I think the manula is lacking a couple of lines. One funny thing: in the Welling Thomson - PHP and MySQL Web Development book, at some point this thing is mentioned. They promised they would explain the concept in full detail in chapter 5 and, in chap 5, they kinda forgot to do it.. hehe All the best. In 4/3/08 22:05, Richard Lynch, ceo@xxxxxxxxx ha scritto > On Tue, March 4, 2008 10:12 am, Svevo Romano wrote: >> Still, I jusy wonder how Jochem knew that the line is only executed >> the >> first time a function is called while this info is not available on >> the >> online manual. It's maybe all about how close you are to the community >> and >> how many degrees are between yourself and the source? > > That's how it works in C. > And Perl. > And Modula-2. > And Ada. > And Pascal. > And even Lisp. > . > . > . > > After you've learned a couple computer languages, the rest are mostly > about "differences" and "gotchas" rather than learning something new. > > Ok, except the Lisp/Scheme/Prolog stuff, where you have to think > inside-out. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php