From 98dbe6f0d2edfff3a1f5785504504b4a6e5dd4eb Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 19 Nov 2011 11:33:31 +0000 Subject: updating phpDocumentor, part 2: add new version --- .../PhpDocumentor/phpDocumentor/clone5.inc.php | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 buildscripts/PhpDocumentor/phpDocumentor/clone5.inc.php (limited to 'buildscripts/PhpDocumentor/phpDocumentor/clone5.inc.php') diff --git a/buildscripts/PhpDocumentor/phpDocumentor/clone5.inc.php b/buildscripts/PhpDocumentor/phpDocumentor/clone5.inc.php new file mode 100644 index 00000000..20dbc898 --- /dev/null +++ b/buildscripts/PhpDocumentor/phpDocumentor/clone5.inc.php @@ -0,0 +1,54 @@ + + * @copyright 2001-2006 Gregory Beaver + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @version CVS: $Id: clone5.inc.php 243202 2007-09-30 02:08:08Z ashnazg $ + * @filesource + * @link http://www.phpdoc.org + * @link http://pear.php.net/PhpDocumentor + * @since 1.0rc1 + * @todo CS cleanup - change package to PhpDocumentor + */ +/** + * Clone an object in PHP 5 + * + * @param object $obj the object to be cloned + * + * @return object the new clone + * @ignore + * @todo CS cleanup - rename function to PhpDocumentor_clone + */ +function phpDocumentor_clone($obj) +{ + return clone $obj; +} + +?> -- cgit v1.2.3