diff --git a/language/functions.xml b/language/functions.xml index d97498f5a2d5..86a5f05200d3 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -89,9 +89,9 @@ if ($makefoo) { } /* Now we can safely call foo() - since $makefoo evaluated to true */ + since function_exists('foo') evaluated to true */ -if ($makefoo) foo(); +if (function_exists('foo')) foo(); function bar() {