Re: Is echo tag reasonably portable?
| From: | Dan Lowe | Date: | Tue, 15 Nov 2005 18:50:38 +0000 |
| Subject: | Re: Is echo tag reasonably portable? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225859@lists.php.net to get a copy of this message | ||
On Nov 15, 2005, at 8:39 AM, Greg Donald wrote:
On Tue, 15 Nov 2005, Jim Moseby wrote:... Wouldn't catch this case: <? echo $foo ?> -dan -- Black holes are where God divided by zero. -Steven WrightIt will be when you have to sort through 1,000,000 lines of code in 400 files to change '<?' to '<?PHP'. Better to save the grief and do it right to start with, no?for file in *.php; do cp $file $file.tmp sed -e "s/<?$/<?php/g" $file.tmp >$file rm $file.tmp done