> -----Original Message-----
> From: esctoday.com | wouter van vliet [mailto:[EMAIL PROTECTED]
> Sent: 04 June 2003 16:11
> 
> I'm working on quite a large website with a lot of php 
> pages.. And a lot of
> includable functions (modules).. Sometimes one of those modules gets
> included twice accidently and then it generates an error .. 
> of course.. This
> made me wonder of there's any way to prevent the function 
> from being defined
> again.. 

include_once() / require_once()


> Or what I sometimes want to do is overrule a function .. the 
> manual just
> told me PHP does not support this, is that really true?

Yes.

> 
> And then for my last question at this moment... things like 
> "print" and
> "require" are considered langauge construct and therefore 
> don't need the
> parentheses .. Can I make stuff like that myself too, so I can make
> something like a function which does not use parentheses ??

Not that I can think of, no.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to