php8.5
Home/ Manual/ reflection / reflectionmethod/ ReflectionMethod::export

ReflectionMethod::export

PHP function Removed in PHP 8 Edit on GitHub ✎

(PHP 5, PHP 7)

Export a reflection method

Removed-8-0-0

Description

ReflectionMethod::export(string $class, string $name, bool $return = false): string

Exports a ReflectionMethod.

Parameters

class

The class name.

name

The name of the method.

return

Return

Return Values

Return

Changelog

VersionDescription
8.0.0Function
7.4.0Function

See Also

  • ReflectionMethod::__construct
  • ReflectionMethod::__toString

Source: reference/reflection/reflectionmethod/export.xml · from the official PHP manual (php/doc-en)