|
Posted by Rami Elomaa on 05/29/07 19:53
Giovanni R. kirjoitti:
> As you can see, isset() is weird, and I need to emulate its behaviour.
Isset can't be emulated, because it's not a function, it's a language
construct, similar to echo and unset. You can't replace it's
functionality with a wrapper function, because it's not a function in
the first place. That's why it's "wierd" I suppose. However it returns a
value, and can be used as an expression, so the analogy to echo is not
complete. Echo is even more weird in that sense.
--
Rami.Elomaa@gmail.com
"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
Navigation:
[Reply to this message]
|