From 426a4cc2e6efdded464a173fea5d4beb78f964f6 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Tue, 3 Jun 2008 15:34:47 +0000 Subject: [PATCH] - Fixed tests --- Zend/tests/call_static_004.phpt | 2 +- Zend/tests/call_static_006.phpt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Zend/tests/call_static_004.phpt b/Zend/tests/call_static_004.phpt index 40d65cfa94..ad6e6812b6 100644 --- a/Zend/tests/call_static_004.phpt +++ b/Zend/tests/call_static_004.phpt @@ -18,6 +18,6 @@ foo::$a(); ?> --EXPECTF-- -unicode(3) "AaA" +string(3) "AaA" Fatal error: Function name must be a string in %s on line %d diff --git a/Zend/tests/call_static_006.phpt b/Zend/tests/call_static_006.phpt index 5a4da2e0ac..f5df139dd0 100644 --- a/Zend/tests/call_static_006.phpt +++ b/Zend/tests/call_static_006.phpt @@ -23,7 +23,10 @@ foo::__construct(); ?> --EXPECTF-- +Strict Standards: Non-static method foo::aa() should not be called statically in %s on line %d ok + +Strict Standards: Non-static method foo::aa() should not be called statically in %s on line %d ok Fatal error: Can not call constructor in %s on line %d -- 2.50.1