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
 
<ReflectionClass::getShortNameReflectionClass::getStaticProperties>
^ReflectionClassLast updated: Mon, 26 Oct 2026

ReflectionClass::getStartLine

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getStartLine — Gets starting line number

Description

public function ReflectionClass::getStartLine(): int|false

Get the starting line number.

Parameters

This function has no parameters.

Return Values

The starting line number, as an int, or false if unknown.

See Also


<ReflectionClass::getShortNameReflectionClass::getStaticProperties>
^ReflectionClassLast updated: Mon, 26 Oct 2026