Req #69627 [Opn->Fbk]: Add function get_called_namespace similar to get_called_class

From: Date: Sat, 05 Aug 2017 04:50:35 +0000
Subject: Req #69627 [Opn->Fbk]: Add function get_called_namespace similar to get_called_class
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210513@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69627&edit=1 ID: 69627 Updated by: stas@php.net Reported by: shashankkumar dot me at gmail dot com Summary: Add function get_called_namespace similar to get_called_class -Status: Open +Status: Feedback Type: Feature/Change Request Package: *General Issues Operating System: All PHP Version: Irrelevant Block user comment: N Private report: N New Comment: What do you mean by "namespace of the object"? Some examples would help. In general, namespace is a compile-time syntax sugar, the class always has full name and the object is connected to that class. Previous Comments: ------------------------------------------------------------------------ [2015-05-12 12:15:41] shashankkumar dot me at gmail dot com Description: ------------ Add function get_called_namespace on similar lines as get_called_class which gives the namespace of the object. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69627&edit=1

« previous php.bugs (#210513) next »