phpday 2027 - Call for Papers

ReflectionProperty::export

(PHP 5, PHP 7)

ReflectionProperty::export — Export

Avviso

Questa funzione è stata DEPRECATA a partire da PHP 7.4.0 e RIMOSSA a partire da PHP 8.0.0. Fare affidamento su questa funzione è altamente sconsigliato.

Descrizione

public static function ReflectionProperty::export(mixed $class, string $name, bool $return = ?): string

Exports a reflection.

Avviso

Questa funzione al momento non è documentata; è disponibile soltanto la lista dei suoi argomenti.

Elenco dei parametri

argument

La reflection da esportare.

name

The property name.

return

Impostandolo a true l'esportazione verrà restituita, invece di essere emessa. Impostandolo a false (il valore predefinito) si otterrà il contrario.

Valori restituiti

Vedere anche:

+add a note

User Contributed Notes 1 note

up
0
antonfedonyuk at gmail dot com
6 years ago
Note: export() method is deprecated in PHP 7.4, use __toString() instead - this method return same result.
To Top