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