mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
- MFH Fix test
This commit is contained in:
parent
d26b539c61
commit
d5811fc08a
1 changed files with 5 additions and 16 deletions
|
@ -2,23 +2,12 @@
|
|||
Test for abstract static classes
|
||||
--FILE--
|
||||
<?php
|
||||
abstract class ezcDbHandler extends PDO
|
||||
abstract class TestClass
|
||||
{
|
||||
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--
|
||||
DONE
|
||||
===DONE===
|
||||
--EXPECTF--
|
||||
|
||||
Fatal error: Static function TestClass::getName() cannot be abstract in %sabstract-static.php on line %d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue