Hi Andi,
In Zend/zend.c
function name is compiler_globals_ctor
This function is defined inside the #ifdef ZTS macro
Line of concern
zend_hash_copy(compiler_globals->class_table, global_class_table,
(copy_ctor_func_t) zend_class_add_ref, &tmp_class,
sizeof(zend_class_entry));
If I am correct our g
> Derick claimed that it was an intended behavior, I'd like to
> make sure before documenting it. I'd also like to know why
> do we have this feature ? It's quiet confusing.
>
You would doubt Derick? Shame!
Yes, this is intended behavior, primarily to allow children to call parents
staticly and st
Hi internals,
Trying to close some documentation bugs, I saw #20760.
Here's the problem :
class Foo {
var $bla;
function quux() {
$this->bla = 5;
}
}
class Bar {
var $bla;
function do_stuff() {
$this->bla = 10;
Foo::quux();
echo $this->bla;
}
}
$blabla = new Bar;
$blabla
Mehdi Achour wrote:
Please find attached a patch that fix #28921
Committed, thanks,
Sebastian
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
--
PHP Internals - PHP Runtime Dev
well, disabling ZEND_MM does *fix* the/a leak. It was disabled when
we released beta 1 and has been subsequently re-enabled.
As for checking my facts and helping to debug the problem, I'm the one
who found the leak and who found the "fix" (a change which prevents
the problem from occuring) nearly
BTW, besides ZEND_MM being slightly faster on a few benchmarks I made
(although it's platform dependant so likely malloc could be faster on
others), I don't mind disabling it for 5.0.0.
That said, there's a bug lurking which we need to find before, and as I
mentioned, I don't think it's in the Z
Sterling,
As far as I can tell, it's not ZEND_MM which is leaking, but after I fixed
a bug in zend_alloc.c, these problems started happening.
We are using the same zend_alloc.c code for ZEND_MM and allocator on Win32,
so in any case, this problem needs to be fixed. It might be that it happens
wh
yep, this is what I found too, and have been saying for nearly a year:
http://www.edwardbear.org/blog/archives/000129.html#000129
maybe one of these days we'll give up on the ZEND_MM, which doesn't by
us much anyway and has leaked since well before and after beta 1.
Ok, that's my annoying I tol
I don't quite understand the question.
Can you rephrase what exactly is bothering you?
Andi
At 03:46 AM 6/28/2004 +0530, Kamesh Jayachandran wrote:
Hi All,
Sorry to repost for the third time.
I want the clarification regarding copying the global_class_table to
thread specific compiler_globals->clas
Thanks Derick!
> On Mon, 28 Jun 2004, Nuno Lopes wrote:
>
> > Any news on this?
> > Can someone apply that patch or just add some () to the idate
switch/case L
> > ?
>
> Done
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
--
On Mon, 28 Jun 2004, Nuno Lopes wrote:
> Any news on this?
> Can someone apply that patch or just add some () to the idate switch/case L
> ?
Done
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Please find attached a patch that fix #28921
didou
Index: INSTALL
===
RCS file: /repository/php-src/INSTALL,v
retrieving revision 1.33
diff -u -r1.33 INSTALL
--- INSTALL 3 Jul 2003 04:14:42 - 1.33
+++ INSTALL 28 J
hello
tested some messages to my internal mail and i get mail loop error:
This message was created automatically by the mail system (ecelerity).
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
>>> [EMA
Any news on this?
Can someone apply that patch or just add some () to the idate switch/case L
?
Thanks,
Nuno
- Original Message -
> Nuno Lopes wrote:
> > 1) (i)date('L') should return the same (1 if is leap year, 0 otherwise),
but
> > they aren't outputing the same
> > echo date('L'); /
Hi all.
I have been having some problems with running PHP5 under the Continuity
webserver, which
I wrote the SAPI module for. 5 has been working well with the apps that
people
have been rolling out with Continuity so far, but one client has a
large, complicated application that they
have been tr
Ronnie Sunil Sodhi wrote:
Translating the PHP documentation into Danish, together with a group of other Danes (amongst these: TomSommer)
Yup Yup
--
Tom Sommer, Denmark
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Marcus Boerger wrote:
> Hello Gareth,
>
> __destruct will get executed during request shutdown after the
> communication has been shutdown. The only way to be able to write
> from within __destruct is to deinitialize it at the end of the
> script and therefore before the request is being finished.
Hi All,
Sorry to repost for the third time.
I want the clarification regarding copying the global_class_table to
thread specific compiler_globals->class_table in compiler_globals_ctor
in Zend/zend.c.
According to me memcpy should copy 'whatever source points to' to
'destination'.
Our class_table
On Mon, 28 Jun 2004, Zeev Suraski wrote:
> Edin,
>
> Can you try disabling ZEND_MM and see if the problem persists? (it's in
> Zend/zend_mm.h, #undef ZEND_MM).
Will do.
Derick
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Edin,
Can you try disabling ZEND_MM and see if the problem persists? (it's in
Zend/zend_mm.h, #undef ZEND_MM).
Zeev
At 11:54 28/06/2004, Derick Rethans wrote:
On Sun, 27 Jun 2004, Wez Furlong wrote:
> If someone does upgrade it, please copy the getloadavg() function from the
> sources in ~wez.
>
Tobias Heide wrote:
Hi there,
I don't know if this is the right procedure to get access to the CVS,
but at least I saw some similar posts in the past :-)
I submitted a patch to the LDAP-Libraries at the Linuxtag, and later
Lukas Smith visited me at the OpenLDAP booth, to tell me that I might
ge
On Sun, 27 Jun 2004, Tobias Heide wrote:
> Hi there,
>
> I don't know if this is the right procedure to get access to the CVS,
> but at least I saw some similar posts in the past :-)
You'll have to do this through our form: http://no2.php.net/cvs-php.php
But it's usually custom to send patches t
You can get 2.6.10 from http://ctindustries.net/dom/libxml/
Rob
- Original Message -
From: l0t3k
> where can i get a version of libxml2 that will compile properly against
CVS
> on win32 ? the one at zlatkovic's site was built with VC++7 but im using
V6.
--
PHP Internals - PHP Runtime
DR>>10:51 <@edink> leaks like hell
DR>>10:51 <@Derick> ouch
DR>>10:51 <@edink> all mem was used up
DR>>10:51 <@edink> so a put maxreqperchild to 20
DR>>10:51 <@Derick> yikes
DR>>10:52 <@edink> some httpd processes were 600MB ;)
I suggest to compile it in debug mode and see where the leaks are...
Quite possible you had something else in mind, im just interested in
knowing why its done this way, is it for performance sake, is it
becuase you beleive php is more flexable this way, is it becuase it
just happened to be as such...
Im not being critical, Im being curious...
Jason
Marcus Boerger
- contribute to PEAR (Package has been accepted in Voting)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Jason,
maybe this time we neither had c++ nor java in mind, this time it was
delphi.
regards
marcus
Sunday, June 27, 2004, 8:44:45 AM, you wrote:
> which languages is this normal too..
> if you refer to java, that uses the 'super' function, you need only
> explicitly call super if your
Hello Gareth,
__destruct will get executed during request shutdown after the
communication has been shutdown. The only way to be able to write
from within __destruct is to deinitialize it at the end of the
script and therefore before the request is being finished. To
do so you can use 'unset($obje
Translating the PHP documentation into Danish, together with a group of other Danes
(amongst these: TomSommer)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I don't know if this is the right procedure to get access to the CVS,
but at least I saw some similar posts in the past :-)
I submitted a patch to the LDAP-Libraries at the Linuxtag, and later
Lukas Smith visited me at the OpenLDAP booth, to tell me that I might
get CVS access for fur
On Sun, 27 Jun 2004, Wez Furlong wrote:
> If someone does upgrade it, please copy the getloadavg() function from the
> sources in ~wez.
>
> If no one has done it by the time I get back (I'm also plane hopping), I'll
> do it.
Do not upgrade it:
10:50 <@edink> i had to fix ez1 over the weekend
10:5
31 matches
Mail list logo