note 114942 deleted from language.namespaces.fallback by cmb
| From: | cmb@php.net | Date: | Sun, 06 Sep 2015 15:40:47 +0000 |
| Subject: | note 114942 deleted from language.namespaces.fallback by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203720@lists.php.net to get a copy of this message | ||
Note Submitter: cory at xison dot ca
----
I want to throw it out there, I found the following easier to deal with when porting parts of some
older code into a new project in regards to accessing global classes.
<?php
namespace app\somethingorother;
use \core as core;
core::set_something();
?>
I know it's not exactly the same as the solutions mentioned above, but it works for what
I'm trying to accomplish.