[PHP-DEV] Any way of finding out what files have been included?

2001-03-02 Thread Neil Kimber
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

RE: [PHP-DEV] PHP 4.0 Bug #8945 Updated: include, require, et al.

2001-03-20 Thread Neil Kimber
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

RE: [PHP-DEV] Constructor Inheritance

2001-05-21 Thread Neil Kimber
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

[PHP-DEV] When PHP copies an object is it using a simple malloc and memcpy ?

2001-06-20 Thread Neil Kimber
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

RE: [PHP-DEV] Bug #14285 Updated: Forcing variable declaration

2001-11-29 Thread Neil Kimber
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