#4 Recognition of interrupted PHP-code flow

closed
nobody
None
5
2001-10-21
2001-05-22
Anonymous
No

I often use a construct similar to this:

<?php
if (isset ($as))
{
?>

.. output a lot of HTML code here

<?php
}
else
{
?>

.. output other HTML code here

<?php
}
?>

php-mode.el, 0.9.6, seems to get a little confused
with this. Perhaps

Discussion

  • Logged In: YES
    user_id=137402

    Thanks for your input.

    Since php-mode inherits the indenting from c-mode, to implement
    any different indenting logic would require creating a new major
    mode from scratch.

    I have no intention of doing this. :) Volunteers, of course,
    are welcome.

     
    • status: open --> closed