1--TEST--
2Trying to clone mysqli_driver object
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5<?php require_once('skipifemb.inc'); ?>
6--FILE--
7<?php
8	$driver = new mysqli_driver;
9	$driver_clone = clone $driver;
10	print "done!";
11?>
12--EXPECTF--
13Fatal error: Uncaught Error: Trying to clone an uncloneable object of class mysqli_driver in %s:%d
14Stack trace:
15#0 {main}
16  thrown in %s on line %d
17