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

Reply via email to