From:             luciano at tolomei dot name
Operating system: linux gentoo
PHP version:      5.0.5
PHP Bug Type:     *General Issues
Bug description:  require include strange behaviour on big files

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 bug report at http://bugs.php.net/?id=35033&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35033&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35033&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35033&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35033&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35033&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35033&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35033&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35033&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35033&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35033&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35033&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35033&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35033&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35033&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35033&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35033&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35033&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35033&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35033&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35033&r=mysqlcfg

Reply via email to