php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35044 Segmentation fault
Submitted: 2005-11-01 10:59 UTC Modified: 2005-11-09 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: boris at psyonline dot ru Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.0.5 OS: Linux 2.6.14-rc2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: boris at psyonline dot ru
New email:
PHP Version: OS:

 

 [2005-11-01 10:59 UTC] boris at psyonline dot ru
Description:
------------
Server not found. Segmentation fault

Reproduce code:
---------------
<?php
    function any_func () { 
       return "any_func";
    } 

    $any_var = "any_value";
    switch ($any_var) { 
       default:
          class any_class {  
             function any_class_func() {  
               echo "any_class_func ".any_func()."";
             } 
          } 
          
          $any_class = new any_class();
          $any_class->any_class_func(); 
    } 
?>

Expected result:
----------------
any_class_func any_func

Actual result:
--------------
Server not found. Segmentation fault

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-01 11:18 UTC] johannes@php.net
Please try using this CVS snapshot:

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

Couldn't reproduce with current CVS version. 
 [2005-11-01 13:37 UTC] ihanic at yahoo dot com
sorry, this bag exists only in cvs version PHP_5_0 04.13.2005
all works fine with current php version.
 [2005-11-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 10 18:01:34 2025 UTC