|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-09 00:41 UTC] vijay at planetbazaar dot com
[2007-09-12 13:45 UTC] vijay at planetbazaar dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 06:00:01 2025 UTC |
Description: ------------ You have used of undefined constant CalculatorAuditorServant in your test file: php_yami_test Reproduce code: --------------- Please have a look at the code line 207 if ( yami_agent_object_register($agent, "CalculatorAuditor", CalculatorAuditorServant, "Foo" ) ) { echo "... success\n"; } CalculatorAuditorServant is used as if it is a constant. In fact it should be used a string, a function name, because you have declared a so-called function. Expected result: ---------------- The notice Use of undefined constant CalculatorAuditorServant should not happen Actual result: -------------- The notice Use of undefined constant CalculatorAuditorServant happens