Compatibility issues with PHP 5.4 and PHP 5.2
We have now bought a new server, with Windows Server R2
Configuring the Environment for PHP 5.4
We developed the use of the 2003,php is 5.2 version, the porting to the new server, the program will affect the operation?
Or do I have to pay attention to those problems?
Share to:
------Solution--------------------
will have some impact
such as $names=split (".", $name); At 5.3 and above must be written as $names=split ("\.", $name);(If you remember it correctly)
Our current project is due to the problem of upgrading from 5.2 to 5.3, which causes some functions to fail.
There are many more, especially those that are no longer used from 5.3, and if they are useful in previous projects, they will fail or error.
Like these errors even if the row-by-line troubleshooting is very difficult, if you have the conditions can be tested in the test environment before upgrading PHP
------Solution--------------------
will be affected, it is recommended to refer to the php5.4 Manual for re-maintenance of the program. Some functions are not recommended in 5.4, and 5.4 code specifications are more stringent