ID: 26027
Updated by: [email]sniperphp.net[/email]
Reported By: [email]mikephp.net[/email]
-Status: Open
+Status: Bogus
Bug Type: Arrays related
PHP Version: 4.3.3
New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the doentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]




Previous Comments:
------------------------------------------------------------------------

[2003-10-29 09:02:05] [email]mikephp.net[/email]

Description:
------------
setType($array, 'string') always raises a notice

Reproduce code:
---------------
$ php -r '$r=array(); settype($r,'string'); var_dump($r);'


Expected result:
----------------
string(5) "Array"


Actual result:
--------------
PHP Notice: Array to string conversion in Command line code on line 1
string(5) "Array"



------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=26027&edit=1[/url]