1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +01:00
Files
archived-php-src/ext/reflection/tests/ReflectionObject_isInternal_error.phpt

16 lines
373 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: Wrong parameter count for ReflectionClass::isInternal() in %s on line 4
NULL
Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 5
NULL