PHP » GoLang |
login |
register |
about
|
GoLang ReflectionClass::isInstantiable
request it (281)
GoLang replacement for PHP's ReflectionClass::isInstantiable
[edit | history]
PHP ReflectionClass::isInstantiablePHP original manual for ReflectionClass::isInstantiable [ show | php.net ]ReflectionClass::isInstantiable(PHP 5, PHP 7) ReflectionClass::isInstantiable — Checks if the class is instantiable Description
public bool ReflectionClass::isInstantiable
( void
)
Checks if the class is instantiable. ParametersThis function has no parameters. Return Values
Returns Examples
Example #1 ReflectionClass::isInstantiable() example
<?php The above example will output: Is C instantiable? bool(true) Is iface instantiable? bool(false) Is ifaceImpl instantiable? bool(true) Is abstractClass instantiable? bool(false) Is D instantiable? bool(true) Is privateConstructor instantiable? bool(false) |
more
Recently updated
more
Most requested
more
Last requests
|