From Bare Bones Software:
BBEdit is a high-performance HTML and text editor for the Macintosh. It is designed and crafted for the editing, searching, transformation, and manipulation of text. BBEdit provides an array of general-purpose features which are useful for a wide variety of tasks, and includes many features which have been specifically developed in response to the needs of Web authors and software developers.
What's new in this version:
Multi-line PHP arrays now get fold indicators when appropriate.
PHP function return type hints will no longer confuse the
Fixed a bug in which errors returned by the Unix script invoked
from a "Run Unix Script" text factory action (whew) would usually
crash the application.
See all new features »
Worked around a crash which would occur when starting up after
an OS update or reinstall damaged certain system-wide components.