I want to migrate from PHP4 (where I use '<?') to PHP5 (where I must use '<?php').
Do you know a program or a Linux script to do it? Thank you very much.
dreamcatcher
11:51 pm on Nov 25, 2007 (gmt 0)
Hi guarriman,
You can use <? and <?php in both 4 and 5. For <? you would have had short tags enabled in your PHP.ini file. Simple, enable it for 5 as well as you`ll have no problems.
dc
henry0
11:32 am on Nov 26, 2007 (gmt 0)
Short tags are not supported in PHP6 (I think this is a correct statement) if you have a good text editor you may search and replace or (I never used it with tags) you may test if preg_replace [php.net] will do