1--TEST--
2ReflectionClass::IsInstantiable()
3--FILE--
4<?php
5class privateCtorOld {
6	private function privateCtorOld() {}
7}
8$reflectionClass = new ReflectionClass("privateCtorOld");
9
10var_dump($reflectionClass->IsInstantiable('X'));
11var_dump($reflectionClass->IsInstantiable(0, null));
12
13?>
14--EXPECTF--
15Warning: ReflectionClass::isInstantiable() expects exactly 0 parameters, 1 given in %s on line %d
16NULL
17
18Warning: ReflectionClass::isInstantiable() expects exactly 0 parameters, 2 given in %s on line %d
19NULL
20