Re: [PHP-DEV] #60038 SIGALRM cause segfault in php_error_cb

2011-10-16 Thread Stas Malyshev
Hi! On 10/16/11 5:54 PM, Sebastian Bergmann wrote: Such a performance regression sounds like an appropriate "punishment" to me for deploying bad code ;-) By bad code you mean not obsessively checking for stuff that is of no importance to them as programmers and is only required because

Re: [PHP-DEV] #60038 SIGALRM cause segfault in php_error_cb

2011-10-16 Thread Sebastian Bergmann
On 10/12/2011 07:59 AM, Stas Malyshev wrote: Note that on 99% of real PHP code, dozens of "errors" may happen due to multitude of notices and E_STRICTs that we have now and we have no means to disable until the very last moment before printing them. Such a performance regression sounds like an

Re: [PHP-DEV] Re: [RFC] new foo()->bar()

2011-10-16 Thread Xinchen Hui
Sent from my iPhone 在 2011-10-17,6:03,Felipe Pena 写道: > Hi, > > 2011/10/7 Ferenc Kovacs : >> On Tue, Nov 30, 2010 at 9:57 AM, Michael Wallner wrote: >>> On 11/26/2010 08:36 PM, Felipe Pena wrote: Hi all, >>> >>> ... Other examples which describes the feature at http://w

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-16 Thread Pierre Joye
On Mon, Oct 17, 2011 at 12:59 AM, Stas Malyshev wrote: > Yes, the security problem was present before the fix was applied No, it was not. See the examples in the links I pasted earlier. The code was safe, under controlled context, before this change has applied. With the change the code become

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-16 Thread Stas Malyshev
Hi! On 10/16/11 2:14 PM, Pierre Joye wrote: We have discussed that already on security, I barely see a reason to begin this discussion again. There is a clear possible security problem, clearly identified and not present before this "fix" was applied. It is easy to fix and does not make PHP wors

Re: [PHP-DEV] Re: [RFC] new foo()->bar()

2011-10-16 Thread Felipe Pena
Hi, 2011/10/7 Ferenc Kovacs : > On Tue, Nov 30, 2010 at 9:57 AM, Michael Wallner wrote: >> On 11/26/2010 08:36 PM, Felipe Pena wrote: >>> >>> Hi all, >> >> ... >>> >>> Other examples which describes the feature at >>> http://wiki.php.net/rfc/instance-method-call >>> >>> Thoughts? >> >> +1 >> >> F

Re: [PHP-DEV] Issues with Traits / php crashes

2011-10-16 Thread Pierre Joye
hi Harald, Please be sure to open a bug at bugs.php.net and attach the info there too (backtrace, reproduce script, etc.). Cheers, On Sun, Oct 16, 2011 at 8:50 PM, Harald Lapp wrote: > hi stefan, > > Am 16.10.11 20:42, schrieb Stefan Marr: >> >> Hi Harald: >> >> On 16 Oct 2011, at 20:31, Harald

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-16 Thread Pierre Joye
On Sun, Oct 16, 2011 at 9:14 PM, Stas Malyshev wrote: > Hi! > > On 10/16/11 3:39 AM, Pierre Joye wrote: >> >> There was example codes in previous discussions, here and on security. >> The document used for the CVE assignment has some as well. >> >> >> http://www.byte.nl/blog/2011/09/23/security-bu

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-16 Thread Stas Malyshev
Hi! On 10/16/11 3:39 AM, Pierre Joye wrote: There was example codes in previous discussions, here and on security. The document used for the CVE assignment has some as well. http://www.byte.nl/blog/2011/09/23/security-bug-in-is_a-function-in-php-5-3-7-5-3-8/ https://bugs.php.net/bug.php?id=5547

Re: [PHP-DEV] Issues with Traits / php crashes

2011-10-16 Thread Harald Lapp
hi stefan, Am 16.10.11 20:42, schrieb Stefan Marr: Hi Harald: On 16 Oct 2011, at 20:31, Harald Lapp wrote: with the current php-5.4 beta my processes are dying, but with the lates snapshot, not -- i still get the message: There have been a number of bug fixes since the last beta. The list

Re: [PHP-DEV] Issues with Traits / php crashes

2011-10-16 Thread Harald Lapp
Am 16.10.11 20:40, schrieb Ferenc Kovacs: https://bugs.php.net/bugs-generating-backtrace.php hi, great! this seems to be the information, i was looking for. let's see if i can get anything useful out of it :) harald -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

Re: [PHP-DEV] Issues with Traits / php crashes

2011-10-16 Thread Stefan Marr
Hi Harald: On 16 Oct 2011, at 20:31, Harald Lapp wrote: > with the current php-5.4 beta my processes are dying, but with the lates > snapshot, not -- i still get the message: There have been a number of bug fixes since the last beta. The list is here: https://bugs.php.net/search.php?search_f

Re: [PHP-DEV] Issues with Traits / php crashes

2011-10-16 Thread Ferenc Kovacs
On Sun, Oct 16, 2011 at 8:31 PM, Harald Lapp wrote: > hi, > > i wonder if anybody out there already tried traits in more complex php > applications. i am currently trying to rewrite part of a somehow complex > application to use traits and i have the problem, that my scripts are dying, > as soon

[PHP-DEV] Issues with Traits / php crashes

2011-10-16 Thread Harald Lapp
hi, i wonder if anybody out there already tried traits in more complex php applications. i am currently trying to rewrite part of a somehow complex application to use traits and i have the problem, that my scripts are dying, as soon as i include the trait. with the current php-5.4 beta my pr

Re: [PHP-DEV] 5.4 beta

2011-10-16 Thread Pierre Joye
hi, On Sun, Oct 16, 2011 at 4:17 AM, Stas Malyshev wrote: > Hi! > > On 10/7/11 11:13 AM, Hannes Magnusson wrote: >> >> The UPGRADING file is also completely worthless. >> I have no idea what is going on, as a dev, nor as a documentor. >> Be it traits, closures, or whatever random new parameter or

Re: [PHP-DEV] is_a fix for 5.4 and HEAD

2011-10-16 Thread Pierre Joye
On Sun, Oct 16, 2011 at 2:00 AM, Stas Malyshev wrote: > Hi! > > On 10/13/11 5:06 PM, Rasmus Lerdorf wrote: >> >> I agree that it is slightly messy, but we have painted ourselves into a >> bit of a corner with the 5.3 mess. Stas, the whole point here is that >> changing the is_a() default in 5.3 ca

Re: [PHP-DEV] 5.4 undocumented stuff

2011-10-16 Thread Ferenc Kovacs
On Sun, Oct 16, 2011 at 4:15 AM, Stas Malyshev wrote: > Hi! > > Following Hanness' mail a week or so ago, I went over NEWS and the wiki and > here is the list of undocumented stuff we have now in 5.4. It may be not > complete, so if you know of any other undocumented stuff please tell (and > submi