ID:               29904
 Updated by:       [EMAIL PROTECTED]
 Reported By:      segv at sayclub dot com
 Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: linux
 PHP Version:      5.0.1
 New Comment:

I also can't reproduce this bug with Xdebug loaded btw. 

Derick


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

[2004-08-31 08:01:05] [EMAIL PROTECTED]

Not a PHP bug -> bogus.

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

[2004-08-31 07:38:32] segv at sayclub dot com

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

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

[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