## PHP mode

<?php $a = array('a' => 1, 'b' => 2, 3 => 'c'); echo "$a[a] ${a[3] /* } comment */} {$a[b]} \$a[a]"; function hello($who) { return "Hello $who!"; } ?> <p>The program says <?= hello("World") ?>.</p> <script> alert("And here is some JS code"); // also colored </script>

Simple HTML/PHP mode based on the C-like mode. Depends on XML, JavaScript, CSS, HTMLMixed, and C-like modes.

MIME types defined: `application/x-httpd-php` (HTML with PHP code), `text/x-php` (plain, non-wrapped PHP code).