Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Zoe Slattery
Stanislav Malyshev wrote: I think it does. If one needs to see which tests there are or are there any tests that test particular thing or inspect certain aspects of a functionality, navigating a maze of func_01234.phpt, all alike, is a nightmare. Of course, I could open all of them one by one a

Re: [PHP-DEV] Re: RE : RE : [PHP-DEV] [RFC] Starting 5.3

2007-05-15 Thread Greg Beaver
Stanislav Malyshev wrote: >> Yes, noone hinders you to write PHP_Archieve into your stub when using >> the Phar extension. > > Actually, I would say it would be better to have some "minimized" > version which is extract-only, has all the comments stripped, etc. for > inclusion in the archives. Th

[PHP-DEV] CVS Account Request: jiania

2007-05-15 Thread jiania hung
jiania -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: RE : RE : [PHP-DEV] [RFC] Starting 5.3

2007-05-15 Thread Stanislav Malyshev
Yes, noone hinders you to write PHP_Archieve into your stub when using the Phar extension. Actually, I would say it would be better to have some "minimized" version which is extract-only, has all the comments stripped, etc. for inclusion in the archives. -- Stanislav Malyshev, Zend Products

[PHP-DEV] Re: RE : RE : [PHP-DEV] [RFC] Starting 5.3

2007-05-15 Thread Marcus Boerger
Hello LAUPRETRE, Tuesday, May 15, 2007, 7:12:27 PM, you wrote: >> From: Greg Beaver [mailto:[EMAIL PROTECTED] >> This is exactly how phar/PHP_Archive works. For example: >> http://pear.php.net/go-pear.phar contains the complete >> PHP_Archive class, which will fall back to the phar extension

Re: [PHP-DEV] Committing failing tests?

2007-05-15 Thread Antony Dovgal
On 05/15/2007 10:46 PM, Zoe Slattery wrote: So. with unicode.semantics=on an additional Notice is generated which appears to be caused by the echo statment. Any ideas? Yes, I'll look into it a bit later. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubs

Re: [PHP-DEV] register_session_gc_handler proposal

2007-05-15 Thread Arpad Ray
Emil Ivanov wrote: The case is simple: A user is allowed to upload files to the server, which are store in a temporary location and their filenames are stored in the session. The user leaves the site and the session gets destroyed, but the files remain untouched. If I can hook to the gc session

Re: [PHP-DEV] Committing failing tests?

2007-05-15 Thread Zoe Slattery
Derick Rethans wrote: On Tue, 15 May 2007, Zoe Slattery wrote: I have some updates that I'd like to make to ext/tests/standard/array/range.phpt, the updates work fine with unicode.semantics=off but not with unicode.semantics=on. The problem seems to be that the warning Notices that are gener

[PHP-DEV] register_session_gc_handler proposal

2007-05-15 Thread Emil Ivanov
Hi folks, Sorry to bother you, as I know you are quite busy, but I have a problem and maybe a elegant solution does not exist right now. The case is simple: A user is allowed to upload files to the server, which are store in a temporary location and their filenames are stored in the session. Th

[PHP-DEV] Re: Committing failing tests?

2007-05-15 Thread Antony Dovgal
On 05/15/2007 07:42 PM, Zoe Slattery wrote: Hi I have some updates that I'd like to make to ext/tests/standard/array/range.phpt, the updates work fine with unicode.semantics=off but not with unicode.semantics=on. The problem seems to be that the warning Notices that are generated are differen

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Antony Dovgal
On 05/15/2007 08:52 PM, Stanislav Malyshev wrote: That said, I'm happy with both func_b.phpt and func_basic.phpt (and even 009.phpt) =) We just need more tests, doesn't matter what their names look like. I think it does. If one needs to see which tests there are or are there any tests that te

[PHP-DEV] RE : RE : [PHP-DEV] [RFC] Starting 5.3

2007-05-15 Thread P
> From: Greg Beaver [mailto:[EMAIL PROTECTED] > > Both phar/PHP_Archive and PHK support this. The only file > format that would "allow" this kind of shebang is the tar > file format, as the first element in the file is a filename. > The original design of PHP_Archive used the tar file format

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Stanislav Malyshev
That said, I'm happy with both func_b.phpt and func_basic.phpt (and even 009.phpt) =) We just need more tests, doesn't matter what their names look like. I think it does. If one needs to see which tests there are or are there any tests that test particular thing or inspect certain aspects of a

[PHP-DEV] Re: Committing failing tests?

2007-05-15 Thread Marcus Boerger
Hello Zoe, I did the same with a certain case in SPL. The result was that any test run of 5.2.1 had failures on that test while as HEAD did not have it anymore. The thing is that I used it to remind myself that i have to merge the fix and to anybody else that this is not working correct yet. In

Re: [PHP-DEV] Committing failing tests?

2007-05-15 Thread Derick Rethans
On Tue, 15 May 2007, Zoe Slattery wrote: > I have some updates that I'd like to make to > ext/tests/standard/array/range.phpt, the updates work fine with > unicode.semantics=off but not with unicode.semantics=on. The problem seems to > be that the warning Notices that are generated are different w

[PHP-DEV] Committing failing tests?

2007-05-15 Thread Zoe Slattery
Hi I have some updates that I'd like to make to ext/tests/standard/array/range.phpt, the updates work fine with unicode.semantics=off but not with unicode.semantics=on. The problem seems to be that the warning Notices that are generated are different with unicode on. This doesn't look like in

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Marcus Boerger
Hello Zoe, it ignores the php.ini more or less. You should be using run-tests.php switches -u, -U and -N. Try: php run-tests.php -h best regards marcus Tuesday, May 15, 2007, 1:33:28 PM, you wrote: > Zoe Slattery wrote: >> Antony Dovgal wrote: >>> On 05/15/2007 12:44 PM, Zoe Slattery wrote:

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Antony Dovgal
On 05/15/2007 02:46 PM, Zoe Slattery wrote: Antony Dovgal wrote: On 05/15/2007 12:44 PM, Zoe Slattery wrote: We're on it :-) Will probably have a few more questions on Unicode testing later, noticed that you are putting UEXPECT section in tests- but need to understand the implemenentation plan

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Zoe Slattery
Zoe Slattery wrote: Antony Dovgal wrote: On 05/15/2007 12:44 PM, Zoe Slattery wrote: We're on it :-) Will probably have a few more questions on Unicode testing later, noticed that you are putting UEXPECT section in tests- but need to understand the implemenentation plan first... We have two

[PHP-DEV] Re: Userspace stream wrappers and Unicode.

2007-05-15 Thread Michael Wallner
Richard Quadling wrote: > Not being obtuse or antagonistic, just not understanding the > implications of unicode, but why will unicode kill off userspace > stream wrappers? It's not about unicode. It's just been argued that each userspace stream wrapper will be marked as remote stream. Regards, -

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Zoe Slattery
Antony Dovgal wrote: On 05/15/2007 12:44 PM, Zoe Slattery wrote: We're on it :-) Will probably have a few more questions on Unicode testing later, noticed that you are putting UEXPECT section in tests- but need to understand the implemenentation plan first... We have two operation modes in PH

[PHP-DEV] dom strange behaviours

2007-05-15 Thread kepbepos kepbepos
Hi all, I've some problems with getAttribute* methods. I thing it is a bug, but before send it, I'd like to propose a little test to you all, just to have a confirmation (maybe is my installation only). first the code and after the output I got on three different servers -

[PHP-DEV] dom strange behaviours

2007-05-15 Thread kepbepos kepbepos
Hi all, I've some problems with getAttribute* methods. I thing it is a bug, but before send it, I'd like to propose a little test to you all, just to have a confirmation (maybe is my installation only). first the code and after the output I got on three different servers -

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Antony Dovgal
On 05/15/2007 12:44 PM, Zoe Slattery wrote: We're on it :-) Will probably have a few more questions on Unicode testing later, noticed that you are putting UEXPECT section in tests- but need to understand the implemenentation plan first... We have two operation modes in PHP6 - "native" and Unic

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Zoe Slattery
Antony Dovgal wrote: On 05/15/2007 11:52 AM, SoftVirus wrote: Hello Zoe, Marcus & Tony, Files names having _(basic|variation|error|object).phpt looks much better. File names _[0-9]*.phpt does not give much detail about what are the functions being testing by this testcase until one looks at

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Antony Dovgal
On 05/15/2007 11:52 AM, SoftVirus wrote: Hello Zoe, Marcus & Tony, Files names having _(basic|variation|error|object).phpt looks much better. File names _[0-9]*.phpt does not give much detail about what are the functions being testing by this testcase until one looks at the --TEST-- section of

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread SoftVirus
Hello Zoe, Marcus & Tony, Files names having _(basic|variation|error|object).phpt looks much better. File names _[0-9]*.phpt does not give much detail about what are the functions being testing by this testcase until one looks at the --TEST-- section of the file. It would be nice to have the nam

[PHP-DEV] Userspace stream wrappers and Unicode.

2007-05-15 Thread Richard Quadling
On 14/05/07, Greg Beaver <[EMAIL PROTECTED]> wrote: ... unicode is a killer feature and PHP 6 will be adopted en masse, ... , it will simply mean the death of userspace stream wrappers for anything but custom projects. Not being obtuse or antagonistic, just not understanding the implications of

Re: [PHP-DEV] Tests - and a question

2007-05-15 Thread Zoe Slattery
Marcus Boerger wrote: Hi Marcus & Tony Hello Zoe, that's pretty fine. Instead of _[bveo][0-9]?.phpt you could do _(basic|variation|error|object)[0-9]{3}.phpt. Which is a tad bit better. However those are just filenames helping you to find the correct test file while developing. For that reaso