[PHP-DEV] Re: Output, parameter

2015-06-18 Thread Stephen Coakley
On 06/18/2015 11:12 AM, Dominic Grostate wrote: A feature I'd quite like to see is something similar to C# out arguments. Which is an argument provided empty to a function (or with a value to be ignored) that the function must write to before returning. Normally this wouldn't be necessary since

[PHP-DEV] Php developer testsuite

2015-06-18 Thread Arsalan Javeed (Student)
Dear Concerned, I am using php v5.5.25 for my research work in software testing. I have already downloaded the source codes and found the built-in testsuites for running on the build. However, i was wondering if by any chance are there any testsuites which exist that are primarily meant for* devel

[PHP-DEV] Re: PHP 7 - install-pear-nozlib.phar - ereg_replace() error

2015-06-18 Thread flaupretre
Hi Ferenc, - Mail original - De: "Ferenc Kovacs" > it seems I either forgot to push or got rejected for not being up-to-date. > I've just pushed the fixed version now, could you pull and retry? Well, not perfect yet. The ereg_replace() error is gone but... Installing PEAR environm

Re: [PHP-DEV] Revisit trailing commas in function call parameters?

2015-06-18 Thread Florian Anderiasch
On 18.06.2015 08:25, Yasuo Ohgaki wrote: >> If people still consider it more harm- than useful then please don't flame >> me and I'll shut up again :-) >> > > PHP allows > > array( > 1, > 2, > 3, > ); > > therefore > > my_variadic_function( >"foo", >"bar", >"qux", > ); > > is

Re: [PHP-DEV] RFC - making the Exception class abstract

2015-06-18 Thread Stanislav Malyshev
Hi! > Too many times have I seen developers throwing Exceptions when what they > really needed was something that gave it context like > InvalidArgumentException or RuntimeException. Yes, I agree this is > something to tackle at code review (and I do) but I feel PHP doesn't help > the situation by

[PHP-DEV] Output, parameter

2015-06-18 Thread Dominic Grostate
A feature I'd quite like to see is something similar to C# out arguments. Which is an argument provided empty to a function (or with a value to be ignored) that the function must write to before returning. Normally this wouldn't be necessary since you can do this anyway by passing by reference, ho

Re: [PHP-DEV] LDAP module requirements?

2015-06-18 Thread Kalle Sommer Nielsen
Hi Côme 2015-06-18 16:25 GMT+02:00 Côme BERNIGAUD : > Yes please, I’m pretty I don’t have the karma to do so. Done: http://git.php.net/?p=php-src.git;a=commitdiff;h=d9d1948396285583a915018fe9310fad998876ca -- regards, Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Develop

[PHP-DEV] Re: PHP 7 - install-pear-nozlib.phar - ereg_replace() error

2015-06-18 Thread Ferenc Kovacs
On Thu, Jun 18, 2015 at 4:18 PM, wrote: > Hi, > > Quoting Ferenc's message about pear install error : > > > until this is fixed we have a "custom" install-pear-nozlib.phar built and > > added to our repo, so instead of downloading the incompatible installer, > we > > use one with the fixes alread

Re: [PHP-DEV] LDAP module requirements?

2015-06-18 Thread Côme BERNIGAUD
On 2015-06-18 15:31, Kalle Sommer Nielsen wrote: (from EXTENSIONS in the php-src root). Let me know if you wish to be added to the list in case you do not have karma yourself. Yes please, I’m pretty I don’t have the karma to do so. Côme signature.asc Description: OpenPGP digital signatur

[PHP-DEV] PHP 7 - install-pear-nozlib.phar - ereg_replace() error

2015-06-18 Thread flaupretre
Hi, Quoting Ferenc's message about pear install error : > until this is fixed we have a "custom" install-pear-nozlib.phar built and > added to our repo, so instead of downloading the incompatible installer, we > use one with the fixes already present. > this is a hack/workaround for the time bein

Re: [PHP-DEV] LDAP module requirements?

2015-06-18 Thread Kalle Sommer Nielsen
Hi Côme 2015-06-18 14:40 GMT+02:00 Côme BERNIGAUD : > What is the oldest openldap version supposed to be supported by each PHP > version? Seeing as you are one of the only people that I can re-call in recent time that are working on ext/ldap I guess that choice would be up to you. I have CC'ed th

[PHP-DEV] LDAP module requirements?

2015-06-18 Thread Côme BERNIGAUD
Hello, The code of the LDAP module have some ifdefs like LDAP_API_FEATURE_X_OPENLDAP to test if we are building against openldap or something else. Is there an exaustive list of the LDAP libs PHP is supposed to be buildable against? The following page suggest it should always be openldap, is t