Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to check PHP compatability?
September 11, 2009, 11:43 pm
rate this thread
I have some php files that form an application, and are running on
Apache with PHP4.
Before I migrate to PHP5 is there a way I can process the php files
and check for any issues they might have?
I have already migrated them to a test PHP5 environment, and they seem
fine, but it would be great if there is a tool to run through them and
Is there a way of automatically checking for php references that are
invalid in PHP5?
Thanks for any pointers
- Peter H. Coffin
September 12, 2009, 12:19 am
Re: How to check PHP compatability?
On Sat, 12 Sep 2009 00:43:39 +0100, zeebop wrote:
There are very, very few things that work in PHP 4 that do not work in
PHP 5. Almost all of the very, very few things are esoteric options that
almost nobody seemed to use anyway. The vast majority of changes are new
functions, new suites of functions, and occasional enhancements to
existing functions that are generally enhanced by adding new optional
parameters onto the end end of the list of already optional ones.
The list of incompatible changes is at
If you wrote the programs, anything in there that sounds familiar will
probably need to be checked. Most stuff won't.
"This system operates under martial law. The constitution is suspended. You
have no rights except as declared by the area commander. Violators will be
shot. Repeat violators will be repeatedly shot...." -from "A_W_O_L"