Date: 09/07/01
- Next message: Brian Moon: "Re: [PHP-DEV] patch to make for better shell scripting"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] patch to make for better shell scripting"
- In reply to: mikeheald <email protected>: "[PHP-DEV] Better shell scripting"
- Next in thread: Boian Bonev: "Re: [PHP-DEV] Better shell scripting"
- Reply: Boian Bonev: "Re: [PHP-DEV] Better shell scripting"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Better shell scripting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
What if we introduced a -p option to PHP that starts the Zend parser
in "PHP mode"? For any other files (include/require), it starts in
"HTML mode" though.
- Stig
[<mikeheald <email protected>>]
> Yeah, I agree. However, it might make things a bit muddled
> for people using it as cgi? How would PHP tell if the following
> was PHP code or if its supposed to be echoed to the web browser?
>
> I would rather see a -shell option which does what you describe.
>
> Mike (long-time listener, first-time poster ;)
>
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>
> On 9/7/01, 11:27:30 AM, Edin Kadribasic wrote
> regarding Re: [PHP-DEV] patch to make for better shell scripting:
>
>
> > Almost forgot. IMO -q swich should make starting <?php optional so
> instead
> > of writing:
>
> > #!/usr/bin/php -q
> > <?php
> > print "Hello, world!\n";
> > ?>
>
> > I could simply say:
>
> > #!/usr/bin/php -q
> > print "Hello, world!\n";
>
>
>
> > Edin
>
>
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- Stig Sæther Bakken <ssb <email protected>> Fast Search & Transfer ASA, Trondheim, Norway-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Brian Moon: "Re: [PHP-DEV] patch to make for better shell scripting"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] patch to make for better shell scripting"
- In reply to: mikeheald <email protected>: "[PHP-DEV] Better shell scripting"
- Next in thread: Boian Bonev: "Re: [PHP-DEV] Better shell scripting"
- Reply: Boian Bonev: "Re: [PHP-DEV] Better shell scripting"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Better shell scripting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

