settype doc error
| From: | Hojtsy Gabor | Date: | Sun, 22 Apr 2001 08:03:03 +0000 |
| Subject: | settype doc error | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335076@lists.php.net to get a copy of this message | ||
Hi!
The settype doc says: int settype (string var, string type)
although it should be : int settype (mixed var, string type)
The first argument is not a string.
If it is, you should write:
$abc = "foo"; settye("abc", "integer");
Indeed you must say: settype($abc, "integer");
An example there would be good. :)
Goba
........................................................... . . . . .
Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror