From: Felipe Pena Date: Tue, 3 Jun 2008 15:34:47 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=426a4cc2e6efdded464a173fea5d4beb78f964f6;p=php - Fixed tests --- 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