2010/5/14 Jared Williams jared.willia...@ntlworld.com:
$a = new A();
echo $a-toJSONString(), \n;
$b = new B();
echo $b-toJSONString(), \n;
$array = array(new A,new B,);
// Does not use your toJSONString method
echo json_encode($array);
-Hannes
--
PHP Internals
-Original Message-
From: Hannes Magnusson [mailto:hannes.magnus...@gmail.com]
Sent: 15 May 2010 13:25
To: Jared Williams
Cc: Johannes Schlüter; Pierre Joye; Stanislav Malyshev; Sara
Golemon; PHP Internals
Subject: Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/
NEWS
Hi,
On Sat, 2010-05-15 at 15:33 +0100, Jared Williams wrote:
With using traits, don't have to provide an implementation
of jsonSerialize() unless want to customise the behaviour,
but the current implementation will require having to
implement JSONSerializable.
No. The default behavior will
Hi,
On Fri, 2010-05-14 at 21:39 -0700, Stanley Sufficool wrote:
I have submitted a patch for the DBLIB driver to improve performance
and fix bug (Bug #50755). It has been tested and I have been using the
patched version for months now in a fairly complicated application.
There is a shortage
Maintaining the PDO DBLIB driver and creating new PDO drivers.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php