georg           Mon Feb 17 19:42:38 2003 EDT

  Added files:                 
    /php4/ext/mysqli/tests      056.phpt 
  Log:
  new test (class which extends mysqli. currently this test fails :( )
  
  

Index: php4/ext/mysqli/tests/056.phpt
+++ php4/ext/mysqli/tests/056.phpt
--TEST--
extend mysqli 
--FILE--
<?php
        include "connect.inc";

        class foobar extends mysqli {
                function test () {
                        return ("I like MySQL 4.1");
                }
        }

        $foo = new foobar();
        $foo->connect("localhost", $user, $passwd);
        $foo->close();
        printf("%s\n", $foo->test());
?>
--EXPECT--
I like MySQL 4.1



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

Reply via email to