I have noticed that block folding behaves differently in 10.7 when using HTML bundle in PHP environment.
The code below behaves in 10.6.8 as it should, folding properly, but in 10.7 it has somehow begun to take notice of the "array(" and starting to mess up the rest of the folding.
<?php class dummy { private $var = array( "key" => "value" ); function function1() {
} function function2() { } } ?>