Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-27 Thread crankypuss
On 07/26/2013 04:56 AM, Ferenc Kovacs wrote: check out http://us1.php.net/phar and http://www.php.net/manual/en/**wrappers.phar.php currently this is the preferred method Preferred by whom, thank you very much? Who is it that has set himself/

Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-26 Thread crankypuss
On 07/25/2013 08:42 AM, Ferenc Kovacs wrote: On Thu, Jul 18, 2013 at 10:38 AM, crankypuss wrote: I've been using PHP for linux command-line applications. Some are quite large. I've built the code to combine the mainline plus everything it calls into a single file to avoid portabil

Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-18 Thread crankypuss
On 07/18/2013 04:20 AM, Alexey Zakhlestin wrote: On 18.07.2013, at 12:38, crankypuss wrote: I've been using PHP for linux command-line applications. Some are quite large. I've built the code to combine the mainline plus everything it calls into a single file to avoid portabil

Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-18 Thread crankypuss
On 07/18/2013 03:07 AM, Terry Ellison wrote: crankypuss wrote: ... I don't want to have to modify the interpreter at this point... Sorry, but this list is for just this purpose, so you post does belong on the DL. Everyone loves a list-nanny Not to worry too much, I expect to get a

Re: [PHP-DEV] execute compressed PHP command-line application

2013-07-18 Thread crankypuss
On 07/18/2013 03:05 AM, Yasuo Ohgaki wrote: Hi, You may use register_shutdown_function() to clean things up after exit() http://jp2.php.net/manual/en/function.register-shutdown-function.php So simply extract files to tmp dir and delete everything after execution. I guess this is what you need.

[PHP-DEV] execute compressed PHP command-line application

2013-07-18 Thread crankypuss
I've been using PHP for linux command-line applications. Some are quite large. I've built the code to combine the mainline plus everything it calls into a single file to avoid portability issues with include libraries. I've built the code to compress the resulting file using gzdeflate after

Re: [PHP-DEV] Object comparison

2012-11-09 Thread crankypuss
On 11/08/2012 05:07 PM, Sara Golemon wrote: From: http://php.net/manual/en/language.operators.comparison.php An object compared to anything which is not a bool, null, or object should result in the object appearing to be greater than the other operand. For example: $a = new stdClass(); $b = ne

Re: [PHP-DEV] [RFC] Implement a LoggerInterface to PHP

2012-11-09 Thread crankypuss
On 11/08/2012 04:42 AM, Florin Razvan Patan wrote: Hello, After a talk on the Symfony framework here: https://github.com/symfony/symfony/issues/5911 Long story short, the point that @Seldaek suggestion to have a common interface for loggers actually makes sense and the best way to have it would

Re: [PHP-DEV] Changing the default value of "true" for CURLOPT_SSL_VERIFYHOST

2012-10-25 Thread crankypuss
and isset() and friends going to forever remain underscore versus non-underscore? Perhaps I have no clue, but it sounded as though the language was to be changed to "fix" an error in an extension, 'scuse me if I'm talking out of my nether orifice. Well, at least you'r

Re: [PHP-DEV] Changing the default value of "true" for CURLOPT_SSL_VERIFYHOST

2012-10-25 Thread crankypuss
On 10/25/2012 12:36 AM, Kris Craig wrote: On Wed, Oct 24, 2012 at 11:21 PM, Sherif Ramadan wrote: On Thu, Oct 25, 2012 at 1:46 AM, JJ wrote: On Wed, Oct 24, 2012 at 10:34 PM, Sherif Ramadan wrote: I understand there are people out there that don't read the documentation and aren't aware of

Re: [PHP-DEV] Changing the default value of "true" for CURLOPT_SSL_VERIFYHOST

2012-10-25 Thread crankypuss
On 10/24/2012 11:34 PM, Sherif Ramadan wrote: On Thu, Oct 25, 2012 at 1:03 AM, JJ wrote: Hey all - I'd like start a discussion around pull request 221 (https://github.com/php/php-src/pull/221). In short, there's a high volume of [incorrect] code out there which looks like: curl_setopt($ch, CU