Page MenuHomePhabricator (Chris)

query_error-001.phpt
No OneTemporary

Authored By
Unknown
Size
256 B
Referenced Files
None
Subscribers
None

query_error-001.phpt

--TEST--
MongoDB\Driver\Query cannot be extended
--FILE--
<?php
class MyQuery extends MongoDB\Driver\Query {}
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
Fatal error: Class MyQuery may not inherit from final class (MongoDB\Driver\Query) in %s on line %d

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 15, 6:46 AM (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
152130
Default Alt Text
query_error-001.phpt (256 B)

Event Timeline