Re: [PHP-DEV] PHP 5.3.8 Released!

2011-08-24 Thread Ferenc Kovacs
On Wed, Aug 24, 2011 at 1:59 PM, Ryan McCue li...@rotorised.com wrote: Ferenc Kovacs wrote: the aggregated report summaries are available at http://qa.php.net/reports/ thanks to Oliver Doucet who make this happen. Which, incidentally, doesn't appear to be working at this point in time

Re: [PHP-DEV] PHP 5.3.8 Released!

2011-08-24 Thread Ferenc Kovacs
On Wed, Aug 24, 2011 at 2:15 PM, Dirk Haun d...@haun-online.de wrote: Quoting Ferenc Kovacs tyr...@gmail.com: On Wed, Aug 24, 2011 at 1:59 PM, Ryan McCue li...@rotorised.com wrote: Ferenc Kovacs wrote: the aggregated report summaries are available at http://qa.php.net/reports/ thanks

Re: [PHP-DEV] PHP 5.3.8 Released!

2011-08-24 Thread Ferenc Kovacs
If I am reading things right, is_a was only designed to handle an object, so feeding it a mixed parameter in isError was always wrong? As far as I can see, on the whole, the PEAR code only ever feeds an object and feeding it a string would have to be a real error? So there are a number of

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-24 Thread Ferenc Kovacs
On Wed, Aug 24, 2011 at 11:15 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 8/24/11 2:03 PM, David Soria Parra wrote: Hi Internals,, after 3 weeks of discussion, I think we are ready to start voting on the DVCS RFC.  If you think something is missing or should be explained in

Re: [PHP-DEV] PHP 5.3.8 Released!

2011-08-24 Thread Ferenc Kovacs
On Wed, Aug 24, 2011 at 11:33 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Thanks for providing the timeline. On 8/24/11 2:15 PM, Ferenc Kovacs wrote: 5, Helgi fixed Pear in the meanwhile http://svn.php.net/viewvc/pear/pear-core/tags/PEAR-1.9.5/PEAR.php?r1=313081r2=313083pathrev

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-26 Thread Ferenc Kovacs
On Fri, Aug 26, 2011 at 8:48 AM, Lester Caine les...@lsces.co.uk wrote: David Muir wrote: FWIW, PEAR is already moving to GitHub. So who dictated that There should at least be a little consistency in PHP and this is just another example of everybody just doing what they want and sod

Re: [PHP-DEV] ReflectionClass::newInstanceWithoutConstructor()

2011-08-26 Thread Ferenc Kovacs
On Thu, Aug 25, 2011 at 11:46 AM, Sebastian Bergmann sebast...@php.net wrote:  I have attached a patch to https://bugs.php.net/bug.php?id=55490 that  implements ReflectionClass::newInstanceWithoutConstructor() to create an  object a class without invoking the constructor.  As there are

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-26 Thread Ferenc Kovacs
If I could vote I'd vote for mercurial, but then again, I bet having PHP on github will increase contributions very quickly. which is pointless if we can't easily accept/merge the pull requests from the github clone. :/ git itself is a powerful tool, but as AFAIK most of the people in this

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-27 Thread Ferenc Kovacs
On Sat, Aug 27, 2011 at 12:47 PM, Richard Quadling rquadl...@gmail.com wrote: On 26 August 2011 08:48, dukeofgaming dukeofgam...@gmail.com wrote: Having current SVN-only contributors learn it might going to be quite a challenge. That's me. And I am VERY used to TortoiseSVN - a visual tool

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-27 Thread Ferenc Kovacs
I use CVS and SVN directly from Eclipse and I know exactly where you are coming from. Currently this all runs transparently on all platforms and many of the 'reasons' given for wanting to change are already supported by additional tools _in_ Eclipse. http://eclipse.org/egit/

[PHP-DEV] Re: [PEAR] [ANNOUNCEMENT] DB_DataObject-1.9.6 (stable) Released.

2011-08-29 Thread Ferenc Kovacs
On Mon, Aug 29, 2011 at 7:20 AM, PEAR Announce pear-...@lists.php.net wrote: The new PEAR package DB_DataObject-1.9.6 (stable) has been released at http://pear.php.net/. Release notes - Small fix release.  #18749 - Fix is_a() for 5.3.7+ due to php-core stupidity  #18602 -

Re: [PHP-DEV] Re: [PEAR] [ANNOUNCEMENT] DB_DataObject-1.9.6 (stable) Released.

2011-08-29 Thread Ferenc Kovacs
Please, don't speak for the majority of the core devs when that's really not the case. My comment was based on the responses on the mailing list and the issue tracker, but feel free to elaborate! -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-31 Thread Ferenc Kovacs
On Wed, Aug 31, 2011 at 11:32 AM, Pierre Joye pierre@gmail.com wrote: you are the only one to actually experience this, so I suppose you are the only who can fix it as well :) from Gwynne: This issue exists on Darwin (OS X) as well. this will also happen with debian wheezy(next stable

Re: [PHP-DEV] New run-tests.php feature

2011-09-01 Thread Ferenc Kovacs
On Thu, Sep 1, 2011 at 1:35 PM, Hannes Magnusson bj...@php.net wrote: Throw qa and internals@ into the loop to. I'd also like to move the XFAIL section (printed out in the end) above the FAIL section. We have bucketloads of xfailed tests, I actually have to scroll up to see the failed tests

Re: [PHP-DEV] New run-tests.php feature

2011-09-01 Thread Ferenc Kovacs
2011/9/1 Hannes Magnusson bj...@php.net: 2011/9/1 Johannes Schlüter johan...@schlueters.de: On Thu, 2011-09-01 at 17:53 +0400, Alexey Shein wrote: Great addition. While you're at it, could you also add an option to print a list of skipped tests (maybe above XFAIL section), that's also

Re: [PHP-DEV] Re: drop bison 1.x?

2011-09-01 Thread Ferenc Kovacs
On Thu, Sep 1, 2011 at 10:54 PM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Thu, Sep 1, 2011 at 20:58, Pierre Joye pierre@gmail.com wrote: Please show me one system relying on it?  13 years old... Your own test box before Rasmus pointed it out to you when you where changing

Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4

2011-09-02 Thread Ferenc Kovacs
2011/9/2 Stas Malyshev smalys...@sugarcrm.com: Hi! On 9/2/11 1:14 PM, Johannes Schlüter wrote: Looking at the tests we have: Most tests are written with mysqlnd in focus. mysqlnd is what we (Oracle/MySQL) test the most in PHP perspective for quite some time already. By making mysqlnd the

Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4

2011-09-02 Thread Ferenc Kovacs
On Fri, Sep 2, 2011 at 10:44 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/2/11 1:41 PM, Ferenc Kovacs wrote: I think you missed the referenced [1]: [1] Yes, we will still allow building with libmysql and we will fix bugs reported there and we will verify it works but focus

[PHP-DEV] ext/pcre/tests/006.phpt

2011-09-02 Thread Ferenc Kovacs
Hi, I started debugging why ext/pcre/tests/006.phpt fails, I've pinpointed the guilty commit: http://svn.php.net/viewvc?view=revisionrevision=311323 it seems that the behavior was depending on the backtrack limit, but I'm not sure what to do with the test. should I simply delete? or can we change

Re: [PHP-DEV] Why does mysqlnd get included in Linux 'core' PHP5 packages?

2011-09-03 Thread Ferenc Kovacs
On Sat, Sep 3, 2011 at 11:06 AM, Lester Caine les...@lsces.co.uk wrote: New thread ... My SUSE installs all have mysqlnd included in the core, As do other Linux distributions. I think for much the same reason that the windows builds do as well? The PHP development team have decided that

Re: [PHP-DEV] Why does mysqlnd get included in Linux 'core' PHP5 packages?

2011-09-03 Thread Ferenc Kovacs
On Sat, Sep 3, 2011 at 12:36 PM, Pierre Joye pierre@gmail.com wrote: It is part of the default exts just like on unix with the difference windows has no libmysql support anymore since 5.3 so for windows, the mysqlnd is a builtin extension, (but one cannot use it without the mysql or mysqli

Re: [PHP-DEV] [VOTE] Weak References

2011-09-03 Thread Ferenc Kovacs
Weak references have been implemented in a PECL extension since weeks now: http://php.net/weakref and/or http://pecl.php.net/weakref It feels like you're beating up a dead horse here. A discussion for bundling it might occur in the future, but given the feedbacks PECL might very well be the

Re: [PHP-DEV] ext/pcre/tests/006.phpt

2011-09-04 Thread Ferenc Kovacs
(as Tyrael pointed in his message), which was fixed for PHP_5_4 and trunk in this commit: http://svn.php.net/viewvc?view=revisionrevision=312110. Maybe PHP_5_3 branch should be changed accordingly? 2011/9/4 Stas Malyshev smalys...@sugarcrm.com: Hi! On 9/2/11 6:10 PM, Ferenc Kovacs wrote

Re: [PHP-DEV] ext/pcre/tests/006.phpt

2011-09-04 Thread Ferenc Kovacs
On Sun, Sep 4, 2011 at 12:41 PM, Alexey Shein con...@gmail.com wrote: It fails for me too, but only in PHP_5_3 branch, PHP_5_4 and trunk are ok. It seems it starts to fail after Rasmus's default backtrack limit increasion (as Tyrael pointed in his message), which was fixed for PHP_5_4 and

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/standard/tests/streams/bug46024.phpt branches/PHP_5_4/ext/standard/tests/streams/bug46024.phpt trunk/ext/standard/tests/streams/bug46024

2011-09-04 Thread Ferenc Kovacs
maybe a function_exist() check here? Sendt fra min iPhone Den 02/09/2011 kl. 22.28 skrev Ferenc Kovacs tyr...@php.net: tyrael                                   Fri, 02 Sep 2011 20:28:39 + Revision: http://svn.php.net/viewvc?view=revisionrevision=316056 Log: pass an absolute path

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/standard/tests/streams/bug46024.phpt branches/PHP_5_4/ext/standard/tests/streams/bug46024.phpt trunk/ext/standard/tests/streams/bug46024

2011-09-04 Thread Ferenc Kovacs
On Sun, Sep 4, 2011 at 4:51 PM, Kalle Sommer Nielsen ka...@php.net wrote: Hi 2011/9/4 Ferenc Kovacs tyr...@php.net: Sorry, for the late reply, I missed this mail: I checked the documentation, but I can't see a mention about this http://php.net/realpath could somebody confirm

[PHP-DEV] sapi/cli/tests/020.php

2011-09-04 Thread Ferenc Kovacs
Hi. the test mentioned in the subject fails on the current trunk. it seems that Dynamic Library Support = enabled Path to sendmail = -t -i is now missing of the output of php -n --ri standard I've checked and with the current trunk, it is missing from even php -i(aka phpinfo) I think that this

Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4

2011-09-04 Thread Ferenc Kovacs
On Sun, Sep 4, 2011 at 7:59 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 04.09.2011 19:52, schrieb Stas Malyshev: There are incimoatibilities too across libmysql versions and across mysql servers, which are actually affecting existing codes. I don't know of any incompatibilities that

Re: [PHP-DEV] REDIRECTTEST fails

2011-09-05 Thread Ferenc Kovacs
On Mon, Sep 5, 2011 at 10:26 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! I have the pdo_mysql common.phpt test failing on my config, specifically the REDIRECTTEST part. It is probably due to the way I run the tests, but other tests work fine, only this one is wrong. So my environment

Re: [PHP-DEV] 答复: [PHP-DEV] full LFS support

2011-09-06 Thread Ferenc Kovacs
On Tue, Aug 17, 2010 at 4:22 PM, Ferenc Kovacs i...@tyrael.hu wrote: Hi. I would like to know what is the current status of the LFS support for php. http://bugs.php.net/bug.php?id=27792 http://bugs.php.net/bug.php?id=48886 As far as I can see, there are some patches floating

Re: [PHP-DEV] zlib issues in 5.4 and trunk

2011-09-06 Thread Ferenc Kovacs
On Wed, Sep 7, 2011 at 1:26 AM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Tue, Sep 6, 2011 at 21:09, Pierre Joye pierre@gmail.com wrote: On Tue, Sep 6, 2011 at 9:03 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/6/11 11:35 AM, Pierre Joye wrote: Yes, we use the

Re: [PHP-DEV] CI for 5.4

2011-09-06 Thread Ferenc Kovacs
On Wed, Sep 7, 2011 at 3:29 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Since we started to pay real attention to our unit tests now, I wonder if we could set up some kind of frequently-running CI system that could be used to screen commits and identify breakage early? That'd help

Re: [PHP-DEV] [PATCH] Autoguessing TEST_PHP_EXECUTABLE if none is provided in run-tests.php

2011-09-08 Thread Ferenc Kovacs
On Thu, Sep 8, 2011 at 2:07 PM, Alexey Shein con...@gmail.com wrote: Hello! I've made some improvements to run-tests.php: 1) Autoguessing TEST_PHP_EXECUTABLE and TEST_PHP_CGI_EXECUTABLE if they're not provided, i.e. assume they have value 'auto'. You can still pass your own value as usual.

Re: [PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-09 Thread Ferenc Kovacs
On Fri, Sep 9, 2011 at 9:15 AM, Nikita Popov nikita@googlemail.com wrote: In Bug #54089 [1] a patch was applied that cuts of token_get_all() output after a T_HALT_COMPILER token. This was done because otherwise PHP would keep on lexing after that and would generate errors because of binary

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Ferenc Kovacs
On Fri, Sep 9, 2011 at 12:32 PM, Lester Caine les...@lsces.co.uk wrote: Alexey Shein wrote: Hello, Lester, try to start from scratch by running ./vcsclean first, often it helps to solve all cache issues from previous builds. No go ... 'Can't figure out your VCS, not cleaning.' the

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tests/r

2011-09-11 Thread Ferenc Kovacs
On Sat, Sep 10, 2011 at 8:46 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! care to comment? It looks like neither me nor others (inluding gcov machine) are getting that message. AFAIK you shoud get it(as I did on my debian machines), as both display_startup_errors and error_reporting

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tests/r

2011-09-11 Thread Ferenc Kovacs
On Sun, Sep 11, 2011 at 11:04 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/11/11 8:44 AM, Ferenc Kovacs wrote: AFAIK you shoud get it(as I did on my debian machines), as both display_startup_errors and error_reporting is force enabled for the tests: http://svn.php.net/viewvc

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-12 Thread Ferenc Kovacs
I forget to reply-all to the list :/ On Mon, Sep 12, 2011 at 7:46 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/12/11 3:14 AM, Ferenc Kovacs wrote: you should pass both -n and -c as the make test pass those to the run-tests.php AFAIK, see: That's not what I see happening

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-13 Thread Ferenc Kovacs
. Hope it helps. 2011/9/12 Ferenc Kovacs tyr...@gmail.com: I forget to reply-all to the list :/ On Mon, Sep 12, 2011 at 7:46 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/12/11 3:14 AM, Ferenc Kovacs wrote: you should pass both -n and -c as the make test pass those to the run

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-13 Thread Ferenc Kovacs
On Tue, Sep 13, 2011 at 6:23 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/13/11 7:49 AM, Ferenc Kovacs wrote: Stas, I still don't know why do have a custom php.ini, and why is it used. The make test should create tmp-php.ini for you (and copy your Everybody has custom php.ini

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-13 Thread Ferenc Kovacs
On Tue, Sep 13, 2011 at 8:23 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/13/11 11:04 AM, Ferenc Kovacs wrote: as I mentioned before, make test (at least it should) passes the -n -c argument to run-tests.php see http://svn.php.net/viewvc/php/php-src/trunk/Makefile.global?view

Re: [PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-13 Thread Ferenc Kovacs
On Tue, Sep 13, 2011 at 9:56 PM, Christopher Jones christopher.jo...@oracle.com wrote: On 09/13/2011 12:25 PM, Nikita Popov wrote: I changed my previous patch to an SVN patch, so it is easier to apply and added another patch (the one called tokenizer_patch_full.txt), which additionally

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-13 Thread Ferenc Kovacs
On Tue, Sep 13, 2011 at 8:23 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/13/11 11:04 AM, Ferenc Kovacs wrote: as I mentioned before, make test (at least it should) passes the -n -c argument to run-tests.php see http://svn.php.net/viewvc/php/php-src/trunk/Makefile.global?view

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/NEWSbranches/PHP_5_4/ext/session/config.m4 branches/PHP_5_4/ext/session/config.w32branches/PHP_5_4/ext/session/mod_user.c branches/PHP_5

2011-09-14 Thread Ferenc Kovacs
./vcsclean ./buildconf --force On Wed, Sep 14, 2011 at 8:07 AM, Laruence larue...@php.net wrote: Hi,  FYI, you might should delete the autom4te.cache folder too :-) thanks 2011/9/14 Christian Stocker chr...@php.net: Hi I still have this. even after re-running buildconf (and deleting

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/NEWSbranches/PHP_5_4/ext/session/config.m4 branches/PHP_5_4/ext/session/config.w32branches/PHP_5_4/ext/session/mod_user.c branches/PHP_5

2011-09-14 Thread Ferenc Kovacs
no problem, I just mentioned because it is easier to remember, and it should take care of the similar problems. On Wed, Sep 14, 2011 at 9:08 AM, Christian Stocker christian.stoc...@liip.ch wrote: On 14.09.11 09:00, Ferenc Kovacs wrote: ./vcsclean ./buildconf --force ok, that helped. Thanks

Re: [PHP-DEV] 5.4 beta

2011-09-14 Thread Ferenc Kovacs
On Wed, Sep 14, 2011 at 9:19 AM, Derick Rethans der...@php.net wrote: On Wed, 14 Sep 2011, Laruence wrote:    SessionHandler is not stable now, and remain some bugs need to be fixed(one open bug #55690, and test failed) It's a beta release. Bugs may occur (that's why we have betas!). it's

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-14 Thread Ferenc Kovacs
Why do we even have this tmp-php.ini? Why not just make test without any .ini files, i.e. just with -n option? [20:44:09] bjori Tyrael: tmp-php.ini is built from the system ini [20:44:45] bjori Tyrael: if he builds php with --with-config-file-scan-dir=/where/ever/he/has/another/php.ini, then

Re: [PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-16 Thread Ferenc Kovacs
Wait wait wait. Thats the point here? __COMPILER_HALT_OFFSET__ already tells you where the data starts. -Hannes I didn't sent this message first, but after reading the mail from Chris, I think maybe it would clear the confusion: It is about tokenizing a file which has __halt_compiler(); in

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-17 Thread Ferenc Kovacs
maybe Richard referring to https://bugs.php.net/bug.php?id=55085 ? but those change only affects the abstract classes. Tyrael On Sat, Sep 17, 2011 at 3:43 PM, Nikita Popov nikita@googlemail.com wrote: Hi Richard! Which change are you talking about? I just tried doing:    ?php    class A

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-17 Thread Ferenc Kovacs
 do you know any reason for this? The reason for this is simply that B must act like A since every B object is also an object of A. The reason for restricting the method signature in the Subclass is to guarantee that an instance of a Subclass should work where an instance of the Superclass

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-18 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 1:21 AM, Pierre Joye pierre@gmail.com wrote: hi, On Sun, Sep 18, 2011 at 9:06 PM, Stas Malyshev smalys...@sugarcrm.com wrote: There's no matter of breaking BC - there's no BC issues with dropping error messages, nobody's code relies on generating fatal errors for

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-18 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 2:24 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Sep 19, 2011 at 1:59 AM, Stas Malyshev smalys...@sugarcrm.com wrote: foo() is compatible with foo($a, $b) - since anywhere you can call function declared as foo($a, $b) you can also successfully call one declared

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 11:12 AM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: Em Mon, 19 Sep 2011 10:01:32 +0100, Etienne Kneuss col...@php.net escreveu: Sure, but you mix two things here, references would have to be handled specifically, and we would not allow to specify less args by ref.

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 10:40 AM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: Em Sun, 18 Sep 2011 20:06:31 +0100, Stas Malyshev smalys...@sugarcrm.com escreveu: On 9/18/11 11:23 AM, Nikita Popov wrote: to tell you: I need this and that method accepting these and these arguments to work

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 11:32 AM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: Em Mon, 19 Sep 2011 10:18:50 +0100, Stas Malyshev smalys...@sugarcrm.com escreveu: On 9/19/11 2:12 AM, Gustavo Lopes wrote: Arbitrary as it may be, it's nevertheless reasonably arbitrated given how little useful

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 11:55 AM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: Em Mon, 19 Sep 2011 10:35:47 +0100, Ferenc Kovacs tyr...@gmail.com escreveu: could you check my second(lengthy) mail on this thread? I also tried to come up with the valid, and invalid signature changes. I forget

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/mysqli_api.c branches/PHP_5_4/ext/mysqli/mysqli_api.c trunk/ext/mysqli/mysqli_api.c

2011-09-19 Thread Ferenc Kovacs
Good point, are you proposing to change code and make libmysql 5.0+ a requirement? If so, several changes should be made to ext/mysql, ext/mysqli and PDO_MySQL. I think that it is your call, but yes, I think it would reasonable, and it would make our/your work much easier if we would have to

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Ferenc Kovacs
On Mon, Sep 19, 2011 at 12:20 PM, Pierre Joye pierre@gmail.com wrote: On Mon, Sep 19, 2011 at 12:18 PM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote:

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Ferenc Kovacs
First of all, Anthony, thanks for joining into the discussion! With respect to the func_get_args argument, I see that as a non-issue.  Sure, you can do it.  But if you do, you're lying about the interface.  You're telling the callers that you expect no arguments, but then all of a sudden you

Re: [PHP-DEV] is_a() - again - a better fix

2011-09-20 Thread Ferenc Kovacs
On Tue, Sep 20, 2011 at 11:54 PM, Alan Knowles a...@akbkhome.com wrote: Let's try and close this one. https://bugs.php.net/bug.php?id=55475 I've just added a patch that adds is_class_of(), which is identical to is_subclass_of, and has the new feature of supporting strings and using the

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/Zend/tests/bug55509.phpt branches/PHP_5_3/Zend/zend_alloc.c branches/PHP_5_4/Zend/tests/bug55509.phpt branches/PHP_5_4

2011-09-22 Thread Ferenc Kovacs
I just stumbled upon on this test as it timed out for me(my test vm started swapping, so run-tests.php terminated after 60 sec). I think it would be good if we could somehow check the available ram, and skipif if it isn't enough, and I think we could also save off an str_repeat call: each

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/calendar/tests/easter_date.phpt branches/PHP_5_4/ext/calendar/tests/easter_date.phpt trunk/ext/calendar/tests/easter_date.phpt

2011-09-22 Thread Ferenc Kovacs
Derick, could you look into this? I think that the easter_days should take the date.timezone account when calculating a timestamp On Thu, Sep 22, 2011 at 10:59 PM, Ferenc Kovacs tyr...@php.net wrote: tyrael                                   Thu, 22 Sep 2011 20:59:10 + Revision: http

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/calendar/tests/easter_date.phpt branches/PHP_5_4/ext/calendar/tests/easter_date.phpt trunk/ext/calendar/tests/easter_date.phpt

2011-09-22 Thread Ferenc Kovacs
ext/intl/tests/dateformat_parse.phpt seems also affected by this: http://news.php.net/php.cvs/66617 On Thu, Sep 22, 2011 at 11:06 PM, Ferenc Kovacs tyr...@php.net wrote: Derick, could you look into this? I think that the easter_days should take the date.timezone account when calculating

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-23 Thread Ferenc Kovacs
On Tue, Sep 20, 2011 at 9:35 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 9/20/11 12:07 PM, Reindl Harald wrote: but it is not logical foo() in B can do anything with $a before or after parent::foo() and the caller does not need to know at any point that B has anything to do

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-09-23 Thread Ferenc Kovacs
Funny you mention that.  I wrote an extensive email to the PEAR QA team a month ago (http://news.php.net/php.pear.qa/5890) proposing I clean up the PEAR CI code and that they contact PHP QA to get it running on gcov.php.net.  Alas, the people on PEAR QA team seem preoccupied with life, so

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-26 Thread Ferenc Kovacs
I've just noticed that we had a related bugreport, I thought that I should mention it: https://bugs.php.net/bug.php?id=55479 -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] required argument after an optional should make it required

2011-09-26 Thread Ferenc Kovacs
Hi. I've just found a nice feature request in the bugtracker: https://bugs.php.net/bug.php?id=53399 what do you think about it? -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] open_basedir bypass - errata tempnam()

2011-09-28 Thread Ferenc Kovacs
please configure the mailing-list correct please add a hint that modern clients have a reply-to-list for the record, I don't have that in gmail. please add a hint that the sender should be removed after reply-all because internals@lists.php.net is reaching the list AND the sender of the

Re: [PHP-DEV] Reply-to of mailing lists (was: open_basedir bypass - errata tempnam() )

2011-09-28 Thread Ferenc Kovacs
2011/9/28 Ángel González keis...@gmail.com: Ferenc Kovacs wrote: well if there would be used Reply-To-Headers tell me ONE reason to get every answer twice I don't get two emails in gmail, I don't know that the list is smart enough to not send emails those who are to or cc'ed, or maybe it's

Re: [PHP-DEV] Cast trap with INI entries compiling C++ extension

2011-10-03 Thread Ferenc Kovacs
there was a problem with bugs.php.net, so the captcha error was on our end. thanks for the report On Mon, Oct 3, 2011 at 10:01 AM, Olivier Favre oliv...@yakaz.com wrote: I finally managed to submit the patch... I used iceweasel 6.0.2 instead of Google Chrome 14.0.835.186... or maybe the captcha

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-06 Thread Ferenc Kovacs
On Thu, Oct 6, 2011 at 2:49 PM, Jan Schneider j...@horde.org wrote: Zitat von Pierre Joye pierre@gmail.com: On Fri, Sep 23, 2011 at 12:23 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 09/23/2011 12:17 PM, Pierre Joye wrote: We do 2) already (while we are working on increasing the

Re: [PHP-DEV] 5.4 beta

2011-10-07 Thread Ferenc Kovacs
On Wed, Sep 7, 2011 at 8:46 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 8/28/11 10:55 PM, Gustavo Lopes wrote: I should ask someone with Zend karma to commit the closure rebinding patch. Context: https://wiki.php.net/rfc/closures/object-extension#privateprotected_members_scope

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

2011-10-07 Thread Ferenc Kovacs
On Tue, Nov 30, 2010 at 9:57 AM, Michael Wallner m...@php.net 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 Finally. it seems that it didn't made it to the

Re: [PHP-DEV] 5.4 beta

2011-10-07 Thread Ferenc Kovacs
' On Fri, Oct 7, 2011 at 8:58 PM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: On Fri, 07 Oct 2011 18:31:42 +0100, Ferenc Kovacs tyr...@gmail.com wrote: do we have a wiki/documentation about what exactly ended up in 5.4 from the Closure improvements? (Rebind) https://wiki.php.net/rfc

[PHP-DEV] little tweeking on the release process RFC

2011-10-07 Thread Ferenc Kovacs
Hi I just read through the releaseprocess RFC( https://wiki.php.net/rfc/releaseprocess ) again, and I think that the part where we explain the Release Process and the BC could be clarified a little bit. (We still haven't agreed on the how many concurrent versions should we support, how long would

[PHP-DEV] Re: little tweeking on the release process RFC

2011-10-07 Thread Ferenc Kovacs
- internal src compatibility oh, thats the same as internal API compatibility, then I'm not sure what src compatibility should be kept if possible, while breakages are allowed is referring to, as both internals API/ABI, and userland API is mentioned already in the rfc for the minor version. --

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/mysqli_api.c branches/PHP_5_4/ext/mysqli/mysqli_api.c trunk/ext/mysqli/mysqli_api.c

2011-10-07 Thread Ferenc Kovacs
2011/9/19 Johannes Schlüter johan...@schlueters.de: On Mon, 2011-09-19 at 12:25 +0200, Ferenc Kovacs wrote: Good point, are you proposing to change code and make libmysql 5.0+ a requirement? If so, several changes should be made to ext/mysql, ext/mysqli and PDO_MySQL. I think

[PHP-DEV] php54 vote

2011-10-07 Thread Ferenc Kovacs
Hi https://wiki.php.net/todo/php54/vote I've just noticed that the php namespace and the primitive types (string, bool, int) are still not reserved. the primitive types didn't had the 66% of the votes, but the php namespace did, so at least that should have been reserved in 5.4 already. what is

Re: [PHP-DEV] php54 vote

2011-10-08 Thread Ferenc Kovacs
thanks for the heads up, I didn't remembered that thread :( btw. didn't we had some parser improvement patch laying around for a while now? On Sat, Oct 8, 2011 at 4:02 PM, Patrick ALLAERT patrickalla...@php.net wrote: 2011/10/8 Ferenc Kovacs tyr...@gmail.com: Hi https://wiki.php.net/todo

Re: [PHP-DEV] php54 vote

2011-10-08 Thread Ferenc Kovacs
On Sat, Oct 8, 2011 at 7:50 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 10/8/11 3:07 AM, Ferenc Kovacs wrote: I've just noticed that the php namespace and the primitive types (string, bool, int) are still not reserved. Reserving primitive types was decided not to be practically

Re: [PHP-DEV] Version control

2011-10-09 Thread Ferenc Kovacs
hi. on the rather one sided discussion on DVCS I disagree with that part of your comment. On Sun, Oct 9, 2011 at 1:45 PM, Lester Caine les...@lsces.co.uk wrote: While the stable door has already been slammed shut, I think this will be of interest to other developers ...

Re: [PHP-DEV] bug #47358 -- unexpected behaviour

2011-10-09 Thread Ferenc Kovacs
Hi, My first instinct tells me, that it was closed by mistake, as from the first comment it could seem as the reported problem only happens if the path given to glob is outside of open_basedir. As the reported explained in his second comment, it is not the case, but glob returns different result

Re: [PHP-DEV] Version control

2011-10-09 Thread Ferenc Kovacs
On Sun, Oct 9, 2011 at 6:31 PM, Lester Caine les...@lsces.co.uk wrote: Ferenc Kovacs wrote: on the rather one sided discussion on DVCS I disagree with that part of your comment. More people are already using git and are not open to changing so the discussion was rather one sided. :( Today

Re: [PHP-DEV] Array dereferencing using alternative array syntax

2011-10-10 Thread Ferenc Kovacs
On Mon, Oct 10, 2011 at 1:30 AM, Peter Cowburn petercowb...@gmail.com wrote: Hi Nikita, On 9 October 2011 18:14, Nikita Popov nikita@googlemail.com wrote: Hi list! PHP 5.4 added array dereferencing support (e.g. `func()[1]`), but the grammar seems to lack support for dereferencing using

[PHP-DEV] enable mbstring by default

2011-10-11 Thread Ferenc Kovacs
Hi. As the full unicode support went down with php6, wouldn't it be a logical step to enable the mbstring extension by default(maybe even turning it into a builtin ext like phar)? I think that mbstring is a pretty mature and stable extension, and there isn't much dependencies so I can't think of

Re: [PHP-DEV] 5.4 undocumented stuff

2011-10-16 Thread Ferenc Kovacs
On Sun, Oct 16, 2011 at 4:15 AM, Stas Malyshev smalys...@sugarcrm.comwrote: 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

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 harald.l...@gmail.com 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

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

2011-10-17 Thread Ferenc Kovacs
On Mon, Oct 17, 2011 at 8:54 AM, Stas Malyshev smalys...@sugarcrm.comwrote: 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

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

2011-10-17 Thread Ferenc Kovacs
or E_NOTICE you are already incurring a performance hit. On Mon, Oct 17, 2011 at 3:49 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Mon, Oct 17, 2011 at 8:54 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 10/16/11 5:54 PM, Sebastian Bergmann wrote: Such a performance

[PHP-DEV] typehinting traits

2011-10-17 Thread Ferenc Kovacs
Hi Stefan, Multiple people asked me that how they can expect/check that a given object uses a trait or not. Of course one could write the concrete methods as a trait and always use a given interface for typehints, but I can't see why shouldn't instanceof and typehints in general work for traits.

[PHP-DEV] Re: typehinting traits

2011-10-17 Thread Ferenc Kovacs
On Mon, Oct 17, 2011 at 8:00 PM, Stefan Marr p...@stefan-marr.de wrote: Hi Ferenc: On 17 Oct 2011, at 19:41, Ferenc Kovacs wrote: Hi Stefan, Multiple people asked me that how they can expect/check that a given object uses a trait or not. Of course one could write the concrete methods

[PHP-DEV] Re: typehinting traits

2011-10-17 Thread Ferenc Kovacs
On Mon, Oct 17, 2011 at 8:19 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Mon, Oct 17, 2011 at 8:00 PM, Stefan Marr p...@stefan-marr.de wrote: Hi Ferenc: On 17 Oct 2011, at 19:41, Ferenc Kovacs wrote: Hi Stefan, Multiple people asked me that how they can expect/check that a given

Re: [PHP-DEV] php 5.4 next iteration

2011-10-18 Thread Ferenc Kovacs
On Tue, Oct 18, 2011 at 9:36 PM, Pierre Joye pierre@gmail.com wrote: On Tue, Oct 18, 2011 at 8:03 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Since we have next release planned on 20th, and since we have at least three unsolved issues for 5.4 yet which we expect resolution

Re: [PHP-DEV] Renaming php-cvs to php-svn ?

2011-10-20 Thread Ferenc Kovacs
On Fri, Jul 17, 2009 at 12:42 AM, Gwynne Raskind gwy...@darkrainfall.orgwrote: On Jul 16, 2009, at 6:19 PM, Jani Taskinen wrote: Or just to something more generic like php-commits@ ? The same with zend-commits? Only php-commits@ is necessary since there is no separate Zend stuff anymore..?

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-25 Thread Ferenc Kovacs
On Tue, Oct 25, 2011 at 10:59 AM, Jan Schneider j...@horde.org wrote: Zitat von Ferenc Kovacs tyr...@gmail.com: On Thu, Oct 6, 2011 at 2:49 PM, Jan Schneider j...@horde.org wrote: Zitat von Pierre Joye pierre@gmail.com: On Fri, Sep 23, 2011 at 12:23 PM, Rasmus Lerdorf ras

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-25 Thread Ferenc Kovacs
On Tue, Oct 25, 2011 at 12:05 PM, Pierre Joye pierre@gmail.com wrote: hi Jan! On Tue, Oct 25, 2011 at 10:59 AM, Jan Schneider j...@horde.org wrote: FWIW it seems to be more stable now since upgrading to a newer Jenkins version. Do you test it against php's snapshot too? -- Pierre

Re: [PHP-DEV] CI for 5.4

2011-11-02 Thread Ferenc Kovacs
On Wed, Sep 7, 2011 at 11:29 AM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Wed, Sep 7, 2011 at 03:53, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Sep 7, 2011 at 3:29 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! Since we started to pay real attention to our unit

Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 1:46 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Sep 7, 2011 at 11:29 AM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Wed, Sep 7, 2011 at 03:53, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Sep 7, 2011 at 3:29 AM, Stas Malyshev smalys

Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 6:10 PM, Klaus Silveira cont...@klaussilveira.comwrote: What are the current obstacles in a possible Jenkins implementation for the PHP codebase? -- Klaus Silveira (011) 8564-2492 www.klaussilveira.com Sorry, I don't really follow you. As I mentioned in my

Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 7:43 PM, Stefan Marr p...@stefan-marr.de wrote: Hi Ferenc: On 03 Nov 2011, at 19:01, Ferenc Kovacs wrote: Of course there are ways to improve the current setup, I listed those ideas at https://wiki.php.net/rfc/jenkins#future_plans Very nice. I don't know Jenkins

<    1   2   3   4   5   6   7   8   9   10   >