php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69627 Add function get_called_namespace similar to get_called_class
Submitted: 2015-05-12 12:15 UTC Modified: 2017-08-13 04:22 UTC
From: shashankkumar dot me at gmail dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2015-05-12 12:15 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-05 04:50 UTC] stas@php.net
-Status: Open +Status: Feedback
 [2017-08-05 04:50 UTC] stas@php.net
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.
 [2017-08-13 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC