Home · Simon Holywell on Simon Holywell · Aug 10, 2015
Namespace PHP functions
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
With the release of PHP 5.3 namespaces became a reality in PHP and they’ve made so much possible including better autoloading. The majority of the time you’ll be used to seeing them at the top of each class file. They can also be used to namespace functions however. A standard PHP namespace declaration would look similar to the following at the top of a class file. namespace…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.