pure php try