Quartz 5

Home

❯

Org-roam

❯

PHP Class Name Literal

PHP Class Name Literal

Aug 05, 20261 min read

PHP Class Name Literal

Description

Introduced in [PHP 8.0](PHP 8.0), class name literals[fn:literals] is a new alternative to get_class()

Syntax

foo=newFoo();vard​ump(foo:class)

Footnotes

[fn:literals]https://wiki.php.net/rfc/class\_name\_literal\_on\_object


Graph View

  • PHP Class Name Literal
  • Description
  • Syntax
  • Footnotes

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community