[PHP-DEV] PHP 6 Windows Build?

2008-02-12 Thread Edward Z. Yang
Is it just me, or is the build log for PHP 6 on Windows really wonky? For certain modules (esp. http), it seems like they were attempted to be built (unsuccessfully) multiple times, and syntax errors abound. Is this expected? -- Edward Z. YangGnuPG: 0x869C48DA HTML Purif

Re: [PHP-DEV] build failure on windows PHP_5_2

2008-02-12 Thread Edward Z. Yang
Steph Fox wrote: > Rob's download page is at http://ctindustries.net/libxml/ if anyone > needs to update their libxml copy locally. Just a quick note: the new files don't seem to work properly with 5.2.5 unless you update ext/libxml/config.w32 to the branch version; apparently the wrong lib is use

Re: [PHP-DEV] Math functions (new parameter parsing)

2008-02-12 Thread David Coallier
On Feb 12, 2008 9:08 PM, Felipe Pena <[EMAIL PROTECTED]> wrote: > Em Qua, 2008-02-13 às 01:31 +0100, Pierre Joye escreveu: > > Hi! > > > > On Feb 13, 2008 1:04 AM, Felipe Pena <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I made a patch for 5_3 where all functions in ext/standard/math.c use

Re: [PHP-DEV] Math functions (new parameter parsing)

2008-02-12 Thread Felipe Pena
Em Qua, 2008-02-13 às 01:31 +0100, Pierre Joye escreveu: > Hi! > > On Feb 13, 2008 1:04 AM, Felipe Pena <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I made a patch for 5_3 where all functions in ext/standard/math.c use > > the new parameter parsing. (As was done in HEAD) > > I think it got lost

RE: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) /zend_compile.c zend_highlight.c zend_language_parser.yzend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phptheredoc_003.phpt he

2008-02-12 Thread Andi Gutmans
It's really hard to remember this stuff. Maybe we should make the system actually validate the messages when they are committed and reject the commit when tags are missing. For commits where a certain tag isn't relevant we could have an explicit way to skip it e.g. [DOC-NONE]. At least that way it'

Re: [PHP-DEV] Math functions (new parameter parsing)

2008-02-12 Thread Pierre Joye
Hi! On Feb 13, 2008 1:04 AM, Felipe Pena <[EMAIL PROTECTED]> wrote: > Hi all, > > I made a patch for 5_3 where all functions in ext/standard/math.c use > the new parameter parsing. (As was done in HEAD) I think it got lost between you and the list :) > If anyone think it good, let me know, and t

[PHP-DEV] Math functions (new parameter parsing)

2008-02-12 Thread Felipe Pena
Hi all, I made a patch for 5_3 where all functions in ext/standard/math.c use the new parameter parsing. (As was done in HEAD) If anyone think it good, let me know, and then i'll commit it. Several tests break with the patch. Hence, i'll fix them also, if agreed. :) -- Regards, Felipe Pena. --

Re: [PHP-DEV] substr & substr_compare fix

2008-02-12 Thread Nuno Lopes
I like the patches. If noone complains please go ahead and commit them. Thanks, Nuno - Original Message - From: "Etienne Kneuss" <[EMAIL PROTECTED]> To: "php-dev" Sent: Monday, February 11, 2008 6:07 PM Subject: [PHP-DEV] substr & substr_compare fix Hi, please consider the follow

Re: [PHP-DEV] final keyword

2008-02-12 Thread Sebastian
Plus as it is a constant it's value cannot be changed in the context of the object. However you could implement a method for this, e.g. get_status(); which then returns an array. But the final keyword would be more comfortable "Sebastian Schneider" <[EMAIL PROTECTED]> schrieb im Newsbeitrag

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Edward Z. Yang
Johannes Schlüter wrote: > What else would you expect? For me it looks right. I talked about this with Steph Fox, and the behavior is correct. Please disregard GP! :-) -- Edward Z. YangGnuPG: 0x869C48DA HTML Purifier Anti-XSS Filter [[ 3FA8 E9

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt

2008-02-12 Thread Pierre Joye
On Feb 12, 2008 7:47 PM, Hannes Magnusson <[EMAIL PROTECTED]> wrote: > On Feb 12, 2008 7:35 PM, Pierre Joye <[EMAIL PROTECTED]> wrote: > > On Feb 12, 2008 7:31 PM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > > > > > > I myself have forgot to use the damn dog tag many times. (Which is it > > > again,

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Pierre Joye
On Feb 12, 2008 6:56 PM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > And for the reasons why they're not needed in 5.2 apply to any other PHP > version. version_compare() is there for a reason, USE IT! No more > constants for same thing, thankyouverymuch. Read: it is easier, faster handier to use

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt

2008-02-12 Thread Hannes Magnusson
On Feb 12, 2008 7:35 PM, Pierre Joye <[EMAIL PROTECTED]> wrote: > On Feb 12, 2008 7:31 PM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > > > > I myself have forgot to use the damn dog tag many times. (Which is it > > again, @DOC@ or [DOC] ? :) And if I forget, I'd like to be reminded. > > Same here, I

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt

2008-02-12 Thread Pierre Joye
On Feb 12, 2008 7:31 PM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > Please, when you give such feedback, please point finger at the persons > who deserve it. Now it feels like everyone is "misbehaving" here. > Not only mention the name in the body of the email but Cc: the mail to > these people. Ea

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt

2008-02-12 Thread Jani Taskinen
Please, when you give such feedback, please point finger at the persons who deserve it. Now it feels like everyone is "misbehaving" here. Not only mention the name in the body of the email but Cc: the mail to these people. Each and everyone who deserves to get spanked. And I'm not joking.. I mysel

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_compile.c zend_highlight.c zend_language_parser.y zend_language_scanner.l /tests heredoc_001.phpt heredoc_002.phpt heredoc_003.phpt her

2008-02-12 Thread Hannes Magnusson
I would really really really really appreciate if the [DOC] tag was used more. While only random new features (or whatever requiring docs) are tagged with [DOC] it is totally useless as the doc team still has to browse through every single commit to figure out if there is something in it to docume

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Jani Taskinen
On Tue, 2008-02-12 at 19:05 +0100, Pierre Joye wrote: > On Feb 12, 2008 6:56 PM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > > And for the reasons why they're not needed in 5.2 apply to any other PHP > > version. version_compare() is there for a reason, USE IT! No more > > constants for same thing,

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Jani Taskinen
And for the reasons why they're not needed in 5.2 apply to any other PHP version. version_compare() is there for a reason, USE IT! No more constants for same thing, thankyouverymuch. --Jani On Mon, 2008-02-11 at 11:35 -0500, Ilia Alshanetsky wrote: > We spoke about this via IM, but its only fair

Re: [PHP-DEV] final keyword

2008-02-12 Thread Sebastian Schneider
Sebastian Bergmann schrieb: Sebastian Schneider schrieb: public static final $bar = "foobar's world"; We have the const keyword for that. But doesn't work with arrays, e.g. public class Result { const DECISION_PERMIT = 0; const DECISION_DENY = 1;

Re: [PHP-DEV] Updates to the QA pages

2008-02-12 Thread zoe
Philip Olson wrote: A few moons ago the following [rough] wiki page was started with the aim to answer questions not yet covered within the QA site, questions like "installing lcov", "how to test if a test covers what I want", and such. Please feel free to steal information from it for qaweb:

Re: [PHP-DEV] Re: Updates to the QA pages

2008-02-12 Thread zoe
Edward Z. Yang wrote: Some minor grammar picks: Thanks - all fixed. Out of curiosity, I'm wondering why run-tests.php itself can't run a test file by itself. It can - in fact that's exactly what it does, run .phpt files. However, sometimes easier and quicker when you are writing the t

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Jochem Maas
Pierre Joye schreef: Hi Jochen, On Feb 12, 2008 12:22 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: Sebastian Bergmann schreef: Jochem Maas schrieb: Output: C:\ Is this intended? Yes, or what would you expect? possibly 'C:' ? Is "C:" not the volume whereas "C:\" is the root directory on the

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Johannes Schlüter
Hi, On Mon, 2008-02-11 at 22:30 -0500, "Edward Z. Yang" wrote: > Hello all, I was documenting the __DIR__ patch, and I ran across some > curious behavior when the PHP file was in the Windows filesystem root: > > C:\test.php > echo __DIR__; > ?> > > Output: > C:\ > > Is this intended? What els

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Pierre Joye
Hi Jochen, On Feb 12, 2008 12:22 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Sebastian Bergmann schreef: > > Jochem Maas schrieb: > Output: > C:\ > Is this intended? > >>> Yes, or what would you expect? > >> possibly 'C:' ? > > > > Is "C:" not the volume whereas "C:\" is the root

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Jochem Maas
Sebastian Bergmann schreef: Jochem Maas schrieb: Output: C:\ Is this intended? Yes, or what would you expect? possibly 'C:' ? Is "C:" not the volume whereas "C:\" is the root directory on the volume? this is what I thought, kind of, but I was just proposing what the OP was expecting. it

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Sebastian Bergmann
Jochem Maas schrieb: Output: C:\ Is this intended? Yes, or what would you expect? possibly 'C:' ? Is "C:" not the volume whereas "C:\" is the root directory on the volume? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Pierre Joye
On Feb 12, 2008 12:02 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Pierre Joye schreef: > > Hi Edward, > > > > On Feb 12, 2008 4:30 AM, Edward Z. Yang <[EMAIL PROTECTED]> wrote: > >> Hello all, I was documenting the __DIR__ patch, and I ran across some > >> curious behavior when the PHP file was in

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Jochem Maas
Pierre Joye schreef: Hi Edward, On Feb 12, 2008 4:30 AM, Edward Z. Yang <[EMAIL PROTECTED]> wrote: Hello all, I was documenting the __DIR__ patch, and I ran across some curious behavior when the PHP file was in the Windows filesystem root: C:\test.php Output: C:\ Is this intended? Yes, or

Re: [PHP-DEV] final keyword

2008-02-12 Thread Sebastian Bergmann
Sebastian Schneider schrieb: public static final $bar = "foobar's world"; We have the const keyword for that. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime

[PHP-DEV] final keyword

2008-02-12 Thread Sebastian Schneider
Hey you guys, it would be very helpful to be able using the keyword _final_ not only for classes and methods but for variables as well - such as to prevent changes from outside though at least publicly readable. Sebastian -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-12 Thread Pierre Joye
Hi Edward, On Feb 12, 2008 4:30 AM, Edward Z. Yang <[EMAIL PROTECTED]> wrote: > Hello all, I was documenting the __DIR__ patch, and I ran across some > curious behavior when the PHP file was in the Windows filesystem root: > > C:\test.php > echo __DIR__; > ?> > > Output: > C:\ > > Is this intende

Re: [PHP-DEV] CVS Account Request: nexuslite

2008-02-12 Thread Antony Dovgal
On 12.02.2008 12:49, Marcus wrote: > Where would be the best place to submit changes to the files? The best way would be to upload the patches somewhere and post the URLs to [EMAIL PROTECTED] > How long after submitting changes would they end up in the source packages? It depends on the changes