ID: 31141 User updated by: saschal at saschal dot ch Reported By: saschal at saschal dot ch -Status: Feedback +Status: Open Bug Type: DOM XML related -Operating System: +Operating System: Win 32 / Linux PHP Version: 5.0.3 New Comment:
I use win32 XAMPP 1.4.10 ( http://www.apachefriends.org/en/xampp-windows.html ) and Linux PHP 5.0.3RC2 (cli) (built: Dec 15 2004 14:43:51) Previous Comments: ------------------------------------------------------------------------ [2004-12-17 04:17:10] [EMAIL PROTECTED] I can verify this on Win32, but please fill in your OS. Are you using Win32 as well? ------------------------------------------------------------------------ [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