Debug: was using a php 5.5+ feature - replaced with legacy one