mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-31 21:32:14 +02:00
13 lines
261 B
PHP
13 lines
261 B
PHP
--TEST--
|
|
MongoDB\Driver\Server cannot be extended
|
|
--FILE--
|
|
<?php
|
|
|
|
class MyServer extends MongoDB\Driver\Server {}
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
Fatal error: Class MyServer may not inherit from final class (MongoDB\Driver\Server) in %s on line %d
|