[PHP-DEV] CVS Account Request: maddogg

2008-01-09 Thread Mohanad Najeeb
Translating the php5 documentation to Arabic. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread sean finney
Hi Ilia, Joe, On Wednesday 09 January 2008 08:50:59 pm Ilia Alshanetsky wrote: > The reason we do not use the system database is because it is > inconsistent and likely is updated less frequently then the one > included with PHP. > > -1. Personally I think this patch would be great, and I will re

[PHP-DEV] Set default namespace

2008-01-09 Thread Tomi Kaistila
Sorry for the ambiguous subject line, but I could not find a better wording for it. Currently, when you use namespaces in PHP, whenever you want to call a function from inside a namespace you must either use the entire name of the namespace (potentially very long) or give it a shorter alias.

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Larry Garfield
On Wed, 9 Jan 2008 17:14:29 -0300, "Cristian Rodriguez" <[EMAIL PROTECTED]> wrote: > 2008/1/9, Derick Rethans <[EMAIL PROTECTED]>: > >> Why do you need this? > > It is simple, even releasing an update for a particular extension, > trigger the whole manteniance and QA in distributions, and it >

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Cristian Rodriguez
2008/1/9, Derick Rethans <[EMAIL PROTECTED]>: > Why do you need this? It is simple, even releasing an update for a particular extension, trigger the whole manteniance and QA in distributions, and it unneccesary work , when the system tz is used you have QA and mantain just one component, the "tim

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Derick Rethans
On Wed, 9 Jan 2008, Cristian Rodriguez wrote: > 2008/1/9, Ilia Alshanetsky <[EMAIL PROTECTED]>: > > The reason we do not use the system database is because it is > > inconsistent and likely is updated less frequently then the one > > included with PHP. > > please consider this patch as an alterna

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Derick Rethans
On Wed, 9 Jan 2008, Joe Orton wrote: > It's a bit of a maintenance headache for distributions when > packages include their own copy of the timezone database, since this > needs to be updated frequently. There is a PECL extension to provide those updates: http://pecl.php.net/package/timezonedb

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Cristian Rodriguez
2008/1/9, Ilia Alshanetsky <[EMAIL PROTECTED]>: > The reason we do not use the system database is because it is > inconsistent and likely is updated less frequently then the one > included with PHP. please consider this patch as an alternative for us !! in anycase, you will probably find this pat

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Ilia Alshanetsky
The reason we do not use the system database is because it is inconsistent and likely is updated less frequently then the one included with PHP. -1. On 9-Jan-08, at 9:15 AM, Joe Orton wrote: Hi folks. It's a bit of a maintenance headache for distributions when packages include their own

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Brian Moon
2008/1/9, Joe Orton <[EMAIL PROTECTED]>: Hi folks. It's a bit of a maintenance headache for distributions when packages include their own copy of the timezone database, since this needs to be updated frequently. It is also a bit of a headache when a server does not have a complete timezone da

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Cristian Rodriguez
2008/1/9, Joe Orton <[EMAIL PROTECTED]>: > Hi folks. It's a bit of a maintenance headache for distributions when > packages include their own copy of the timezone database, since this > needs to be updated frequently. > +1000 :-D -- http://www.kissofjudas.net/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Nuno Lopes
Definitely a great idea, since most linux distributions already bundle this information and update it frequently. BTW, your implementation seems to require some security checks for timezone names like "../../../etc/passwd". Nuno - Original Message - From: "Joe Orton" <[EMAIL PROTECTE

[PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Joe Orton
Hi folks. It's a bit of a maintenance headache for distributions when packages include their own copy of the timezone database, since this needs to be updated frequently. I've prepared a patch to allow the timelib code to use the system timezone database directly; would something like this be

Re: [PHP-DEV] type hinting

2008-01-09 Thread Lukas Kahwe Smith
Hi, I am still wondering if we ever going to get a summary of this "discussion". regards, Lukas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] type hinting

2008-01-09 Thread Sam Barrow
On Wed, 2008-01-09 at 00:58 +0200, Tomi Kaistila wrote: > > Ok, but a scalar becomes useful for a couple of important things. > > Scalars are all displayable values, that can be stored in a db, > > outputted, etc. The scalar type hint prevents errors related to objects, > > resources, and arrays at