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