Re: [PHP-DOC] Proto: | From: Maxim Maletsky (maxim <email protected>)
Date: 02/05/03

Philip Olson <philip <email protected>> wrote... :

> On Wed, 5 Feb 2003, Maxim Maletsky wrote:
>
> >
> > another thing:
> >
> > tons of functions in protos have `long' type. Should we have `int'
> > everywhere there? I doubt there is any particular function which needs
> > to state `long'...
> >
> > if you follow this page, then there is no `long' and no `double' but
> > simply `integer' AKA `int'. In protos there are many `long'. Suggestions?
>
> Depends on what it returns according to the source. Simply
> changing all these to int is not the answer. Some return
> bool, maybe some floats ... so it depends. But never should
> it say 'long'.

Exactly, oit shouldn't be long but whatever other type it returns.

> > P.S: keep running that file :)
>
> I just tried and got undefined variable $ext.

on what line? I have only tested it on my two workstations and a dev
server. Maybe you accessed it in some other way... or maybe thre is a
bug :)

--
Maxim Maletsky
maxim <email protected>

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php