From:             typo3 at maltejansen dot de
Operating system: Windows XP SP2
PHP version:      5.3.0alpha2
PHP Bug Type:     Reproducible crash
Bug description:  Writing something to a static var causes a crash instead of 
on error

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

Reply via email to