UltraEdit will allow you to write and edit for HEX, HTML, PHP and other programming language. There are many advanced features that include syntax highlighting/coloring for many languages, as well as code folding, brace matching, hex editing, style builder and column/block editing, text formatting, alignment, and centering are also featured. It supports files sizes 4GB and larger.