[PHP-DEV] PDO: table name of field in SQLite #42589 and a new fetch style FETCH_ASSOC_TREE

2009-01-03 Thread Oskar Eisemuth
Hi Receiving the table name for an column is quite useful. It is not possible for all PDO database drivers to support this functionally, still at least the SQLite version could support it when Bug #42589 is resolved. ATTR_FETCH_TABLE_NAMES should be added to SQLite too. Currently we have 2(3

Re: [PHP-DEV] PATCH: bug #46701

2009-01-03 Thread shire
Felipe Pena wrote: Em Sáb, 2009-01-03 às 10:31 -0200, Felipe Pena escreveu: Em Sáb, 2009-01-03 às 10:27 -0200, Felipe Pena escreveu: Em Sex, 2009-01-02 às 21:03 -0800, shire escreveu: I've created a patch for bug #46701 (http://bugs.php.net/bug.php?id=46701) but it requires Zend changes, it c

Re: [PHP-DEV] [RFC] Re: [PHP-DEV] __invoke() weirdness

2009-01-03 Thread Marcus Boerger
Hello all, current state of the patch is attached. marcus Saturday, January 3, 2009, 3:47:44 PM, you wrote: > Hello Johannes, > Friday, January 2, 2009, 7:16:32 PM, you wrote: >> Hi, >> On Wed, 2008-12-31 at 17:38 +0100, Marcus Boerger wrote: >>> So far it is. Yet I as much as you do not l

Re: [PHP-DEV] [RFC] Re: [PHP-DEV] __invoke() weirdness

2009-01-03 Thread Marcus Boerger
Hello Johannes, Friday, January 2, 2009, 7:16:32 PM, you wrote: > Hi, > On Wed, 2008-12-31 at 17:38 +0100, Marcus Boerger wrote: >> So far it is. Yet I as much as you do not like the inconsistency. So I >> spend a little bit on providing the following patch that should do >> what >> you were loo

[PHP-DEV] php://input in CLI sapi

2009-01-03 Thread Timm Friebe
Hi, is there any reason php://input is not supported in CLI sapi? It would be nice to test raw post data reading in unittests without having to run them inside a web server sapi and it's only a five-line patch making php://input read from stdin in cli (attached). - Timm Index: sapi/cli/php_

Re: [PHP-DEV] Closures serialization

2009-01-03 Thread Marcin Kurzyna
Hi Marcus, You would need to provide a c level serialization that stores the $this pointer (the easy part) and the zend_function member (not easy). The second part requires storing of all static variables, which again is pretty easy but it also requires to store the function itself, which in ca

Re: [PHP-DEV] Closures serialization

2009-01-03 Thread Marcin Kurzyna
Hi Marcus, You would need to provide a c level serialization that stores the $this pointer (the easy part) and the zend_function member (not easy). The second part requires storing of all static variables, which again is pretty easy but it also requires to store the function itself, which in ca

Re: [PHP-DEV] PATCH: bug #46701

2009-01-03 Thread Felipe Pena
Em Sáb, 2009-01-03 às 10:31 -0200, Felipe Pena escreveu: > Em Sáb, 2009-01-03 às 10:27 -0200, Felipe Pena escreveu: > > Em Sex, 2009-01-02 às 21:03 -0800, shire escreveu: > > > I've created a patch for bug #46701 > > > (http://bugs.php.net/bug.php?id=46701) but it requires Zend changes, it > > >

Re: [PHP-DEV] PATCH: bug #46701

2009-01-03 Thread Felipe Pena
Em Sáb, 2009-01-03 às 10:27 -0200, Felipe Pena escreveu: > Em Sex, 2009-01-02 às 21:03 -0800, shire escreveu: > > I've created a patch for bug #46701 (http://bugs.php.net/bug.php?id=46701) > > but it requires Zend changes, it can be found at the links below for all > > branches. I've verified al

Re: [PHP-DEV] PATCH: bug #46701

2009-01-03 Thread Felipe Pena
Em Sex, 2009-01-02 às 21:03 -0800, shire escreveu: > I've created a patch for bug #46701 (http://bugs.php.net/bug.php?id=46701) > but it requires Zend changes, it can be found at the links below for all > branches. I've verified all tests pass. We may want to verify it for other > architecture