The following examples shows just the evaluation of form data. Example #1 Evaluating a FDF document.
php.net