Functions were renamed at some point. This builds without error on PHP
5.4 and PHP 5.5.
Merge pull request #1 from cognusion/modernPHP

Internal function name correction