fix undefined var in modules.pecl
Merge pull request #5712 from hulu/pecl-fix

fix undefined var in modules.pecl