DragonFly kernel List (threaded) for 2003-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: new sysinstall
:/me too/ :) I have done this on a large scale project (PHP4 for all-around
:scripting) and I really hate putting '<?php' and '?>' at the beginning and
:the end of every single script.
:
:No, it's not hard work, it just looks ugly:
:
:#!/usr/local/bin/php -q
:<?php
: ... code ...
:?>
:
:But then, I'll look forward to anything to escape from /bin/sh! :)))
:
:--
:--
:Logic is a systematic method of coming to the wrong conclusion with
:confidence.
Considering the restricted circumstances of its use I'm sure we can
use the <? ?> shortcut. Alternatively we can free-form the PHP
e.g. like just use braces {....} for the PHP, and then write a
filter to converti t to the <?php ?> form that the web server needs.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]