#35033 [Bgs->Opn]: require include strange behaviour on big files
| From: | luciano at tolomei dot name | Date: | Mon, 31 Oct 2005 18:16:45 +0000 |
| Subject: | #35033 [Bgs->Opn]: require include strange behaviour on big files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87276@lists.php.net to get a copy of this message | ||
ID: 35033
User updated by: luciano at tolomei dot name
Reported By: luciano at tolomei dot name
-Status: Bogus
+Status: Open
Bug Type: *General Issues
Operating System: linux gentoo
PHP Version: 5.0.5
New Comment:
sorry for the bogus about the first part of the bug report.
but:
"we are missing class propierties and methods in extended classes"
is not an intended behaviour.
it happen as i wrote in extended classes.
I have tested it on 3 system with php 5.0.1 and 5.0.5
Previous Comments:
------------------------------------------------------------------------
[2005-10-31 11:47:47] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
------------------------------------------------------------------------
[2005-10-31 11:17:07] luciano at tolomei dot name
Description:
------------
I'm using the prado framework (www.xisc.com)
for performance problems i made a script that aggregate namespaces in
one file.
it seem that on really big files to include, like 400 or more KB:
class aaa extends bbb {}
class bbb {}
will not work, you need to:
class bbb {}
class aaa extends bbb {}
---
Class are missing some extended properties and methods...
The missing prop/methods are in previous defined classes
like
require_once('filea.php');
require_once('fileb.php');
if a class defined in the fileb, BIG file, extends something defined in
filea it will not work anymore.
i'm not sure but it can be also that it's due to:
file a:
class a {}
class b extends b {}
file b:
class c extends b {}
and we are missing class a prop and methods in class c.
Reproduce code:
---------------
i can give an ftp access to an installation of the code.
or a link to a zip to download
Expected result:
----------------
it should work, if we will not aggregate files it work perfectly
Actual result:
--------------
no error shown or logged we arror reporting all activated.
it display property or method not defined.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35033&edit=1