Added PHP expansions for debugging; disabled ] expansion (too buggy).