1--TEST-- 2Test cloning 3--SKIPIF-- 4<?php include "skipif.inc";?> 5--FILE-- 6<?php 7$s = new stdClass(); 8$m = new Memcached(); 9 10$s = clone $s; 11$m = clone $m; 12 13echo "GOT HERE"; 14--EXPECTF-- 15Fatal error: Uncaught Error: Trying to clone an uncloneable object of class Memcached in %s:6 16Stack trace: 17#0 {main} 18 thrown in %s on line 6 19