On Tue, 18 Dec 2007, Rasmus Lerdorf wrote:
Ilia Alshanetsky wrote:
Putting it into CVS into a good idea, but lets create a revert point via
a tag, so we can always easily undo the patch if need be.
Making sure it is ifdef'ed nicely would let us leave it in CVS until we
get it right and if
On Wed, 19 Dec 2007, Dmitry Stogov wrote:
Derick Rethans wrote:
On Mon, 17 Dec 2007, Dmitry Stogov wrote:
Didn't I send it to you?
Maybe, maybe not :) I couldn't find it atleast.
I just tried to apply this to PHP 5.3, but it gives lots of failed chucks...
Are you sure this is
On 19.12.2007 13:20, Alexey Zakhlestin wrote:
On 12/19/07, Dmitry Stogov [EMAIL PROTECTED] wrote:
updated patch.
got an error during linking phase
You have to run this first:
./cvsclean ./buildconf
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To
On Wed, 19 Dec 2007, Alexey Zakhlestin wrote:
On 12/19/07, Dmitry Stogov [EMAIL PROTECTED] wrote:
updated patch.
got an error during linking phase
/usr/bin/ld: Undefined symbols:
_gc_globals_id
_gc_globals_ctor
_gc_zval_possible_root
_gc_collect_cycles
_gc_init
_gc_reset
On 12/19/07, Dmitry Stogov [EMAIL PROTECTED] wrote:
updated patch.
got an error during linking phase
/usr/bin/ld: Undefined symbols:
_gc_globals_id
_gc_globals_ctor
_gc_zval_possible_root
_gc_collect_cycles
_gc_init
_gc_reset
_gc_zobj_possible_root
collect2: ld returned 1 exit status
make: ***
Hi,
I had started this thread on another mailing list but was told that I had
better chances of an apropriate response on this list. Can someone please
respond to my last mail in the thread below.
Rgds,
Rashmi
--
Hi,
Thank you all for your response. But turns out that
On 12/19/07, Dmitry Stogov [EMAIL PROTECTED] wrote:
updated patch.
Great! I managed to compile it.
Works for me.
The problem mentioned here is gone: http://blog.milkfarmsoft.com/?p=52
It is now possible to continue my appserver implementation ;)
--
Alexey Zakhlestin
Rashmi Badan wrote:
The test was trying to load mod_php between graceful restarts, i.e start
apache without mod_php, then modify the config file to load it and do a
graceful restart. This clearly fails because mod_php loads only on the
second load within apache. It does this by setting some pool
Brian Moon schreef:
Rashmi Badan wrote:
The test was trying to load mod_php between graceful restarts, i.e start
apache without mod_php, then modify the config file to load it and do a
graceful restart. This clearly fails because mod_php loads only on the
second load within apache. It does
On Dec 18, 2007 12:41 AM, Jeff Moore [EMAIL PROTECTED] wrote:
Reading the prior discussion, I think either $_SCOPE['x'] or the
lexical $x syntax is fine for accessing local variables in the
enclosing scope. But closures also should also support $this and
static:: when the closure is defined
So how big a part of PHP's userbase is that? I'm guessing, it's small.
If it's small, we don't need it in the language anyway.
True, but the people who will anguish over lack of closures, are
already tearing their hair out over create_function().
Having no function and knowing it is better
On Dec 19, 2007 11:21 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote:
So how big a part of PHP's userbase is that? I'm guessing, it's small.
If it's small, we don't need it in the language anyway.
I think we need it. In the current incarnation, anonymous functions
are so impractical to use,
I use graceful restart quite often.
Frankly, I have no idea why it may fail to work :)
Indeed, when you request a graceful restart, apache will start next set of
children processes and all existing processes will stop getting and
processing any new requests so they will exit as soon as they
I think we need it. In the current incarnation, anonymous functions
are so impractical to use, that it's a barrier. I think that is
unfortunate, because it could be an interesting and useful direction
to take for PHP. The users, who don't know what a closure is, could
Direction like what?
--
On Dec 20, 2007 12:44 AM, Stanislav Malyshev [EMAIL PROTECTED] wrote:
I think we need it. In the current incarnation, anonymous functions
are so impractical to use, that it's a barrier. I think that is
unfortunate, because it could be an interesting and useful direction
to take for PHP.
Well, the whole functional programming thing.
But PHP is not an FP language and wasn't built to be one. If one needs
an FP language, why not look into languages built with that purpose?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829
On Dec 20, 2007 1:51 AM, Stanislav Malyshev [EMAIL PROTECTED] wrote:
Well, the whole functional programming thing.
But PHP is not an FP language and wasn't built to be one. If one needs
an FP language, why not look into languages built with that purpose?
We can change it then. PHP wasn't
Graceful restarts work absolutely fine for me as well - only when I had php
enabled in the first place. What does work is this
- Start apache without mod_php
- change your httpd.conf to load mod_php
- now do a graceful restart
Apache will start fine without pa problem. Now send a request -
On 12/20/07, Stanislav Malyshev [EMAIL PROTECTED] wrote:
I think we need it. In the current incarnation, anonymous functions
are so impractical to use, that it's a barrier. I think that is
unfortunate, because it could be an interesting and useful direction
to take for PHP. The users, who
On 20.12.2007 09:57, Alexey Zakhlestin wrote:
being able to do the following (and not to worry about runtime
compilation) is a good reason on it's own:
array_filter($my_data, function($test){ return 3 === ($test % 4) });
Oh, my..
This code clearly demonstrates why a syntax like this should
20 matches
Mail list logo