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: Trying to clone an uncloneable object of class mysqli_driver in %s on line %d