STDIN constant not working in test enviro, switching to php://input