Mark wrote:
> Mark wrote:
> 
>> I have an extension that seems to create PHP variables correctly, and
>> var_dump() doesn't seem to have a problem. but upon moving to 5.1.x it
>> fails.
>>
>> Anyone have a suggestion?
> 
> Well, it is fixed. Evidently, PHP 5.1 sees a difference between $var["0"]
> and $var[0]. It never did before.

a quick test on 5.1.1 shows this not to be the case
(at least at the userland level):

# php -v
PHP 5.1.1 (cli) (built: Jan 18 2006 17:41:38)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

# php -r '$r = array();$r[0] = "test";var_dump($r[0],$r["0"]);$r["0"] = 
"test2";var_dump($r[0],$r["0"]);'
string(4) "test"
string(4) "test"
string(5) "test2"
string(5) "test2"

seems the perceived problem is being caused by something else?

> 
> BTW: this behavior is almost certainly in wddx.
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to