Re: Re: "use strict" or similar in PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-02-27 at 09:28 -0700, LuKreme wrote:
> On Feb 27, 2009, at 6:12, Hans Schultz <h.schultz78@xxxxxxxxx> wrote:
> 
> > Hahahah,I was thinking the same thing
> 
> >>
> >>
> >
> The trouble is most people mean "compile a source file to an  
> executable binary" when they sat compile. By this measure, PHP does  
> not compile.

I add the following to the top of my PHP shell scripts:

    #!/usr/bin/php -qC

Then I do the following:

    chmod 775 script.php

Then I run it as follows:

    ./script.php

Look... and executable binary :) Don't say it's not binary. All data on
a hard disk is binary (although I do know what you mean ;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux