#25 Indentation broken in 0.16.4

closed-fixed
nobody
Editor (71)
5
2002-09-22
2002-09-22
David Smith
No

As of 0.16.4, I'm seeing the following indentation
schemes in PHP:

<?php

foreach($x as $y)
echo $y;

for($x=0; $x<100; $x++ )
echo $x;

if( $bool == true )
echo "yes";
elseif
echo "no"

if( $something )
{
do something
}

?>

To reproduce the bug, enter the foreach() statement and
press enter. Notice that the indentation of the
subsequent line is much too far. The same is truf of
other constructs but not the case for elseif.

Discussion

  • Peter Graves

    Peter Graves - 2002-09-22

    Logged In: YES
    user_id=558172

    Fixed in this morning's development snapshot.

     
  • Peter Graves

    Peter Graves - 2002-09-22
    • status: open --> closed-fixed
     

Log in to post a comment.