Is PHP code folding supposed to work OOTB?

php

#1

https://ace.c9.io/#nav=about lists feature “Code folding” with no exceptions, but it is not workign for me. E.g. if I press F2 at <?php , what collapses is the HTML bdy, not the PHP block.