avoid php [] to support 5.3