ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
#26065 [Opn]: Crash when nesting classes
by kester dot everts at removethis dot wanadoo dot nl other posts by this author
Oct 31 2003 10:40PM messages near this date
#26065 [Opn]: Crash when nesting classes | #26064 [NEW]: Warning: mime_magic: invalid type 0 in mconvert(). in ...
ID:               26065
 User updated by:  kester dot everts at removethis dot wanadoo dot nl
-Reported By:      kester dot everts at wanadoo dot nl
+Reported By:      kester dot everts at removethis dot wanadoo dot nl
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Windows XP Professional (SP1)
-PHP Version:      5.0.0b1 (beta1)
+PHP Version:      5.0.0b2
 New Comment:

I meant 5.0.0b2...


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

[2003-10-31 17:30:21] kester dot everts at removethis dot wanadoo dot
nl

Description:
------------
When nesting a class within another class function, PHP crashes.
I have PHP running on an Apache2 (2.0.47) server as a module.
Changes in my php.ini, different from php.ini-dist are my SMTP server
setting, my error reporting level setting to E_ALL and the floating
point number precision to 14. No exentions are enabled.

Reproduce code:
---------------
class foo {
 function bar() {
  //here comes the line of doom:
  class my_class {}
 }
}


Expected result:
----------------
I expected PHP to return a fatal error which says that classes cannot
be nested.

Actual result:
--------------
PHP crashed...
I am using Windows, so I have not got a backtrace. I have sent an error
report to Microsoft; maybe that helps.


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


-- 
Edit this bug report at http://bugs.php.net/?id=26065&edit=1
Thread:
kester dot everts at wanadoo dot nl


kester dot everts at removethis dot wanadoo dot nl
kester dot everts at removethis dot wanadoo dot nl

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved