|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-08-27 18:59 UTC] Wes dot example at example dot org
[2017-08-27 19:18 UTC] daverandom@php.net
-Status: Open
+Status: Not a bug
[2017-08-27 19:18 UTC] daverandom@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
Description: ------------ get_class in the versions before 7.1.8 returns only the class name, but now prefixed with namespace. A option should be added in get_class([[object $object],[bool $include_namespace]]) Test script: --------------- <?php namespace db\update\watcher; class Foo { public function get_class_name(){ echo get_class($this); } } // outputs // db\update\watcher\Foo;