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
- Re: [PHP-DOC] settype doc error Hojtsy Gabor
- Re: [PHP-DOC] settype doc error eschmid+sic
- Re: [PHP-DOC] settype doc error Hojtsy Gabor
- Re: [PHP-DOC] settype doc error eschmid+sic
- Re: [PHP-DOC] settype doc error Hojtsy Gabor
- Re: [PHP-DOC] settype doc error Hojtsy Gabor
- Re: [PHP-DOC] settype doc error eschmid+sic
- Hojtsy Gabor
