1..93 # ::stringToArray() - - - - - - - - - - - # ::isUTF8() - returns true if the parameter is an UTF-8 encoded string - returns true if the parameter is an UTF-8 encoded string - returns false if the parameter is not an UTF-8 encoded string - can operate on very large strings # ::literalize() - returns true with - returns true with - returns true with - returns true with - returns true with - returns true with - returns true with - returns true with - returns true with - returns true with - returns true with - returns false with - returns false with - returns false with - returns false with - returns false with - returns false with - returns false with - returns false with - returns false with - returns false with - returns false with - returns null with - returns null with - returns null with - returns null with - returns null with - returns null with "" - returns null with # ::replaceConstants() - replaces constants enclosed in % - does not replace unknown constants - replaces constants enclosed in % even if value is null - returns the original string if the constant is not defined - returns the original string if the constant is not defined - returns the original string if the constant is not defined # ::isPathAbsolute() - returns true if path is absolute - returns true if path is absolute - returns true if path is absolute - returns true if path is absolute - returns false if path is relative - returns false if path is relative - returns false if path is relative # ::stripComments() - strip all comments from a php string - correctly handles comments within strings # ::stripslashesDeep() - strip slashes on string - strip slashes on array - strip slashes on deep arrays - strip slashes on deep arrays # ::clearDirectory() - removes all directories from the directory parameter - removes all directories from the directory parameter - removes all directories from the directory parameter # ::clearGlob() - removes all files and directories matching the pattern parameter - removes all files and directories matching the pattern parameter - removes all files and directories matching the pattern parameter # ::arrayDeepMerge() - merges linear arrays preserving literal keys - recursively merges arrays preserving literal keys - merges linear arrays preserving numerical keys - recursively merges arrays preserving numerical keys # ::getArrayValueForPath() - returns the value of the path if it exists - returns null if the path does not exist - takes a default value as its third argument - works with deep paths - works with deep paths - works with deep paths - accepts a [] at the end to check for an array - accepts a [] at the end to check for an array - accepts a [] at the end to check for an array - accepts a [] at the end to check for an array - can take an array indexed by integer - can take an array indexed by integer - can take an array indexed by integer - is not fooled by php mistaking strings and array # ::addIncludePath() - returns the previous include_path - adds a path to the front of include_path # Failed test (./sfToolkitTest.php at line 227) # got: '/var/www/prod/lib/vendor/symfony/test/unit/util:/usr/share/php:/usr/share/pear' # expected: '/var/www/prod/lib/vendor/symfony/test/unit/util:.:/usr/share/php:/usr/share/pear' - moves a path to the end of include_path # Failed test (./sfToolkitTest.php at line 230) # got: '/usr/share/php:/usr/share/pear:/var/www/prod/lib/vendor/symfony/test/unit/util' # expected: '.:/usr/share/php:/usr/share/pear:/var/www/prod/lib/vendor/symfony/test/unit/util' - adds multiple paths the the front of include_path # Failed test (./sfToolkitTest.php at line 236) # got: '/var/www/prod/lib/vendor/symfony/test/unit/util:/var/www/prod/lib/vendor/symfony/test/unit/util/..:/usr/share/php:/usr/share/pear' # expected: '/var/www/prod/lib/vendor/symfony/test/unit/util:/var/www/prod/lib/vendor/symfony/test/unit/util/..:.:/usr/share/php:/usr/share/pear' - adds multiple paths the the back of include_path # Failed test (./sfToolkitTest.php at line 242) # got: '/usr/share/php:/usr/share/pear:/var/www/prod/lib/vendor/symfony/test/unit/util:/var/www/prod/lib/vendor/symfony/test/unit/util/..' # expected: '.:/usr/share/php:/usr/share/pear:/var/www/prod/lib/vendor/symfony/test/unit/util:/var/www/prod/lib/vendor/symfony/test/unit/util/..' - throws an exception if position is not valid # Looks like you failed 4 tests of 93.