Dear readers of our blog! In the last article we wrote about two methods of inserting a context advertisement using the PHP language. Today we will consider PHP namespaces, using the simple examples of programming. The good news – the Namespaces are easy. To preview we’ll challenge ourselves to explain it quickly. Let’s go.
Create class in PHP.
<?php class Foo { public function doAwesomeFooThings () { // you should write your code here } } ?>
Recent Comments