1--TEST-- 2Testing ReflectionClass::isCloneable() with non instantiable objects 3--FILE-- 4<?php 5 6trait foo { 7} 8$obj = new ReflectionClass('foo'); 9var_dump($obj->isCloneable()); 10 11abstract class bar { 12} 13$obj = new ReflectionClass('bar'); 14var_dump($obj->isCloneable()); 15 16interface baz { 17} 18$obj = new ReflectionClass('baz'); 19var_dump($obj->isCloneable()); 20 21?> 22--EXPECT-- 23bool(false) 24bool(false) 25bool(false) 26