Annotation of embedaddon/php/ext/reflection/tests/bug60357.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion")
                      3: --FILE--
                      4: <?php
                      5: function foo( array $x = array( 'a', 'b' ) ) {}
                      6: $r = new ReflectionParameter( 'foo', 0 );
                      7: echo $r->__toString();
                      8: ?>
                      9: --EXPECTF--
                     10: Parameter #0 [ <optional> array $x = Array ]

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>