mirror of
https://github.com/php/php-src.git
synced 2025-01-10 13:03:54 +08:00
15 lines
394 B
PHP
15 lines
394 B
PHP
--TEST--
|
|
ReflectionClass::isInternal() - invalid params
|
|
--FILE--
|
|
<?php
|
|
$r1 = new ReflectionClass("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
|