mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +08:00
16 lines
399 B
PHP
16 lines
399 B
PHP
--TEST--
|
|
ReflectionObject::isInternal() - invalid params
|
|
--FILE--
|
|
<?php
|
|
|
|
$r1 = new ReflectionObject(new stdClass);
|
|
var_dump($r1->isInternal('X'));
|
|
var_dump($r1->isInternal('X', true));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: ReflectionClass::isInternal() expects exactly 0 parameters, 1 given in %s on line %d
|
|
NULL
|
|
|
|
Warning: ReflectionClass::isInternal() expects exactly 0 parameters, 2 given in %s on line %d
|
|
NULL
|