From f7ddcfbe163e266506745b21d82477f9b049466f Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Mon, 27 Nov 2006 21:17:13 +0000 Subject: [PATCH] close is a keyword not a function, fix the confusing git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@223970 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/patterns.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/oop5/patterns.xml b/language/oop5/patterns.xml index a8fd63ff85..0f048ca882 100644 --- a/language/oop5/patterns.xml +++ b/language/oop5/patterns.xml @@ -1,5 +1,5 @@ - + Patterns @@ -124,7 +124,7 @@ $test = Example::singleton(); $test->bark(); // This will issue an E_USER_ERROR. -$test_clone = clone($test); +$test_clone = clone $test; ?> ]]>