No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)If the display is too slow, you can disable the user mode to view the cached version.
ReflectionClass::isAnonymous
(PHP 7)
ReflectionClass::isAnonymous — Checks if class is anonymous
Description
public ReflectionClass::isAnonymous
( void
) : bool
Checks if a class is an anonymous class.
Examples
Example #1 ReflectionClass::isAnonymous() example
<?php
class TestClass {}
$anonClass = new class {};
$normalClass = new ReflectionClass('TestClass');
$anonClass = new ReflectionClass($anonClass);
var_dump($normalClass->isAnonymous());
var_dump($anonClass->isAnonymous());
?>
The above example will output:
bool(false) bool(true)
Can not display this page of the Infobrol website
Type of error (18-01)
Unknown format specifier "&"Please try again in a few minutes…
Steph