Re: [PHP-DEV] zend_call_function() and co.

2011-07-29 Thread Johannes Schlüter
On Fri, 2011-07-29 at 20:03 +0200, Flavius Aspra wrote: > Hi > > I have a few questions about zend_fcall_info and zend_fcall_info_cache. > > Regarding zend_fcall_info > > What is function_name useful for? I have a feeling it's for error > reporting, but I'm not sure The engine hast to know wha

[PHP-DEV] SVN Account Request: wojak

2011-07-29 Thread Wojciech Kupiec
Contributing to php.net redesign process -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] zend_call_function() and co.

2011-07-29 Thread Flavius Aspra
Hi I have a few questions about zend_fcall_info and zend_fcall_info_cache. Regarding zend_fcall_info What is function_name useful for? I have a feeling it's for error reporting, but I'm not sure What is symbol_table for? Maybe to put in the function's context other variables beside the para

Re: [PHP-DEV] c and php operations

2011-07-29 Thread Joey Smith
On Fri, Jul 29, 2011 at 02:20:17PM -0300, Adir Kuhn wrote: > Hello guys, > > while I'm studing some c codes i found this page: > http://www.nicksays.co.uk/2009/05/awesome-c-exam-question/ > > and this code: > > #include > int func (int a, int b) { > static int c = 1; > return a + b

[PHP-DEV] c and php operations

2011-07-29 Thread Adir Kuhn
Hello guys, while I'm studing some c codes i found this page: http://www.nicksays.co.uk/2009/05/awesome-c-exam-question/ and this code: #include int func (int a, int b) { static int c = 1; return a + b * (c *= -1);} int main () { int a = 2, b = 3; int c = func(

Re: [PHP-DEV] [Bug #55311] Static methods invoke __call when called from within class

2011-07-29 Thread Felipe Pena
Hi, 2011/7/29 Laruence : > Hi: >  hmm, this make sense, >  thanks for your explaining. > Actually this behavior change was introduced in 5.3.3 [1] and reverted in 5.3.4. I.e. the BC just happens for 5.3.3 version. [1] - https://bugs.php.net/bug.php?id=51176 -- Regards, Felipe Pena -- PHP Int

Re: [PHP-DEV] [Bug #55311] Static methods invoke __call when called from within class

2011-07-29 Thread Laruence
Hi: hmm, this make sense, thanks for your explaining. 2011/7/29 Etienne Kneuss : > Hello, > > On Fri, Jul 29, 2011 at 11:10, Laruence wrote: >> Hi: >> >> 2011/7/29 Etienne Kneuss : >>> Hi, >>> >>> On Fri, Jul 29, 2011 at 05:37, Laruence wrote: Hi:     about #55311.https://bugs.php.

Re: [PHP-DEV] [Bug #55311] Static methods invoke __call when called from within class

2011-07-29 Thread Etienne Kneuss
Hello, On Fri, Jul 29, 2011 at 11:10, Laruence wrote: > Hi: > > 2011/7/29 Etienne Kneuss : >> Hi, >> >> On Fri, Jul 29, 2011 at 05:37, Laruence wrote: >>> Hi: >>>     about #55311.https://bugs.php.net/bug.php?id=55311 >>> >>>     I found it maybe for some reason, that somebody change the >>> if/

Re: [PHP-DEV] [Bug #55311] Static methods invoke __call when called from within class

2011-07-29 Thread Laruence
Hi: 2011/7/29 Etienne Kneuss : > Hi, > > On Fri, Jul 29, 2011 at 05:37, Laruence wrote: >> Hi: >>     about #55311.https://bugs.php.net/bug.php?id=55311 >> >>     I found it maybe for some reason, that somebody change the >> if/elseif sequence to make this bug. >> >>     but I am not sure about w

Re: [PHP-DEV] [Bug #55311] Static methods invoke __call when called from within class

2011-07-29 Thread Etienne Kneuss
Hi, On Fri, Jul 29, 2011 at 05:37, Laruence wrote: > Hi: >     about #55311.https://bugs.php.net/bug.php?id=55311 > >     I found it maybe for some reason, that somebody change the > if/elseif sequence to make this bug. > >     but I am not sure about why he do this,  so I refer to maillist,  any

Re: [PHP-DEV] [PATCH] Add SORT_NATURAL and SORT_CASE support to array_multisort

2011-07-29 Thread Derick Rethans
On Thu, 28 Jul 2011, Arpad Ray wrote: > https://bugs.php.net/patch-display.php?bug_id=55158&patch=trunk-multisort-natural&revision=latest > adds the flags SORT_NATURAL and SORT_CASE to array_multisort. The > SORT_NATURAL flag is well explained by the request the patch is > attached to: https://bug