Update Text.php

/e is deprecated, updating code to reflect better standard. Unit tests are passing with this update.