--TEST-- MongoDB\BSON\ObjectId constructor type validation --SKIPIF-- =', '7.99'); ?> --FILE-- ===DONE=== --EXPECTF-- OK: Got TypeError %SMongoDB\BSON\ObjectId::__construct()%sstring or null, %r(object|stdClass)%r given ===DONE===