Annotation of embedaddon/php/Zend/tests/bug62358.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #62358 (Segfault when using traits a lot)
! 3: --SKIPIF--
! 4: <?php
! 5: if (getenv("USE_ZEND_ALLOC") !== "0") {
! 6: die("skip Need Zend MM enabled");
! 7: }
! 8: ?>
! 9: --FILE--
! 10: <?php
! 11:
! 12: trait T {
! 13: public function foo() {
! 14: echo "from T";
! 15: }
! 16: }
! 17:
! 18: interface I {
! 19: public function foo();
! 20: }
! 21:
! 22: abstract class A implements I{
! 23: use T;
! 24: }
! 25:
! 26: class B extends A {
! 27: public function foo($var) {
! 28: }
! 29: }
! 30: ?>
! 31: --EXPECTF--
! 32: Strict Standards: Declaration of B::foo() should be compatible with A::foo() in %sbug62358.php on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>