From:             [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:      4.0.4pl1
PHP Bug Type:     *Function Specific
Bug description:  Array returned by str_replace unusable.

See http://sbw.sbw.org/str_replace/.

str_replace(-string-, -string-, -array-) should return an array.

It appears that it does so, but when the returned array is passed to implode or each, 
PHP issues warnings:

"Bad arguments to implode()"

"Variable passed to each() is not an array or object"


-- 
Edit Bug report at: http://bugs.php.net/?id=10475&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to