[php] fix line 574: [: ph_is_installed: unary operator expected