The Ruby standard library ported to PHP