otxt Reference Implementation in PHP