Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 8:33 PM, Stefan Marr p...@stefan-marr.de wrote: Hi: On 03 Nov 2011, at 20:15, Ferenc Kovacs wrote: The usual setup is that you have a mailing list/alias which always gets a mail about the build results (which can also be customized in detail, when to mail, etc

Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 8:41 PM, Klaus Silveira cont...@klaussilveira.comwrote: That's kind of a general setup, Stefan. Sending an email to the commiter that broke the build with details of the build process, as well sending an email to a mailing list. I'll be looking into this Jenkins issue

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 10:22 PM, Felipe Pena felipe...@gmail.com wrote: 2011/11/3 Ferenc Kovacs tyr...@gmail.com: On Thu, Nov 3, 2011 at 8:41 PM, Klaus Silveira cont...@klaussilveira.comwrote: That's kind of a general setup, Stefan. Sending an email to the commiter that broke the build

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 10:25 PM, Klaus Silveira cont...@klaussilveira.comwrote: Yes, it's a wonderful setup. Great work, Ferenc! :D This does give a nice motivation to write more tests and increase the code coverage, doesn't it? Yes, and first of all, to fix the currently failing tests. We

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 11:33 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 11/03/2011 02:26 PM, Ferenc Kovacs wrote: We could set up the email notification any time, we would just have to agree where to send (internals, php-qa, creating a dedicated mailing list?) and when to send (as I

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 11:58 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 11/03/2011 03:47 PM, Ferenc Kovacs wrote: A, it will report every test failure, but we fix all of our tests so we are cool. (my preference) But even if we do that, when a test does fail, it may take a couple

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Fri, Nov 4, 2011 at 12:20 AM, Stefan Marr p...@stefan-marr.de wrote: Hi: On 04 Nov 2011, at 00:12, Ferenc Kovacs wrote: I almost forget to mention, but the email notification also supports defining different recipients for each event, so for example the commiters could still get

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-03 Thread Ferenc Kovacs
On Fri, Nov 4, 2011 at 12:21 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 4, 2011 at 12:20 AM, Stefan Marr p...@stefan-marr.de wrote: Hi: On 04 Nov 2011, at 00:12, Ferenc Kovacs wrote: I almost forget to mention, but the email notification also supports defining different

Re: [PHP-DEV] SplClassLoader

2011-11-04 Thread Ferenc Kovacs
On Fri, Nov 4, 2011 at 10:33 AM, André Rømcke a...@ez.no wrote: On Thu, Nov 3, 2011 at 7:30 PM, Anthony Ferrara ircmax...@gmail.com wrote: Paul, I wasn't saying whether it should be included or not. I was saying that performance should not be a justification for it being included.

Re: [PHP-DEV] SplClassLoader

2011-11-04 Thread Ferenc Kovacs
my comments are also inline did you read the blogpost? most of your replies were cowered there. Yes. you mean you or André? If you use lowerCamelCase on the class names or your namespace, it will (/should) be exactly like on disk as well. So as previously said, it just

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-05 Thread Ferenc Kovacs
On Fri, Nov 4, 2011 at 2:00 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 4, 2011 at 12:21 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 4, 2011 at 12:20 AM, Stefan Marr p...@stefan-marr.de wrote: Hi: On 04 Nov 2011, at 00:12, Ferenc Kovacs wrote: I almost forget

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-05 Thread Ferenc Kovacs
On Sat, Nov 5, 2011 at 10:42 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 4, 2011 at 2:00 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 4, 2011 at 12:21 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 4, 2011 at 12:20 AM, Stefan Marr p...@stefan-marr.de wrote

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] CI for 5.4

2011-11-05 Thread Ferenc Kovacs
On Sat, Nov 5, 2011 at 4:23 PM, Hannes Magnusson bj...@php.net wrote: On Sat, Nov 5, 2011 at 10:42, Ferenc Kovacs tyr...@gmail.com wrote: I just noticed that the mail will be sent on each configuration build (debian 32bit, debian 64bit, freebsd 32bit, freebsd 64bit), which is of course

Re: [PHP-DEV] unsolved issues

2011-11-07 Thread Ferenc Kovacs
On Mon, Nov 7, 2011 at 7:52 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! We have the following issues which I'd really like to put behind us before RC (please correct me if they already were resolved): 1. is_a issue - did we resolve it? If not - does anyone have a proper patch and

Re: [PHP-DEV] CI for 5.4

2011-11-07 Thread Ferenc Kovacs
On Thu, Nov 3, 2011 at 8:15 PM, Ferenc Kovacs tyr...@gmail.com wrote: 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

Re: [PHP-DEV] unsolved issues

2011-11-07 Thread Ferenc Kovacs
On Mon, Nov 7, 2011 at 4:06 PM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hey Derick: On Mon, Nov 07, 2011 at 01:15:48PM +, Derick Rethans wrote: On Sun, 6 Nov 2011, Stas Malyshev wrote: 2. DateTime fixes with TLA timezones Please remind me the issue number? I

Re: [PHP-DEV] CI for 5.4

2011-11-07 Thread Ferenc Kovacs
On Mon, Nov 7, 2011 at 11:14 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Thu, Nov 3, 2011 at 8:15 PM, Ferenc Kovacs tyr...@gmail.com wrote: 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

Re: [PHP-DEV] SplClassLoader RFC Voting phase

2011-11-07 Thread Ferenc Kovacs
On Mon, Nov 7, 2011 at 7:26 PM, Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net wrote: On 07/11/11 19:17, Lester Caine wrote: guilhermebla...@gmail.com wrote: To participate of php-standards group, feel free to join here:

[PHP-DEV] Re: Request feedback on the Jenkins setup/RFC

2011-11-07 Thread Ferenc Kovacs
On Tue, Nov 8, 2011 at 1:03 AM, Christopher Jones christopher.jo...@oracle.com wrote: Ferenc, It's great to have this running. Some thoughts are: 1. Where are the 'configure' options output? I would have expected the View Build Information link on e.g.

Re: [PHP-DEV] Re: Request feedback on the Jenkins setup/RFC

2011-11-07 Thread Ferenc Kovacs
2011/11/8 Johannes Schlüter johan...@schlueters.de On Tue, 2011-11-08 at 00:24 +0100, Ferenc Kovacs wrote: 3, As I mentioned in the RFC, for now, we only set up the default exts, but as I mentioned in the RFC, the next step would be to enable as much as we can. locally I have VMs

Re: [PHP-DEV] Re: Request feedback on the Jenkins setup/RFC

2011-11-07 Thread Ferenc Kovacs
2011/11/8 Johannes Schlüter johan...@schlueters.de On Tue, 2011-11-08 at 01:18 +0100, Ferenc Kovacs wrote: Might also be nice to build (PECL) extensions as sub-tasks, so if they fail they don't cause the whole build to fail, but just a single red light between many green (or blue

Re: [PHP-DEV] CI for 5.4

2011-11-08 Thread Ferenc Kovacs
On Mon, Nov 7, 2011 at 4:42 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Mon, Nov 7, 2011 at 11:14 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Thu, Nov 3, 2011 at 8:15 PM, Ferenc Kovacs tyr...@gmail.com wrote: On Thu, Nov 3, 2011 at 7:43 PM, Stefan Marr p...@stefan-marr.de wrote: Hi

Re: [PHP-DEV] CI for 5.4

2011-11-08 Thread Ferenc Kovacs
On Tue, Nov 8, 2011 at 11:36 AM, Dirk Haun d...@haun-online.de wrote: Quoting Ferenc Kovacs tyr...@gmail.com: There is only three failing tests left on the debian slaves: For 5.3 ext/phar/tests/phar_oo_005.**phpt.Phar and RecursiveDirectoryIterator 0.01 20 ext/spl/tests/bug60082.phpt

[PHP-DEV] who can vote

2011-11-09 Thread Ferenc Kovacs
Hi. As it was brought up recently that who can vote, and how are the community representatives granted with voting rights, I created an RFC draft for defining that- Please feel free to discuss and extend it. https://wiki.php.net/rfc/voting_who ps: it is really just a draft put together in like 5

Re: [PHP-DEV] who can vote

2011-11-09 Thread Ferenc Kovacs
I think that this isn't a good idea. The main reason for a [php-src] vs. [php-doc et al.] distinction is that the php-src guys will be the ones maintaining the code. (At least from what I heard this is the main point.) I have more argument than that, maybe there are others also: - The core

Re: [PHP-DEV] who can vote

2011-11-09 Thread Ferenc Kovacs
On Thu, Nov 10, 2011 at 4:01 AM, guilhermebla...@gmail.com guilhermebla...@gmail.com wrote: Hi internals, I won't enter on this thread of Who can vote, but I'll get around it during the exposure of my point of view. I may also point to individual RFCs that were either accepted/rejected or

Re: [PHP-DEV] SplClassLoader RFC Voting phase

2011-11-10 Thread Ferenc Kovacs
On Thu, Nov 10, 2011 at 10:36 AM, Pierre Joye pierre@gmail.com wrote: hi Stas, On Thu, Nov 10, 2011 at 8:17 AM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! This attitude only makes me lose a lot of time answering questions instead of focusing on actual RFC stability. I want to

[PHP-DEV] Fwd: [PHP-CVS] svn: /php/php-src/branches/PHP_5_4/ NEWS ext/standard/exec.c ext/standard/tests/general_functions/bug60116.phpt

2011-11-10 Thread Ferenc Kovacs
maybe someone else would be also interested in fixing the build. -- Forwarded message -- From: Ferenc Kovacs tyr...@gmail.com Date: Thu, Nov 10, 2011 at 3:34 PM Subject: Re: [PHP-CVS] svn: /php/php-src/branches/PHP_5_4/ NEWS ext/standard/exec.c ext/standard/tests/general_functions

Re: [PHP-DEV] who can vote

2011-11-10 Thread Ferenc Kovacs
On Thu, Nov 10, 2011 at 10:17 PM, Pierre Joye pierre@gmail.com wrote: On Thu, Nov 10, 2011 at 9:04 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 11/10/2011 10:38 AM, Pierre Joye wrote: On Thu, Nov 10, 2011 at 7:18 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: We are not talking

[PHP-DEV] release-qa.php and README.RELEASE_PROCESS

2011-11-11 Thread Ferenc Kovacs
Hi. I mentioned this before, and I remembered yesterday when David updated the README.RELEASE_PROCESS: http://svn.php.net/viewvc?view=revisionrevision=319009 : Currently bugs.php.net uses the qa.php.net api to decide which PHP branch are active, so what version should be listed for the

Re: [PHP-DEV] release-qa.php and README.RELEASE_PROCESS

2011-11-12 Thread Ferenc Kovacs
here to work on that, and certainly since 2 weeks. Cheers, On Sat, Nov 12, 2011 at 12:30 AM, Ferenc Kovacs tyr...@gmail.com wrote: Hi. I mentioned this before, and I remembered yesterday when David updated the README.RELEASE_PROCESS: http://svn.php.net/viewvc?view=revisionrevision

Re: [PHP-DEV] Wrong/outdated usernames in SVNROOT/global_avail

2011-11-12 Thread Ferenc Kovacs
On Sat, Nov 12, 2011 at 1:56 AM, Florian Anderiasch m...@anderiasch.dewrote: Hey there, I just noticed some inconsistencies in svn usernames used in SVNROOT/global_avail. After some shell magic involving sed,grep and diff these names don't match the 1607 people on master, as of a few

Re: [PHP-DEV] function ob_gzhandler is missed in 5.4

2011-11-13 Thread Ferenc Kovacs
On Sun, Nov 13, 2011 at 4:26 PM, Reindl Harald h.rei...@thelounge.netwrote: Am 13.11.2011 16:11, schrieb Laruence: Hi: this revisioin remove the ob_* functions: http://svn.php.net/viewvc?view=revisionrevision=299980 is this intentional? if yes, I think this will become a doc

[PHP-DEV] pecl sqlite

2011-11-16 Thread Ferenc Kovacs
Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still advertises using ext/sqlite instead. Is that intentional? The problem is, that for 5.3, the prefered way to use the sqlite ext is to use the one bundled in core, however for 5.4 and trunk, you

Re: [PHP-DEV] session_regenerate_id() not replacing Set-Cookie header

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 12:12 PM, Michael Wallner m...@php.net wrote: On Tue, 15 Nov 2011 23:51:25 +0100, Patrick ALLAERT wrote: As per rfc6265, it seems incorrect: Servers SHOULD NOT include more than one Set-Cookie header field in the same response with the same cookie-name. @mike

Re: [PHP-DEV] pecl sqlite

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 12:53 PM, Felipe Pena felipe...@gmail.com wrote: 2011/11/16 Ferenc Kovacs tyr...@gmail.com: Hi. We moved the sqlite ext from core to pecl with 5.4, but the http://pecl.php.net/package/sqlite still advertises using ext/sqlite instead. Is that intentional

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Ferenc Kovacs
\o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our new embedded developer server instead. On Wed, Nov 16, 2011 at 9:15 PM, Klaus Silveira klaussilve...@php.netwrote: I'll try to help Laruence improve the test coverage. If you guys have any suggestion for

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 9:31 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered to update the http tests to use our new embedded developer server instead. Hi, I'm still into that, but unfortunately

Re: [PHP-DEV] PHP CLI webserver test failures

2011-11-16 Thread Ferenc Kovacs
On Wed, Nov 16, 2011 at 10:09 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: On Wed, Nov 16, 2011 at 9:31 PM, Alexey Shein con...@gmail.com wrote: 2011/11/17 Ferenc Kovacs tyr...@gmail.com: \o/ You could also ask Alex Shein, he was volunteered

Re: [PHP-DEV] pecl sqlite

2011-11-17 Thread Ferenc Kovacs
On Thu, Nov 17, 2011 at 2:08 PM, Pierre Joye pierre@gmail.com wrote: hi, 2011/11/16 Philip Olson phi...@roshambo.org: We need to make pecl/sqlite work with 5.4, as currently it does not. Why? We moved it out because it is not maintained anymore. As I agree that the concept of move to

Re: [PHP-DEV] Results of testing ZF against PHP 5.4.0RC1

2011-11-17 Thread Ferenc Kovacs
Hi Matthew, my replies are inline On Thu, Nov 17, 2011 at 9:46 PM, Matthew Weier O'Phinney weierophin...@php.net wrote: Greetings! My team and I (which means Ralph Schindler and Enrico Zimuel) took some time this week to: * Build PHP 5.4.0RC1 and run make tests (and send feedback) *

Re: [PHP-DEV] Results of testing ZF against PHP 5.4.0RC1

2011-11-18 Thread Ferenc Kovacs
On Fri, Nov 18, 2011 at 5:40 PM, Richard Quadling rquadl...@gmail.comwrote: On 18 November 2011 13:31, Felipe Pena felipe...@gmail.com wrote: 2011/11/18 Pierre Joye pierre@gmail.com: same here, and for any other places in the ob_* APIs. Functions returns false on error, cleaning

Re: [PHP-DEV] pecl sqlite

2011-11-18 Thread Ferenc Kovacs
2011/11/17 Johannes Schlüter johan...@schlueters.de Just to make one thing clear: To the best of my knowledge the module works with 5.4 and trunk (it's three months since I tested, but I'm not aware of a recent big API break) only defect is that the PDO sqlite2 driver won't be there and can't

Re: [PHP-DEV] SVN Account Request: ralphschindler

2011-11-19 Thread Ferenc Kovacs
On Thu, Nov 10, 2011 at 11:08 PM, Ralph Schindler ra...@ralphschindler.comwrote: Maintenance of the Phar extension (bug fixing, documentation fixes, etc) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php I know I don't really have

Re: [PHP-DEV] pecl sqlite

2011-11-19 Thread Ferenc Kovacs
On Sat, Nov 19, 2011 at 10:14 AM, Pierre Joye pierre@gmail.com wrote: open a bug (doc bug) and add it to the TODOs, so it won't be forgotten. done: https://bugs.php.net/bug.php?id=60336 https://wiki.php.net/todo/php54 -- Ferenc Kovács @Tyr43l - http://tyrael.hu

Re: [PHP-DEV] SVN Account Request: ralphschindler

2011-11-19 Thread Ferenc Kovacs
On Sat, Nov 19, 2011 at 1:12 PM, Pierre Joye pierre@gmail.com wrote: this patch has been applied by Stas. I see the commit, and that reminded me replying to his request. -- Ferenc Kovács @Tyr43l - http://tyrael.hu

Re: [PHP-DEV] Re: [PECL-DEV] libidn2 extension for php

2011-11-21 Thread Ferenc Kovacs
However there's a little problem. The new interface reports errors via the usual ICU mechanism AND it also uses a new structure to pass IDNA specific errors. Also, it reports whether the use of the transitional mechanism affects the result. So I see only two solutions so that that extra

Re: [PHP-DEV] Strict session?

2011-11-22 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 12:31 AM, Christopher Jones christopher.jo...@oracle.com wrote: On 11/22/2011 02:51 PM, Yasuo Ohgaki wrote: It will save much time if I don't have to write wiki for rfc. Please add at least the contents of your email to an RFC so there is some description that

Re: [PHP-DEV] Strict session?

2011-11-22 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 1:46 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Ferenc, I can login to wiki, but cannot write to the page. https://wiki.php.net/rfc/strict_sessions Could you update the page with attached file? Thank you. -- Yasuo Ohgaki Sure, Hannes, could you please give

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 9:56 AM, Lester Caine les...@lsces.co.uk wrote: Etienne Kneuss wrote: AFAIK this is one of the change that was explicitly put in to make it more consistent. But now it breaks code in the wild. I came across this due to an isset() in PEAR now passing when it

Re: [PHP-DEV] intl IDNA patch

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 10:26 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! Technically, yes, it is possible. But is it desirable? It would require breaking the abstraction and looking at the actual values of the flags, choosing one of the unused bits (possibly a high one) and hope

Re: [PHP-DEV] intl IDNA patch

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 10:36 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I thought that we already agreed using an output argument for getting the specific error instead of returning either a string or an array. That's what I was thinking too, but Gustavo seems to plan to do

Re: [PHP-DEV] intl IDNA patch

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 10:47 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Nov 23, 2011 at 10:36 AM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I thought that we already agreed using an output argument for getting the specific error instead of returning either a string

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 10:51 AM, Lester Caine les...@lsces.co.uk wrote: Ferenc Kovacs wrote: some clarification: in the test script, Daniel declared $arr as: $arr = array('exists' = 'foo'); so when he tests $arr['exists']['non_existent'] PHP will see that $arr['exists'] is a string

Re: [PHP-DEV] Strict session?

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 2:53 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: 2011/11/23 Hannes Magnusson bj...@php.net: He has svn account. If you login with your svn credentials you'll have full write karma to everything on the wiki. If you don't remember your password;

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 3:14 PM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi Stas: It's actually very simple. Take variable $a which is a string (foo). Now it you do $a[0] that would produce first letter - f. Now here's a tricky part - if you do $a['blah'] it would

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 3:42 PM, Gustavo Lopes glo...@nebm.ist.utl.ptwrote: Em Wed, 23 Nov 2011 14:19:42 -, Ferenc Kovacs tyr...@gmail.com escreveu: On Wed, Nov 23, 2011 at 3:14 PM, Daniel Convissor danielc@analysisandsolutions.**com dani...@analysisandsolutions.com wrote: It's

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 4:04 PM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi Ferenc: [And the manual sys...] Non-integer types are converted to integer. So it is a documented behavior, so the current change is just a bugfix imo. Can someone please lend me their time

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 4:31 PM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi Again Folks: On Wed, Nov 23, 2011 at 09:14:09AM -0500, Daniel Convissor wrote: $a = 'foo'; echo $a['blah'] . \n; But that second one echos out f. This is a huge WTF. Two things for the

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 7:52 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! On 11/23/11 6:14 AM, Daniel Convissor wrote: To me, this is the bug. $a['blah'] does not exist. An undefined index If it's a bug, this bug was in PHP since forever, nothing new here. notice should be

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 7:57 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! Unless I'm mistaken it seems that we have a clear and vicious BC break here, the kind of changes that are annoying to catch and does not No, we do not have a BC break here, we have a bugfix here that makes

Re: [PHP-DEV] news.php.net archive

2011-11-23 Thread Ferenc Kovacs
On Wed, Nov 23, 2011 at 8:40 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! I have been using news.php.net ML archive a couple of times lately, and I must say unfortunately it's not the best ML archive I have seen around. No search, no indexing by date/topic, references are sometimes

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 1:38 AM, David Muir davidkm...@gmail.com wrote: On 24/11/11 06:25, Stas Malyshev wrote: Hi! The only case where the 5.4 branch works differently as before if you reference a string type(int, float, etc. won't trigger this) variable using an associative index and

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 3:41 AM, David Muir davidkm...@gmail.com wrote: On 24/11/11 12:44, Ferenc Kovacs wrote: On Thu, Nov 24, 2011 at 1:38 AM, David Muir davidkm...@gmail.com wrote: Just to clarify, the changes introduced in 5.4 will result in the following: ?php $string = 'foo

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 10:32 AM, Lester Caine les...@lsces.co.uk wrote: Stas Malyshev wrote: Hi! That would help a lot ... this is not a problem of so the developer can fix his code but rather so we can fix legacy code which other non-developers are currently using happily ... If *I*

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
It gives me false in 5.3.6. Using it outside of isset() results in the fatal error. hm. tyrael@thor:~$ php -r '$string = foo;isset($string[foo][bar][baz][0]);'; PHP Fatal error: Cannot use string offset as an array in Command line code on line 1 tyrael@thor:~$ php -v PHP

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 11:05 AM, de...@lucato.it wrote: On 24 November 2011 01:38, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! But neither is introducing a potential bomb of the kind that the 'date' saga created. The problem this change IS causing is likely to hit many live

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 11:31 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: -Original Message- From: Gustavo Lopes [mailto:glo...@nebm.ist.utl.pt] Sent: 23 November 2011 22:31 On Wed, 23 Nov 2011 21:06:09 -, Pierre Joye pierre@gmail.com wrote: The fact that we

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 2:04 PM, de...@lucato.it wrote: Thanks Ferenc Everything looks ok http://codepad.viper-7.com/JTXsGK Devis here are the corner cases: 5.3: http://codepad.viper-7.com/nPLorU 5.4: http://codepad.viper-7.com/MUdAlc as you can see from the 4th example, your test will

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 9:12 PM, Larry Garfield la...@garfieldtech.comwrote: On 11/23/2011 12:13 PM, Lester Caine wrote: Richard Quadling wrote: I agree with Daniel on this. Just looking for any test relating to isset() to see what tests will now fail. So it's not just me :) I am

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 10:44 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi all, I should think twice before seding mail. abc as array index is converted to 0 since it's not a integer. So with current code is behave consistently with regards to string to long conversion. However, PHP 5.3

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 10:48 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 11/24/2011 01:44 PM, Yasuo Ohgaki wrote: Hi all, I should think twice before seding mail. abc as array index is converted to 0 since it's not a integer. So with current code is behave consistently with

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
Isn't it better to raise notice for accessing string by string index? There is no use to allowing string index access to strings. I think raising notice is feasible. Isn't it? String index access is still required since they are often numeric strings. We could add a notice for

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Ferenc Kovacs
On Thu, Nov 24, 2011 at 11:03 PM, Larry Garfield la...@garfieldtech.comwrote: On 11/24/2011 02:58 PM, Ferenc Kovacs wrote: On Thu, Nov 24, 2011 at 9:12 PM, Larry Garfieldlarry@garfieldtech.**comla...@garfieldtech.com wrote: On 11/23/2011 12:13 PM, Lester Caine wrote: Richard Quadling

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-25 Thread Ferenc Kovacs
On Fri, Nov 25, 2011 at 3:52 AM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi Rasmus: Yes, no change in any of that. In your usage, the case that behaves differently in 5.4 was actually a fatal error in 5.3, so chances are pretty good you don't have too many of these.

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-25 Thread Ferenc Kovacs
On Fri, Nov 25, 2011 at 4:07 AM, Daniel Convissor dani...@analysisandsolutions.com wrote: Hi Anthony: isset($foo['bar'][1]['baz']) is_array($foo['bar'][1]) You don't need to check each level. Only the one above the key you're looking at. Excellent thinking. One hitch... that goes

Re: [PHP-DEV] Re: [RFC] Autoloader Error Handling

2011-11-25 Thread Ferenc Kovacs
The problem with fatal, that you have no way (by the standard means, but you can somehow manage it through the usage of output buffers or register_shutdown_function, but thats ugly, and can change in the future) to intercept and gracefully terminate your application, which is an often needed

Re: [PHP-DEV] Re: [RFC] Autoloader Error Handling

2011-11-25 Thread Ferenc Kovacs
On Fri, Nov 25, 2011 at 11:21 AM, Sebastian Krebs krebs@googlemail.comwrote: 2011/11/25 Ferenc Kovacs tyr...@gmail.com The problem with fatal, that you have no way (by the standard means, but you can somehow manage it through the usage of output buffers or register_shutdown_function

Re: [PHP-DEV] Re: [RFC] Autoloader Error Handling

2011-11-25 Thread Ferenc Kovacs
On Fri, Nov 25, 2011 at 12:56 PM, Christian Kaps christian.k...@mohiva.comwrote: I surround my application with a try/catch block to catch uncaught exceptions. An autoloader exception could be one of them. But I use also similar calls to reformat error messages. try { $class = new

Re: [PHP-DEV] Re: [RFC] Autoloader Error Handling

2011-11-25 Thread Ferenc Kovacs
On Fri, Nov 25, 2011 at 1:28 PM, Christian Kaps christian.k...@mohiva.comwrote: Am 25.11.2011 13:13, schrieb Ferenc Kovacs: On Fri, Nov 25, 2011 at 12:56 PM, Christian Kaps christian.k...@mohiva.com**wrote: I surround my application with a try/catch block to catch uncaught exceptions

Re: [PHP-DEV] CI for 5.4

2011-11-25 Thread Ferenc Kovacs
Yesterday we were talking about enabling more extensions and adding pecl into the mix: http://www.mail-archive.com/internals@lists.php.net/msg54220.html I think it would be a good idea to try to fix the currently failing tests. http://ci.qa.php.net/job/php-src-5.3-matrix-tests/35/testReport/?

[PHP-DEV] Re: release-qa.php and README.RELEASE_PROCESS

2011-11-26 Thread Ferenc Kovacs
On Sat, Nov 12, 2011 at 12:30 AM, Ferenc Kovacs tyr...@gmail.com wrote: Hi. I mentioned this before, and I remembered yesterday when David updated the README.RELEASE_PROCESS: http://svn.php.net/viewvc?view=revisionrevision=319009 : Currently bugs.php.net uses the qa.php.net api to decide

Re: [PHP-DEV] run-tests.php and dynamic extension dependencies

2011-11-28 Thread Ferenc Kovacs
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net wrote: Hi, I'm currently writing a shared extension thta depends on another shared extension (igbinary). make test doesn't handle this at the moment, because it removes every extension= line from it's temporary php.ini. This

Re: [PHP-DEV] run-tests.php and dynamic extension dependencies

2011-11-28 Thread Ferenc Kovacs
On Mon, Nov 28, 2011 at 2:44 PM, Derick Rethans der...@php.net wrote: On Mon, 28 Nov 2011, Richard Quadling wrote: On 28 November 2011 13:36, Derick Rethans der...@php.net wrote: On Mon, 28 Nov 2011, Ferenc Kovacs wrote: On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net

Re: [PHP-DEV] run-tests.php and dynamic extension dependencies

2011-11-28 Thread Ferenc Kovacs
2011/11/28 Johannes Schlüter johan...@schlueters.de On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote: + foreach ($extensions as $req_ext) { + $loaded = `$php -n -r 'echo (int) extension_loaded($req_ext);'`; + if ($loaded == '0') { This should use the tmp-php.ini as that might

Re: [PHP-DEV] Strict session?

2011-11-28 Thread Ferenc Kovacs
Hannes, I could edit the page once, but save button is disabled for some reason. Could you check my karma? Thank you. you have to either provide a comment for the wiki change or check the Minor Changes checkbox to be allowed to save your work. -- Ferenc Kovács @Tyr43l - http://tyrael.hu

Re: [PHP-DEV] CI for 5.4

2011-12-01 Thread Ferenc Kovacs
Hi, Recent activity: Alexey Shein dug through the failing symfony2 tests, and it turned out that 3 tests were bugged, he went ahead and fixed it ( https://github.com/symfony/symfony/pull/2750), one from the other two is a sporadic test, it can fail randomly, the last one fails in our specific

Re: [PHP-DEV] Strict session?

2011-12-02 Thread Ferenc Kovacs
On Fri, Dec 2, 2011 at 10:31 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi Daniel, 2011/12/2 Daniel K. d...@uw.no: Yasuo Ohgaki wrote: 2011/12/2 Daniel K. d...@uw.no: Yasuo Ohgaki wrote: 2011/12/2 Yasuo Ohgaki yohg...@ohgaki.net: Search for a + followed by only tabs or

Re: [PHP-DEV] CI for 5.4

2011-12-02 Thread Ferenc Kovacs
On Fri, Dec 2, 2011 at 4:47 PM, Matteo Beccati p...@beccati.com wrote: Hi, On 26/11/2011 01:05, Ferenc Kovacs wrote: FreeBSD: As I mentioned previously, the IO perf is really bad for those two vm's, so if we can't find a solution, or other place to run those, I will have to turn

Re: [PHP-DEV] Will apc.optimization ever be put back to APC?

2011-12-03 Thread Ferenc Kovacs
hi, see http://svn.php.net/viewvc?view=revisionrevision=224572 and http://svn.php.net/viewvc/pecl/apc/trunk/TECHNOTES.txt?r1=224572r2=224571pathrev=224572 especially it seems that it doesn't work out, and it was removed. So I'm pretty sure, that we won't see that option in the future. If the

Re: [PHP-DEV] Fixing string offsets of strings.

2011-12-04 Thread Ferenc Kovacs
On Sat, Dec 3, 2011 at 5:08 PM, Alan Knowles a...@akbkhome.com wrote: I've had a look at making string offsets of strings a bit saner. At present with the fix for array dereferencing : ?search=hello and a test like isset($_GET['search']['name']) results in true, which is has potential

Re: [PHP-DEV] Fixing string offsets of strings.

2011-12-04 Thread Ferenc Kovacs
2011/12/4 Johannes Schlüter johan...@schlueters.de On Sun, 2011-12-04 at 00:08 +0800, Alan Knowles wrote: This patch is a start. https://bugs.php.net/patch-display.php?bug_id=60362patch=first_effort_to_fix_thisrevision=latest It's been quite a while since I hacked on the engine, so the

Re: [PHP-DEV] Appropriate list for questions about extensions?

2011-12-05 Thread Ferenc Kovacs
On Mon, Dec 5, 2011 at 11:27 PM, James Edmunds relea...@gmail.com wrote: Hello all, I am new to this list and I am wondering if this is the appropriate place to ask a question about the internals for an extension, or is there a more appropriate list for that purpose? My issue is fairly

Re: [PHP-DEV] Re: Proposal for updating zbacktrace in gdbinit

2011-12-06 Thread Ferenc Kovacs
Laruence, I think that there is no point opening a thread if you will go ahead and commit after waiting 3 hours and 0 replies. Or did I miss someting here? On Tue, Dec 6, 2011 at 10:51 AM, Laruence larue...@php.net wrote: Hi: I update the patch, instead of change the behavior of zbacktrace,

Re: [PHP-DEV] Git Migration: An Update

2011-12-15 Thread Ferenc Kovacs
On Thu, Dec 15, 2011 at 5:12 PM, David Soria Parra d...@php.net wrote: Hi Internals, three months ago we decided to move PHP to Git. I want to give you an update what happend so far and what we are working on. So far we have: 1. A working import from php-src. 2. A basic server setup.

Re: [PHP-DEV] Return Type Hinting for Methods RFC

2011-12-22 Thread Ferenc Kovacs
scalar type hinting was rejected in the past multiple times. I think that expanding this RFC (against the wish of the original author of the RFC) would be a sure way to guarantee the same result for this RFC as well.. On Thu, Dec 22, 2011 at 4:08 PM, Keloran ava...@gmail.com wrote: i would love

Re: [PHP-DEV] [RFC]Call for voting about const array/string dereference

2011-12-27 Thread Ferenc Kovacs
On Tue, Dec 27, 2011 at 2:42 PM, Dmitri Snytkine dsnytk...@ultralogistics.com wrote: Odd how substring can be used as index of string. oh, I see where the confusion comes from. the reason why foobar[foo] returns 'f' isn't that foo is a substring of foobar, but that foo will be casted to int,

Re: [PHP-DEV] [RFC]Call for voting about const array/string dereference

2011-12-27 Thread Ferenc Kovacs
On Tue, Dec 27, 2011 at 2:15 PM, Dmitri Snytkine dsnytk...@ultralogistics.com wrote: No sure who can and cannot vote, I don't see any way for me to vote. https://wiki.php.net/rfc/voting currently the following two groups can vote: - people having php.net svn account - people having a wiki

Re: [PHP-DEV] REQUEST_TIME change in PHP 5.4

2011-12-27 Thread Ferenc Kovacs
On Tue, Dec 27, 2011 at 6:24 PM, Patrick ALLAERT patrickalla...@php.netwrote: 2011/12/27 Ilia Alshanetsky i...@ilia.ws: The change is inside 5.4 version which adjust breaks BC. I don't follow you here Ilia. As per https://wiki.php.net/rfc/releaseprocess: * Backward compatibility must be

Re: [PHP-DEV] Feature Request

2012-01-04 Thread Ferenc Kovacs
On Wed, Jan 4, 2012 at 5:18 PM, Keloran ava...@gmail.com wrote: I dont seem to have the karma for doing this in RFC so ill propose it here, and once karma make an RFC Is it possible to have a 2nd option on file_exists so that it returns the path you specified --Example $cFile =

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