ID: 46220 Comment by: typo3 at maltejansen dot de Reported By: typo3 at maltejansen dot de Status: Open Bug Type: Reproducible crash Operating System: Windows XP SP2 PHP Version: 5.3.0alpha2 New Comment:
Ok, the it's not related to the comment. But it still crashes :( Previous Comments: ------------------------------------------------------------------------ [2008-10-02 17:04:59] typo3 at maltejansen dot de Description: ------------ (The crashes seem to be only on windows.) Writing something to a static member var causes a crash instead of on error like "Don't write something into a static member var." Seems to be relate to the comment: http://de.php.net/manual/en/language.oop5.static.php#85277 Reproduce code: --------------- The F3_Testing_Model_TestRunner is called by F3_Testing_TestRunnerWeb http://forge.typo3.org/repositories/changes/package-testing/trunk/Classes/F3_Testing_TestRunnerWeb.php http://forge.typo3.org/repositories/entry/package-testing/trunk/Classes/Model/F3_Testing_Model_TestRunner.php Expected result: ---------------- An error message should be shown, that's not possible to write into static member var. Actual result: -------------- Apache crashes. (Xampp for Windows with PHP5.3alpha2) If I removed the lines, writing into the static member var, in the constructor of F3::Testing::Model::TestRunner and the script is working. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46220&edit=1