dsp             Sun Dec 30 17:48:24 2007 UTC

  Added files:                 
    /php-src/ext/pdo/tests      bug_43663.phpt 
  Test for bug 43663

Index: php-src/ext/pdo/tests/bug_43663.phpt
+++ php-src/ext/pdo/tests/bug_43663.phpt
PDO Common: Bug #43663 (__call on classes derived from PDO)
<?php # vim:ft=php
if (!extension_loaded('pdo')) die('skip');
class test extends PDO{
    function __call($name, array $args) {
        echo "Called $name in ".__CLASS__."\n";
    function foo() {
        echo "Called foo in ".__CLASS__."\n";
$a = new test('sqlite::memory:');
Called foo in test
Called bar in test

PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to