On Sun, Apr 22, 2001 at 10:03:03AM +0200, Hojtsy Gabor wrote:

> 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. :)

What types can be $abc? If you have some working examples, change the
docs. Don't forget to correct the protos in the source also.

-Egon

-- 
LinuxTag, Stuttgart, Germany: July 5-8 2001: http://www.linuxtag.de/
All known books about PHP and related books: http://php.net/books.php 
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/

Reply via email to