ID: 46000 Updated by: [EMAIL PROTECTED] Reported By: ckl at ecw dot de -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Windows XP SP 3 PHP Version: 5.3.0alpha2 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2008-09-05 07:04:41] ckl at ecw dot de Description: ------------ My ZF application crashes, because "Zend/Session.php" could not be located. I assume this is not a ZF specific issue as the same Script already worked with PHP 5.2.6. There might (!) be a problem with the interpreter recognizing files with the word "namespace" in file-, class- or function name. Some information about the code: * Zend_Session || Zend/Session.php *is* included * require_once 'Zend/Session/Abstract.php' is included and throws no error (Zend/Session.php line 32) * require_once 'Zend/Session/Namespace.php' fails. The file is *not* included As I already mentioned, this code worked in PHP 5.2.6 and I don't think that this is a problem of Zend Framwork. Reproduce code: --------------- function __autoload($clazzName) { Zend_Loader::loadClass($clazzName); } define('ROOT_DIR', dirname(dirname(__FILE__))); // ... // some trivial code that worked // ... Zend_Session::start(); Expected result: ---------------- I expected a working code... Actual result: -------------- "Could not find class Zend_Session in ... at line 0" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46000&edit=1