Re: [PHP-DEV] call user defined function with args

2012-04-26 Thread Laruence
Hi: you can refer to zif_call_user_func, which could be find at http://lxr.php.net/opengrok/xref/PHP_5_4/ext/standard/basic_functions.c#4714 thanks On Fri, Apr 27, 2012 at 12:43 PM, Yader Hernandez wrote: > Hello, > > I found this zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache

Re: [PHP-DEV] ob_start callback not fired with ob_get_clean()

2012-04-26 Thread Michael Wallner
On 25 April 2012 17:50, Dmitri Snytkine wrote: > I am wondering why the call to ob_get_clean and ob_get_contents does not > trigger the callback function registered with ob_start('mycallback') You could at least have told what PHP version you're using... The output control layer implementation ha

[PHP-DEV] call user defined function with args

2012-04-26 Thread Yader Hernandez
Hello, I found this zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TSRMLS_DC) and many examples using it. I can successfully call this and it will call the user function for me. I'm interested in learning how to not only call the function, but also pass arguments to that

[PHP-DEV] mbstring.func_overload is going to be depreciated

2012-04-26 Thread Yasuo Ohgaki
Hi all, mbstring has php.ini mbstring.func_overload switch that overloads single byte string functions by mbstring's multibyte enabled functions. This switch was intended to use with application that works only with single byte chars. However, frameworks like CakePHP, etc have code that deal with

Re: [PHP-DEV] Where to start

2012-04-26 Thread Stas Malyshev
Hi! > Skim the bug tracker for low hanging fruit. There's also http://bugs.php.net/random if you're feeling lucky :) Any bug in "Open" would be a candidate. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] Where to start

2012-04-26 Thread Joe Gillotti
Skim the bug tracker for low hanging fruit. On 04/26/2012 11:37 AM, Mathias Grimm wrote: Where is the easiest point to a beginner start solving bugs? Including bugs that was solved to. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Where to start

2012-04-26 Thread Mathias Grimm
Where is the easiest point to a beginner start solving bugs? Including bugs that was solved to. -- Mathias Grimm

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Hannes Magnusson
On Thu, Apr 26, 2012 at 16:09, Jordi Boggiano wrote: > On 26.04.2012 15:50, Christian Stocker wrote: >> dom has the version 20031129 which is greater than 5. Not sure if anyone >> really checks against that, since not much changed there since obviously >> 2003 ;) > > Yup it's the only one I notice

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Jordi Boggiano
On 26.04.2012 15:50, Christian Stocker wrote: > dom has the version 20031129 which is greater than 5. Not sure if anyone > really checks against that, since not much changed there since obviously > 2003 ;) Yup it's the only one I noticed but since it's fairly well established, usually you don't ne

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Christian Stocker
On 26.04.12 15:35, Jordi Boggiano wrote: > On 23.04.2012 18:06, Johannes Schlüter wrote: >> On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: >>> As you see it goes from no version at all to proper versions, passing by >>> svn revisions, dates, or a mix of all. >>> >>> In Composer [1] we tr

Re: [PHP-DEV] Extension versions

2012-04-26 Thread Jordi Boggiano
On 23.04.2012 18:06, Johannes Schlüter wrote: > On Mon, 2012-04-23 at 16:47 +0200, Jordi Boggiano wrote: >> As you see it goes from no version at all to proper versions, passing by >> svn revisions, dates, or a mix of all. >> >> In Composer [1] we try to parse all that using ReflectionExtension, to

[PHP-DEV] PHP 5.4.1 and PHP 5.3.11 Released!

2012-04-26 Thread David Soria Parra
Hello! The PHP Development Team announces the immediate availability of PHP 5.4.1 and PHP 5.3.11. The releases fix security related issues in the name validation of uploaded files and the handling of open_basedir in the readline extension. Support for Apache 2.4 was added and over 60 bugs were fix

Re: [PHP-DEV] Fixing bug #18556 (was: Complete case-sensitivity in PHP)

2012-04-26 Thread C.Koy
Hi, As of 5.3.0 this bug does not exist for function names. Only classes and interfaces. Could this be a clue for how to fix it for those as well? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] Use non-deprecated routines in php-ldap

2012-04-26 Thread Etienne Bagnoud
Hi, I sent two patch on php-ldap (bug #61853) to avoid use of deprecated routines of libldap (ldap_search->ldap_search_ext, ldap_add->ldap_add_ext, ...). I used ldap_get_option to fetch LDAPControl as I've seen code that workaround some php-ldap limitation with ldap_set_option, so it should