limit function added and minor change in travis file

PHP 5.2 removed from travis file because it has no support for namespacing.