public marks

PUBLIC MARKS from calipussoftware with tags #calipus & calipus

06 April 2015

Sales of the Apple Watch are blocked in Switzerland — at least for now.

(via)
'There is already a patent for the word "Apple" appearing on a watch in the country', according to a story on the website for Swiss television network RTS. Apple Watch reportedly blocked in Switzerland over patent, at least for now.

20 February 2015

What is spl_autoload_register, spl_autoload and autoload

(via)
PHP does have some awesome function which can be very handy. SPL register function is one of them, we are going to talk about. As PHP manual says spl_autoload_register — Register given function as __autoload() implementation So what exactly it means ? Let’s try to understand with the help of an example. function Autoloader($className) { require_once $path.$className.'.php'; } spl_autoload_register('Autoloader'); $myObj = new MyClass(); Here we have just instantiated a class named as “MyClass” with out specifying include or require statements.