Corrected square brackets error for php 5.3 in spec