Improved phpdocs
Added tests for strcspn