@ -0,0 +1,24 @@
--TEST--
Test for abstract static classes
--FILE--
<?php
abstract class ezcDbHandler extends PDO
{
public function __construct( $dbParams, $dsn )
$user = null;
$pass = null;
$driverOptions = null;
}
abstract static public function getName();
static public function hasFeature( $feature )
return false;
?>
DONE
--EXPECT--
@ -0,0 +1,21 @@
Test whether an object is NULL or not.
class Bla
$b = new Bla;
var_dump($b != null);
var_dump($b == null);
var_dump($b !== null);
var_dump($b === null);
bool(true)
bool(false)