From ba144fd4170c11e946ff4488b1634ac73fabd2ce Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Thu, 20 Sep 2007 14:11:32 +0000 Subject: [PATCH] - Fix test and tuned error message --- Zend/tests/magic_by_ref_010.phpt | 2 ++ Zend/zend_compile.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Zend/tests/magic_by_ref_010.phpt b/Zend/tests/magic_by_ref_010.phpt index 48f235355c..0a45fb9113 100644 --- a/Zend/tests/magic_by_ref_010.phpt +++ b/Zend/tests/magic_by_ref_010.phpt @@ -1,5 +1,7 @@ --TEST-- passing arguments by ref to a method handled by __call() +--INI-- +allow_call_time_pass_reference=1 --FILE-- common.function_name:"[runtime function name]")); + "allow_call_time_pass_reference to true in your INI file", + (function_ptr ? function_ptr->common.function_name : "[runtime function name]")); } if (function_ptr) { -- 2.40.0