I'm testing for efficiency and realise that it's possible that some pages
include files, that in turn include files, that in turn etc
Some of these includes are probably not needed and are bloating my site. Is
there an easy way to determine which files have currently been loaded via
includes
I've inherited a web-site where certain pages 'include' over 30 files
(arrrgh!), it runs fine. In fact I'm actually very impressed with the
performance of PHP with many includes.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 20 March 2001 09:44
To: [EMAIL PRO
Haven't tried it but try:
class B extends A {
function B(){
A::A();
// do your extra stuff here.
}
}
-Original Message-
From: Tiago Moitinho [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 16:18
To: '[EMAIL PROTECTED]'
Subject: [PHP-DEV] Constructor Inheritance
Hello
erent physical copy. My question is how
efficient is this? I suspect that PHP would just call a malloc() and
memcpy(), so the overhead shouldn't be too huge. Or am I mistaken and a lot
of extra overhead is involved for the parser to manage the copy.
Thanks in advance
Neil Kimber
--
PHP D
Set up an error-handler that explicitly checks for this error. If it occurs,
output to screen the error with file and line number and exit the script.
The only problem with this is if you've already started dumping HTML and the
error occurs in the middle of a tag. Any subsequent output may not be