This applies across the board, for what it's worth. The Ruby and PHP implementations have identical external APIs, but are implemented idiomatically for their respective languages.