Annotation of embedaddon/php/ext/standard/tests/general_functions/var_export_error3.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Test var_export() function : error conditions - recursive array
! 3: --FILE--
! 4: <?php
! 5: /* Prototype : mixed var_export(mixed var [, bool return])
! 6: * Description: Outputs or returns a string representation of a variable
! 7: * Source code: ext/standard/var.c
! 8: * Alias to functions:
! 9: */
! 10:
! 11: $a[] =& $a;
! 12: var_export($a, true);
! 13:
! 14: ?>
! 15: ===DONE===
! 16: --EXPECTF--
! 17:
! 18: Fatal error: Nesting level too deep - recursive dependency? in %s on line 9
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>