diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-08 15:57:13 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-11 12:16:30 +0100 |
commit | d933591674ddcda342e80f32ca77dee1ada23fd7 (patch) | |
tree | aebbc5f633d1497f6c1715431d650a97e746e020 /ext/pcre/php_pcre.c | |
parent | 69819baee34f24e42305516e61fdc7e61593a3bb (diff) | |
download | php-git-d933591674ddcda342e80f32ca77dee1ada23fd7.tar.gz |
Add support for $obj::class
This allows $obj::class, which gives the same result as get_class($obj).
Anything other than an object results in TypeError.
RFC: https://wiki.php.net/rfc/class_name_literal_on_object
Closes GH-5065.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions