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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shashankkumar dot me at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sun May 05 17:01:31 2024 UTC