Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-13 Thread Stanislav Malyshev
Hi! Change to 100% case-insensitive function names has bigger probability of BC break. I think I've seen code which used functions in a way that It's not a probability, it's a certainty. There's tons of code out there (I'm sure including 99% of all popular apps and frameworks) that uses diff

[PHP-DEV] svn account request ssufficool

2010-05-13 Thread Stanley Sufficool
I would like to contribute to the PDO abstraction layer. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Sugest

2010-05-13 Thread Mathias Grimm
I want to suggest the GO include format 'a', 'K_TYPE_B' => 'b' 'K_TYPE_C' => 'c' ) with or withou comma... -- Att. Mathias Grimm http://mathiasgrimm.com.br http://phpempregos.com.br

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Pierre Joye
hi, On Fri, May 14, 2010 at 12:54 AM, Davey Shafik wrote: > The point is that json_encode will automatically call and use the return of > jsonSerialize() > no matter WHERE you serialize the object. RIght, however Json is also not about serialize (as in php's serialize), the naming could create

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Davey Shafik
The point is that json_encode will automatically call and use the return of jsonSerialize() no matter WHERE you serialize the object. This is great when you're JSONifying objects when working with frameworks etc. - Davey On May 13, 2010, at 6:29 PM, Jared Williams wrote: > > >> -Origina

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Jared Williams
> -Original Message- > From: Johannes Schlüter [mailto:johan...@schlueters.de] > Sent: 13 May 2010 20:47 > To: Jared Williams > Cc: 'Pierre Joye'; 'Stanislav Malyshev'; 'Sara Golemon'; 'PHP > Internals' > Subject: RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ > NEWS ext/json/js

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Johannes Schlüter
On Thu, 2010-05-13 at 20:27 +0100, Jared Williams wrote: > Hi, > Keep thinking with what is in php.next that interfaces seem > overkill? > > Doesn't > > trait JSON > { > function toJSONString() > { > return json_encode(get_object_vars($this)); > } > } > clas

RE: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serialize.phpt

2010-05-13 Thread Jared Williams
> -Original Message- > From: Pierre Joye [mailto:pierre@gmail.com] > Sent: 12 May 2010 11:33 > To: Stanislav Malyshev > Cc: Sara Golemon; PHP Internals > Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ > NEWS ext/json/json.c ext/json/php_json.h ext/json/tests/serializ

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Ferenc Kovacs
Something like http://hu2.php.net/json_last_error should be implemented for serialize. Tyrael On Thu, May 13, 2010 at 7:30 PM, Derick Rethans wrote: > On Thu, 13 May 2010, Arpad Ray wrote: > > > 2010/5/13 Johannes Schlüter > > > > > To your issue: That's related to the way the session module s

Re: [PHP-DEV] TODO List

2010-05-13 Thread David Zülke
http://thread.gmane.org/gmane.comp.php.devel/60563 and http://thread.gmane.org/gmane.comp.php.devel/57369 ;) On 12.05.2010, at 22:23, Mathias Grimm wrote: > What is the correct todo list ? > I want to help us but a need to see the todo list to select my work! > > Any sugestion to start? > > -

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Derick Rethans
On Thu, 13 May 2010, Arpad Ray wrote: > 2010/5/13 Johannes Schlüter > > > To your issue: That's related to the way the session module serializes > > data, which is non-standard serialize due to register_globals. Most > > likely php.next, where r_g is gone will use standard serialization where >

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Arpad Ray
2010/5/13 Johannes Schlüter > To your issue: That's related to the way the session module serializes > data, which is non-standard serialize due to register_globals. Most > likely php.next, where r_g is gone will use standard serialization where > this would be fixed. till then a session key has

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Etienne Kneuss
Hello, On Thu, May 13, 2010 at 5:39 PM, Mathias Grimm wrote: > i did the same on linux, with the same version of php and the bug is there!! > > > On Thu, May 13, 2010 at 12:25 PM, Mathias Grimm wrote: > >> im using php 5.1.6 on xampp and i find a bug. >> how to know if the bug was fixed? >> >> th

Re: [PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Johannes Schlüter
On Thu, 2010-05-13 at 12:39 -0300, Mathias Grimm wrote: > > im using php 5.1.6 on xampp and i find a bug. > > how to know if the bug was fixed? > > 5.1.6 is old. Please test a newer version before reporting anything. Secondly please consult regular support forums/groups

[PHP-DEV] Re: $_SESSION numeric index bug

2010-05-13 Thread Mathias Grimm
i did the same on linux, with the same version of php and the bug is there!! On Thu, May 13, 2010 at 12:25 PM, Mathias Grimm wrote: > im using php 5.1.6 on xampp and i find a bug. > how to know if the bug was fixed? > > the bug is: > > 1. > session_start(); > $_SESSION[0] = 'test'; > echo $_SES

[PHP-DEV] $_SESSION numeric index bug

2010-05-13 Thread Mathias Grimm
im using php 5.1.6 on xampp and i find a bug. how to know if the bug was fixed? the bug is: 1. http://mathiasgrimm.com.br http://phpempregos.com.br