diff options
Diffstat (limited to 'ext/standard/tests/general_functions/is_callable_basic2.phpt')
-rw-r--r-- | ext/standard/tests/general_functions/is_callable_basic2.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/general_functions/is_callable_basic2.phpt b/ext/standard/tests/general_functions/is_callable_basic2.phpt index d842534124..379defc3a8 100644 --- a/ext/standard/tests/general_functions/is_callable_basic2.phpt +++ b/ext/standard/tests/general_functions/is_callable_basic2.phpt @@ -1,5 +1,5 @@ --TEST-- -Test is_callable() function : usage variations - on objects +Test is_callable() function : usage variations - on objects --INI-- precision=14 error_reporting = E_ALL & ~E_NOTICE | E_STRICT @@ -11,7 +11,7 @@ error_reporting = E_ALL & ~E_NOTICE | E_STRICT */ /* Prototype: void check_iscallable_objects( $methods ); - Description: use is_callable() on given $method to check if the array + Description: use is_callable() on given $method to check if the array contains a valid method name; returns true if valid function name, false otherwise */ @@ -35,11 +35,11 @@ echo "\n*** Testing is_callable() on objects ***\n"; class object_class { public $value = 100; - + /* static method */ static public function foo() { } - + public function foo1() { } /* function name with mixed string and integer */ @@ -50,7 +50,7 @@ class object_class } /* function name having boolean value */ public function TRUE() { - } + } protected function foo2() { } |