Fix PrettyWhoopsHandler for php 5.3