Re: [PHP-DEV] tentative 5.3 release plan

2008-07-16 Thread Lukas Kahwe Smith
On 16.07.2008, at 00:50, Christopher Jones wrote: We could still support older Oracle versions with an optional download. If we want to be super fancy, we might even include a note in an error message when trying to connect to older versions that there is pdo_oci8 available as an optional

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Alexey Zakhlestin
On Tue, Jul 15, 2008 at 8:08 PM, Stefan Priebsch [EMAIL PROTECTED] wrote: Hi list, I was playing around with namespaces and stumbled across this: #!/home/steve/php5.3-200807070430/sapi/cli/php ?php namespace Foo; use Foo::Bar as Something; class Bar { } ? works fine, whereas

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Hannes Magnusson
On Wed, Jul 16, 2008 at 08:50, Alexey Zakhlestin [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2008 at 8:08 PM, Stefan Priebsch [EMAIL PROTECTED] wrote: Hi list, I was playing around with namespaces and stumbled across this: #!/home/steve/php5.3-200807070430/sapi/cli/php ?php namespace Foo;

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Alexey Zakhlestin
On Wed, Jul 16, 2008 at 11:34 AM, Hannes Magnusson [EMAIL PROTECTED] wrote: I thought the only argument against using curly braces for namespaces was exactly his example you can use namespace foo; {} if you really want to? OK: namespace foo; { } Not OK: { use Foo:Bar as Something; } --

Re: [PHP-DEV] lstat call on each directory level

2008-07-16 Thread Arvids Godjuks
Hello. I think this should be optimized. I'm not an expert ofcourse, but as I understood there is only one case witch need a special treatment - require/include _one when a file with equal contents is included from different directories. You can make a switch witch controls if lstat is made or

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysql php_mysql.c /ext/mysqli mysqli.c /ext/mysqlnd mysqlnd.c mysqlnd_palloc.c mysqlnd_ps.c mysqlnd_wireprotocol.c

2008-07-16 Thread Marcus Boerger
Hello Andrey, Tuesday, July 15, 2008, 6:30:50 PM, you wrote: Marcus, Marcus Boerger wrote: Hello Ulf, Tuesday, July 15, 2008, 4:32:10 PM, you wrote: Pierre Joye schrieb: Drop the launchpad and use php's cvs. We have actually two development branches (5.3 until the 24th and HEAD) and

[PHP-DEV] Re: [PHP] Changing PHP.ini

2008-07-16 Thread Omar Noppe
I had the same problem 2 days ago, the thing is the ; - display_errors = off in line 74 is just information. You have another display_errors (mine is in line 374) change that to: on. Op 16 jul 2008, om 04:34 heeft Thorsten Suckow-Homberg het volgende geschreven: By visiting php.info

Re: [PHP-DEV] lstat call on each directory level

2008-07-16 Thread Rasmus Lerdorf
Arvids Godjuks wrote: Hello. I think this should be optimized. I'm not an expert ofcourse, but as I understood there is only one case witch need a special treatment - require/include _one when a file with equal contents is included from different directories. You can make a switch witch

Re: [PHP-DEV] tentative 5.3 release plan

2008-07-16 Thread Christopher Jones
Lukas Kahwe Smith wrote: On 16.07.2008, at 00:50, Christopher Jones wrote: We could still support older Oracle versions with an optional download. If we want to be super fancy, we might even include a note in an error message when trying to connect to older versions that there is

Re: [PHP-DEV] tentative 5.3 release plan

2008-07-16 Thread Lukas Kahwe Smith
On 16.07.2008, at 16:13, Christopher Jones wrote: Lukas Kahwe Smith wrote: On 16.07.2008, at 00:50, Christopher Jones wrote: We could still support older Oracle versions with an optional download. If we want to be super fancy, we might even include a note in an error message when

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Stefan Priebsch
Alexey Zakhlestin schrieb: OK: namespace foo; { } Not OK: { use Foo:Bar as Something; } Then that is a showstopper that effectively does not allow to use braces around a namespace, so I'd boldly suggest either fixing the curly braces notation to allow use statements or disallow curly

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Dmitry Stogov
The use can be used only as top-level statement. Thanks. Dmitry. Stefan Priebsch wrote: Hi list, I was playing around with namespaces and stumbled across this: #!/home/steve/php5.3-200807070430/sapi/cli/php ?php namespace Foo; use Foo::Bar as Something; class Bar { } ? works fine,

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysql php_mysql.c /ext/mysqli mysqli.c /ext/mysqlnd mysqlnd.c mysqlnd_palloc.c mysqlnd_ps.c mysqlnd_wireprotocol.c

2008-07-16 Thread Derick Rethans
On Tue, 15 Jul 2008, Andrey Hristov wrote: I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get planetmysql as a feed and if I am not interested in an article, I skip it. It doesn't require even to go anymore to planetmysql . But even more, Ulf is also on planetphp, so you

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysql php_mysql.c /ext/mysqli mysqli.c /ext/mysqlnd mysqlnd.c mysqlnd_palloc.c mysqlnd_ps.c mysqlnd_wireprotocol.c

2008-07-16 Thread Ulf Wendel
Derick Rethans schrieb: On Tue, 15 Jul 2008, Andrey Hristov wrote: I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get planetmysql as a feed and if I am not interested in an article, I skip it. It doesn't require even to go anymore to planetmysql . But even more, Ulf is also

Re: [PHP-DEV] lstat call on each directory level

2008-07-16 Thread Amir Hardon
On Wed, 2008-07-16 at 06:45 -0700, Rasmus Lerdorf wrote: Arvids Godjuks wrote: Hello. I think this should be optimized. I'm not an expert ofcourse, but as I understood there is only one case witch need a special treatment - require/include _one when a file with equal contents is

Re: [PHP-DEV] lstat call on each directory level

2008-07-16 Thread Rasmus Lerdorf
Amir Hardon wrote: On Wed, 2008-07-16 at 06:45 -0700, Rasmus Lerdorf wrote: Arvids Godjuks wrote: Hello. I think this should be optimized. I'm not an expert ofcourse, but as I understood there is only one case witch need a special treatment - require/include _one when a file with

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysql php_mysql.c /ext/mysqli mysqli.c /ext/mysqlnd mysqlnd.c mysqlnd_palloc.c mysqlnd_ps.c mysqlnd_wireprotocol.c

2008-07-16 Thread Pierre Joye
On Wed, Jul 16, 2008 at 6:13 PM, Ulf Wendel [EMAIL PROTECTED] wrote: Derick Rethans schrieb: On Tue, 15 Jul 2008, Andrey Hristov wrote: I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get planetmysql as a feed and if I am not interested in an article, I skip it. It doesn't

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/mysql php_mysql.c /ext/mysqli mysqli.c /ext/mysqlnd mysqlnd.c mysqlnd_palloc.c mysqlnd_ps.c mysqlnd_wireprotocol.c

2008-07-16 Thread Ulf Wendel
Pierre Joye schrieb: On Wed, Jul 16, 2008 at 6:13 PM, Ulf Wendel [EMAIL PROTECTED] wrote: Derick Rethans schrieb: On Tue, 15 Jul 2008, Andrey Hristov wrote: I am pretty lazy, thus I use my Thunderbird as a RSS reader. I get planetmysql as a feed and if I am not interested in an article, I

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-16 Thread Lukas Kahwe Smith
On 16.07.2008, at 17:47, Arnaud Le Blanc wrote: On Wednesday 09 July 2008 20:06:14 Marcus Boerger wrote: Hello Arnaud, if you can provicde the same for HEAD then I'll submit it. And if you're fast enough we might even get it into 5.3.0 :-) Johannes, Lukas, how much time does he have?

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Stanislav Malyshev
Hi! around a namespace, so I'd boldly suggest either fixing the curly braces notation to allow use statements or disallow curly braces around Use statements should be at the top, as the influence whole file scope. namespaces, because as it is, it doesn't really seem useful. What doesn't

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Stefan Priebsch
Stanislav Malyshev schrieb: Hi! around a namespace, so I'd boldly suggest either fixing the curly braces notation to allow use statements or disallow curly braces around Use statements should be at the top, as the influence whole file scope. I know, but namespace must be the first

Re: [PHP-DEV] potential shutdown order issue

2008-07-16 Thread Lukas Kahwe Smith
Hi, Does anyone agree that there is an issue to fix here? Messing with the shutdown order is probably the last thing any RM would like to see happening .. regards, Lukas On 16.06.2008, at 04:55, Gregory Beaver wrote: Hi, I'm getting errors of hashtable already destroyed when running

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Stanislav Malyshev
Hi! That means: I cannot use namespaces with curly braces combined with a use statement. This makes the curly braces pretty pointless. Well, don't use them then :) -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED]

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Lukas Kahwe Smith
On 16.07.2008, at 22:14, Stanislav Malyshev wrote: Hi! That means: I cannot use namespaces with curly braces combined with a use statement. This makes the curly braces pretty pointless. Well, don't use them then :) I think Stefan was just pointing out that allowing something that is

Re: [PHP-DEV] Namespace problem?

2008-07-16 Thread Stanislav Malyshev
Hi! I think Stefan was just pointing out that allowing something that is rarely useful is just needlessly confusing, because it makes you think there is something you are missing. It may be true in some cases, but in general PHP allows to do tons of stuff that is not useful, or at least

Re: [PHP-DEV] potential shutdown order issue

2008-07-16 Thread Greg Beaver
Stanislav Malyshev wrote: Hi! zend_destroy_rsrc_list(EG(regular_list)). On the next line, zend_post_deactivate_modules() is called, which steps through the module list and unloads all the dynamically loaded modules. If one of these dl() is really troublesome... I think this issue could

[PHP-DEV] Re: Phar ... brilliant, a couple of questions?

2008-07-16 Thread Greg Beaver
Jochem Maas wrote: [snip] I have a few questions, some of the answers may deserve a few lines in the docs. 1. to what extent is Phar capable/designed to handle self updating Phars .. especially with regard to multi-user access (I'm thinking in terms of a website+CMS+userdata in a Phar updated

[PHP-DEV] Re: cvs: php-src(PHP_5_3) /ext/phar/tests rename_dir.phpt rmdir.phpt /ext/phar/tests/tar rename_dir.phpt rmdir.phpt /ext/phar/tests/zip rename_dir.phpt rmdir.phpt

2008-07-16 Thread Greg Beaver
Dmitry Stogov wrote: dmitry Thu Jul 10 14:27:21 2008 UTC Added files: (Branch: PHP_5_3) /php-src/ext/phar/tests rename_dir.phpt rmdir.phpt /php-src/ext/phar/tests/tar rename_dir.phpt rmdir.phpt /php-src/ext/phar/tests/zip rename_dir.phpt rmdir.phpt

[PHP-DEV] questions about namespaces, functions vs. closures

2008-07-16 Thread Greg Beaver
Hi, Some questions about namespaces now that PHP 5.3 continues to evolve 1) Do we need functions in namespaces now that we have closures? One of the main reasons I wanted functions in namespaces was to implement callbacks. Now that we have closures in PHP 5.3, for me there is no longer any

Re: [PHP-DEV] questions about namespaces, functions vs. closures

2008-07-16 Thread Larry Garfield
On Wednesday 16 July 2008 9:36:24 pm Greg Beaver wrote: Hi, Some questions about namespaces now that PHP 5.3 continues to evolve 1) Do we need functions in namespaces now that we have closures? One of the main reasons I wanted functions in namespaces was to implement callbacks. Now that