On Thursday 16 February 2006 12:39, Antony Dovgal wrote:
> <?php
> $a->bar = 1;
> var_dump($a);
> ?>
> This code is much simpler, huh?
Yeah, I must have been blinded by the lights. It merely resembles
$foo['bar'] = 'baz';
Where $foo is cast as an array without the need to do $foo = array(); first.

So I guess there is no need for a notice when you apply the same "pattern" to 
an object. 

Wow - what a great debut on the internals list, huh? ;)

Morten

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to