I have recently switched to using Netbeans IDE 8.0 for a PHP project and would like to know if it's possible to either:-
Many thanks in anticipation.
Phill
Apparently Netbeans cannot remember the state (see https://netbeans.org/bugzilla/show_bug.cgi?id=188573).
Regarding your second question have a look at: Tools / Options / Folding.