RSSAmplifier

Home · Simon Holywell on Simon Holywell · Oct 18, 2016

Importing and aliasing PHP functions

0
Sign 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.

As a follow on to my short post about namespaces and functions from a year ago I thought it would be worth covering importing a specific function and aliasing functions via namespace operators too. This has been possible since PHP 5.6, but there is a nice addition in PHP 7 I’ll cover towards the end. In the previous article I demonstrated how you can namespace functions and use them, but as…

Read on simonholywell.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.