Date: 01/13/02
- Next message: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Previous message: Georg Richter: "[PHP-DOC] cvs: phpdoc /en/functions ncurses.xml"
- In reply to: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Next in thread: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Reply: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > The question is to check for $_GET [isset($_GET)] or phpversion()
> > > 4.1.0 [version_compare() is the function for that thing :)].
> >
> > Well, you are right, that if we are < 4.1.0, you can do:
> >
> > fake.php?_GET[a]=b&_GET[c]=d
> >
> > so my idea may not be that good :)
>
> Yep ...
>
> I'ld like to see a the-all-in-one solution does work < 4.1.0
> and with >= 4.1.0 without too many restriction. Correction,
> no 'I' like to see it, but it could be of very valueable
> benefit for many developers out there.
To correct my statements above, for version compares,
version_compare() is only available in PHP 4 >= 4.1.0,
so for these "compatibility snippets", one need to use
his own version compare function.
Goba
- Next message: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Previous message: Georg Richter: "[PHP-DOC] cvs: phpdoc /en/functions ncurses.xml"
- In reply to: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Next in thread: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Reply: Markus Fischer: "Re: [PHP-DOC] Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] superglobals and bc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

