Doc #62057 [Opn->Nab]: get_class also provides the namespace

From: Date: Wed, 09 Oct 2013 06:19:53 +0000
Subject: Doc #62057 [Opn->Nab]: get_class also provides the namespace
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10450@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62057&edit=1 ID: 62057 Updated by: krakjoe@php.net Reported by: nico at hostnet dot nl Summary: get_class also provides the namespace -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: not applicable PHP Version: 5.3.13 Block user comment: N Private report: N New Comment: It is implicit: a class declared in a namespace has the namespace name prefixed to the class name. Previous Comments: ------------------------------------------------------------------------ [2012-05-18 12:01:27] nico at hostnet dot nl Description: ------------ --- From manual page: http://www.php.net/function.get-class#refsect1-function.get-class-changelog --- The docs are not clear in the fact that the result of calling get_class($obj) on a namespaced object also includes the full namespace ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62057&edit=1

« previous php.doc.bugs (#10450) next »