Annotation of embedaddon/php/ext/standard/tests/general_functions/var_export_error2.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: Test var_export() function : error conditions - recursive object
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: @$obj->p =& $obj;
12: var_export($obj, true);
13:
14: ?>
15: ===DONE===
16: --EXPECTF--
17:
1.1.1.2 ! misho 18: Warning: var_export does not handle circular references in %s on line 9
! 19: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>