ID:               29904
 User updated by:  segv at sayclub dot com
 Reported By:      segv at sayclub dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: linux
 PHP Version:      5.0.1
 New Comment:

I'm sorry. It was a problem of xdebug. :-)
I'm really sorry for annoying you.


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

[2004-08-31 07:06:37] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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

Cannot reproduce. Please try it with the latest snapshot.


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

[2004-08-31 06:33:57] segv at sayclub dot com

Description:
------------
It seems that php crashes when creating object with arguments of
autoloaded class.

Reproduce code:
---------------
test.inc --------------------
<?
  class B {
    function func() {
      return true;
    }
  }
?>

test.php --------------------
<?
  function __autoload($className) {
    include "test.inc";
  }

  class A {
    function __construct ($a) { }
  }
  $a = new A(B::func());
  var_dump($a)
?>


Actual result:
--------------
% php test.php
segment fault



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


-- 
Edit this bug report at http://bugs.php.net/?id=29904&edit=1

Reply via email to