From d35a0da65da42ea1b59e907a1c5a33bee0293622 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 2 Apr 2009 01:51:02 +0000 Subject: [PATCH] Changed namespace operator from :: to \ in example (spotted by lukas) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278152 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/funchand/functions/call-user-func-array.xml | 6 +++--- reference/funchand/functions/call-user-func.xml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/funchand/functions/call-user-func-array.xml b/reference/funchand/functions/call-user-func-array.xml index 77e6ddb9a0..081bfd98ec 100644 --- a/reference/funchand/functions/call-user-func-array.xml +++ b/reference/funchand/functions/call-user-func-array.xml @@ -1,5 +1,5 @@ - + call_user_func_array @@ -94,11 +94,11 @@ class Foo { } // As of PHP 5.3.0 -call_user_func_array(__NAMESPACE__ .'::Foo::test', array('Hannes')); +call_user_func_array(__NAMESPACE__ .'\Foo::test', array('Hannes')); // Hello Hannes! // As of PHP 5.3.0 -call_user_func_array(array(__NAMESPACE__ .'::Foo', 'test'), array('Philip')); +call_user_func_array(array(__NAMESPACE__ .'\Foo', 'test'), array('Philip')); // Hello Philip! ?> diff --git a/reference/funchand/functions/call-user-func.xml b/reference/funchand/functions/call-user-func.xml index a3dc3150db..8fc710cc7b 100644 --- a/reference/funchand/functions/call-user-func.xml +++ b/reference/funchand/functions/call-user-func.xml @@ -1,5 +1,5 @@ - + call_user_func @@ -110,9 +110,9 @@ class Foo { } } -call_user_func(__NAMESPACE__ .'::Foo::test'); // As of PHP 5.3.0 +call_user_func(__NAMESPACE__ .'\Foo::test'); // As of PHP 5.3.0 // Hello world! -call_user_func(array(__NAMESPACE__ .'::Foo', 'test')); // As of PHP 5.3.0 +call_user_func(array(__NAMESPACE__ .'\Foo', 'test')); // As of PHP 5.3.0 // Hello world! ?>