PHP 8.3.4 Released!

ReflectionMethod::export

(PHP 5, PHP 7)

ReflectionMethod::exportExport a reflection method

Warnung

Diese Funktion ist seit PHP 7.4.0 als DEPRECATED (veraltet) markiert und wurde in PHP 8.0.0 ENTFERNT. Von der Verwendung dieser Funktion wird dringend abgeraten.

Beschreibung

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

Exports a ReflectionMethod.

Parameter-Liste

class

The class name.

name

The name of the method.

return

Wird dies auf true gesetzt, so wird der Export zurückgegeben anstelle ihn auszugeben. Wird dies auf false gesetzt (der Standardwert), wird das Gegenteil passieren.

Rückgabewerte

Falls der Parameter return auf true gesetzt ist, so wird der Export als ein String zurückgegeben, andernfalls wird null zurückgegeben.

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top