How about this PHP developers: You could make a global variable (or
constant) the user can set like
define('PHP_COMPATIBLE_VERSION', '5.0.1');
or something to tell PHP 6 to interpret it like PHP 5.x . That way, at least
you are guaranteed that the code will work like on that version. It might
> -Original Message-
> From: th.he...@gmail.com [mailto:th.he...@gmail.com] On Behalf Of
> German Geek
> Sent: Thursday, February 05, 2009 5:02 PM
> To: t...@kinetix.gr
> Cc: Matt Pagel; php-general@lists.php.net
> Subject: Re: [PHP] function_exists question
>
&
Why can't you update to Version 5? I might be a bit anal about trying to
always get the newest version of everything, but seriously version 3 has
surely more known security issues as well as performance costs.
What's the cost of upgrading compared to the cost of writing code that works
in every ve
Is there a way to check not only if a function exists, but also to
check that the number and types of parameters desired match a function
definition?
The reason being that additional options have been added in php 4 and
5 to various standard function calls, but I'm still running a php3 and
4 matches
Mail list logo