1--TEST--
2Reflection class can not be cloned
3--CREDITS--
4Stefan Koopmanschap <stefan@phpgg.nl>
5TestFest PHP|Tek
6--FILE--
7<?php
8$rc = new ReflectionClass("stdClass");
9$rc2 = clone($rc);
10?>
11--EXPECTF--
12Fatal error: Uncaught Error: Trying to clone an uncloneable object of class ReflectionClass in %s:%d
13Stack trace:
14#0 {main}
15  thrown in %s on line %d
16