1--TEST--
2ZE2 factory and singleton, test 10
3--FILE--
4<?php
5class test {
6
7  private function __destruct() {
8  	echo __METHOD__ . "\n";
9  }
10}
11
12$obj = new test;
13
14?>
15===DONE===
16--EXPECTF--
17===DONE===
18
19Warning: Call to private test::__destruct() from context '' during shutdown ignored in Unknown on line 0
20