|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-17 04:17 UTC] jed@php.net
[2004-12-17 09:07 UTC] saschal at saschal dot ch
[2004-12-17 12:29 UTC] saschal at saschal dot ch
[2004-12-17 16:53 UTC] chregu@php.net
[2004-12-25 15:00 UTC] georg@php.net
[2005-01-11 11:40 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 19:00:01 2025 UTC |
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