Support struct declaration folding in C

Split PHP folding into its own file