Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ReflectionParameter::isDefaultValueAvailableReflectionParameter::isOptional>
^ReflectionParameterLast updated: Mon, 26 Oct 2026

ReflectionParameter::isDefaultValueConstant

(PHP 5 >= 5.4.6, PHP 7, PHP 8)

ReflectionParameter::isDefaultValueConstant — Returns whether the default value of this parameter is a constant

Description

public function ReflectionParameter::isDefaultValueConstant(): bool

Returns whether the default value of this parameter is a constant.

Parameters

This function has no parameters.

Return Values

Returns true if the default value is constant, and false otherwise.

See Also


<ReflectionParameter::isDefaultValueAvailableReflectionParameter::isOptional>
^ReflectionParameterLast updated: Mon, 26 Oct 2026