Attached is a patch for the MySQL and SQLite drivers of PDO that
implements the feature request from #42589 by adding the name of the
table where the column is from to the output of getColumnMeta().
The change for MySQL seems to be pretty straightforward, but for SQLite
I had to add the SQLITE_ENA
On Fri Oct 12, 2007 at 01:5229PM -0700, Stanislav Malyshev wrote:
> Martin Jansen wrote:
> >The attached patch against HEAD attempts to unify the phpinfo() output
> >of the PDO drivers for Oracle, MySQL, and PostgreSQL by always including
> >the PECL module version string and the $Id$ CVS keyword.
On Sat Oct 13, 2007 at 11:4625AM +0200, Martin Jansen wrote:
> Attached is a patch for the MySQL and SQLite drivers of PDO that
> implements the feature request from #42589 by adding the name of the
> table where the column is from to the output of getColumnMeta().
Antony already implemented this
Attached is a patch and a corresponding test case for bug #42322 against
the PHP_5_3 branch. (Antony suggested I don't supply PDO patches
against HEAD.)
- Martin
Index: ext/pdo_mysql/mysql_statement.c
===
RCS file: /repository/php
Martin Jansen wrote:
On Sat Oct 13, 2007 at 11:4625AM +0200, Martin Jansen wrote:
Attached is a patch for the MySQL and SQLite drivers of PDO that
implements the feature request from #42589 by adding the name of the
table where the column is from to the output of getColumnMeta().
Antony alread
Will method overloading by method signature be implemented in php6 or
even php 5.3?
Example:
I think this would be a very big advantage and would help developers to
write better code.
Hans, such overloading would be incompatible with php's dynamic nature
As far as I remember, even type-hinting for basic-types (strings,
integers) was rejected
On 10/13/07, Hans Moog <[EMAIL PROTECTED]> wrote:
> Will method overloading by method signature be implemented in php6 or
> even php 5.3?
Why would it be incompatible with php's dynamic nature? (I already heard many
people saying "that this is not the php way") But why ? Don't you like it or do
you think it is just not possible to be implemented in php?
I could provide a patch that makes it possible (even with complete visibility
can your patch handle the following situation? how?
class A
{
public function fun1($a)
{
//…
}
public function fun1($a, $b)
{
//…
}
}
$a = new A();
$a->fun1('a', 'b', 'c'); // which method is called here?
On 10/14/07, Hans Moog <[EMAIL PROTECTED]> wrote:
It shows an error that fun1 is not implemented for the signature of the passed
parameters.
But you could still provide a method that matches any number and type of
parameters by adding the following method declaration.
/**
* This method accepts parameters of any type and any count.
*/
publi
10 matches
Mail list logo