seeming php 5.3 bug with function/array idx