ReflectionProperty::export

(PHP 5)

ReflectionProperty::exportExport

說明

public static string ReflectionProperty::export ( mixed $class , string $name [, bool $return ] )

Exports a reflection.

Warning

此函式目前沒有參考文件;只有引數列表。

參數

argument

匯出的反射。

name

The property name.

return

設為 TRUE 時回傳匯出結果,設為 FALSE(預設值)則忽略回傳。

回傳值

參見

  • ReflectionProperty::toString()

add a note add a note

User Contributed Notes 1 note

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