ID:          31141
 Updated by:  [EMAIL PROTECTED]
 Reported By: saschal at saschal dot ch
-Status:      Open
+Status:      Feedback
 Bug Type:    DOM XML related
 PHP Version: 5.0.3
 New Comment:

I can verify this on Win32, but please fill in your OS. Are you using
Win32 as well?


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

[2004-12-17 01:31:00] saschal at saschal dot ch

Description:
------------
If my test class is extended with the DOMDocument class, the alias
variable becomes a wrong type (NULL).


Reproduce code:
---------------
class Test extends DOMDocument
{
        public $array = array();

        function __construct()
        {
        parent::__construct();

        if(!$ar_test) {
            $ar_test = array();
        }
        $this->array = &$ar_test;
        echo gettype($this->array);
        }
}
$newtest = new Test;

// $this->array is NULL

Expected result:
----------------
type should be array

Actual result:
--------------
type is NULL


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


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

Reply via email to