A blog post which show how __call is used to convert PHP’s functions to method:
http://domexception.blogspot.fi/2013/08/php-magic-methods-and-arrayobject.html