ID:               46220
 Updated by:       [EMAIL PROTECTED]
 Reported By:      typo3 at maltejansen dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:      5.3.0alpha2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi




Previous Comments:
------------------------------------------------------------------------

[2008-10-02 17:27:24] typo3 at maltejansen dot de

Ok, the it's not related to the comment. But it still crashes :(

------------------------------------------------------------------------

[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

Reply via email to