<?php $reflectionMethod = new ReflectionMethod(Exception::class, "__construct"); foreach ($reflectionMethod->getParameters() as $reflectionParameter) { $defaultValue = null; if (!$reflectionParameter->isDefaultValueAvailable()) { print $reflectionParameter->isDefaultValueConstant() ? "constant" : "no constant"; } else { print "not available"; } print PHP_EOL; }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`