com php-src: Bug #63336 is not a bug: Zend/tests/bug63336.phpt
| From: | Dmitry Stogov | Date: | Tue, 14 Apr 2015 14:15:50 +0000 |
| Subject: | com php-src: Bug #63336 is not a bug: Zend/tests/bug63336.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86227@lists.php.net to get a copy of this message | ||
Commit: dc024f0bdc2570381b1bcabf904c0423fb499049
Author: Dmitry Stogov <dmitry@zend.com> Tue, 14 Apr 2015 17:15:50 +0300
Parents: 3803bbde244e8221a20319b3961bbb73ab85ad4b
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc024f0bdc2570381b1bcabf904c0423fb499049
Log:
Bug #63336 is not a bug
Bugs:
https://bugs.php.net/63336
Changed paths:
M Zend/tests/bug63336.phpt
Diff:
diff --git a/Zend/tests/bug63336.phpt b/Zend/tests/bug63336.phpt
index d2c3d41..a7cc097 100644
--- a/Zend/tests/bug63336.phpt
+++ b/Zend/tests/bug63336.phpt
@@ -1,7 +1,5 @@
--TEST--
Bug #63336 (invalid E_NOTICE error occur)
---XFAIL--
-Bug is not fixed yet
--FILE--
<?php
error_reporting(E_ALL | E_NOTICE );
@@ -18,7 +16,7 @@ class Child extends Base {
public function bar($var, $more=self::DUMMY) { return true; }
}
?>
---EXPECT--
-Strict Standards: Declaration of Child::foo() should be compatible with Base::foo($var =
'123', $more = NULL) in %sbug63336.php on line %d
+--EXPECTF--
+Strict Standards: Declaration of Child::foo() should be compatible with Base::foo($var = TEST,
$more = NULL) in %sbug63336.php on line %d
-Strict Standards: Declaration of Child::bar() should be compatible with Base::bar($var, $more =
'XXX') in %sbug63336.php on line %d
+Strict Standards: Declaration of Child::bar() should be compatible with Base::bar($more =
self::DUMMY) in %sbug63336.php on line %d