xref: /PHP-5.5/Zend/tests/bug60825.phpt (revision 12074512)
1--TEST--
2Bug #60825 (Segfault when running symfony 2 tests)
3--DESCRIPTION--
4run this with valgrind
5--FILE--
6<?php
7class test {
8	public static $x;
9	public function __toString() {
10		self::$x = $this;
11		return __FILE__;
12	}
13}
14$a = new test;
15require_once $a;
16debug_zval_dump(test::$x);
17?>
18--EXPECTF--
19string(%d) "%sbug60825.php" refcount(2)
20