amazonwebservices/aws-sdk-for-php — pull request #22 by wilmoore (2012-02-09 18:29:19+00:00)
Title: Adds the following utility methods to simplexml.class.php

- matches: allows you to provide a pattern (preg) to match the current node against.
- starts_with: determines whether the current node starts with a given value.
- ends_with: determines whether the current node ends with a given value.

Simple additions; however, makes a lot of code that uses the SDK much more concise and fluent. For example, the is now possible:

$object->Key->ends_with('/');