This procedure describes how to rename a PHP element and ensure that all references to that element are updated.
All PHP elements can be renamed and refactored from PHP Explorer view. The following is a list of applicable PHP elements:
Ensure that you save any changes to the file before applying the refactoring feature.
Elements can either be renamed from within the editor itself if the in-place refactoring feature is activated (will not display a preview of changes) or from the Rename Element dialog.
To rename an element within the editor:

The element will be renamed and all instances where that element is referenced will be updated to reflect the changes.
To rename an element through the Refactor dialog:

to scroll through all possible changes.
- Scroll through changes to be applied within the element selected in the top pane.
- Next / Previous Change scrolling arrows
- Scroll through all changes to be applied. If you unmarked changes in the top pane, these will not be displayed when using these arrows.The element will be renamed and all instances where that element is referenced will be updated to reflect the changes.