sqlite3_version_noparam.phpt 359 B

12345678910111213141516
  1. --TEST--
  2. SQLite3::version test, testing for missing function parameters
  3. --CREDITS--
  4. Michelangelo van Dam
  5. # Belgian PHP Testfest 2009
  6. --SKIPIF--
  7. <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
  8. --FILE--
  9. <?php
  10. var_dump(SQLite3::version('dummy'));
  11. ?>
  12. --EXPECTF--
  13. Warning: SQLite3::version() expects exactly 0 parameters, 1 given in %s on line %d
  14. NULL