Annotation of embedaddon/php/Zend/tests/bug60613.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #60613 (Segmentation fault with $cls->{expr}() syntax)
! 3: --FILE--
! 4: <?php
! 5: class Cls {
! 6: function __call($name, $arg) {
! 7: }
! 8: }
! 9:
! 10: $cls = new Cls();
! 11: $cls->{0}();
! 12: $cls->{1.0}();
! 13: $cls->{true}();
! 14: $cls->{false}();
! 15: $cls->{null}();
! 16: echo "ok\n";
! 17: --EXPECTF--
! 18: Fatal error: Method name must be a string in %sbug60613.php on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>