ID: 26027 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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 documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2003-10-29 09:02:05] [EMAIL PROTECTED] 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 http://bugs.php.net/?id=26027&edit=1