1--TEST--
2ReflectionObject::IsInstantiable() - invalid params
3--FILE--
4<?php
5class privateCtorOld {
6	private function privateCtorOld() {}
7	public static function reflectionObjectFactory() {
8		return new ReflectionObject(new self);
9	}
10}
11$reflectionObject =  privateCtorOld::reflectionObjectFactory();
12
13var_dump($reflectionObject->IsInstantiable('X'));
14var_dump($reflectionObject->IsInstantiable(0, null));
15
16?>
17--EXPECTF--
18Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; privateCtorOld has a deprecated constructor in %s on line %d
19
20Warning: ReflectionClass::isInstantiable() expects exactly 0 parameters, 1 given in %s on line %d
21NULL
22
23Warning: ReflectionClass::isInstantiable() expects exactly 0 parameters, 2 given in %s on line %d
24NULL
25