add php folding to vm