Php compatibility check?

Does anyone know of a php compatibility checker?

Similar to http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/

It would be cool if there is hidden gem out there that could tell me the minimum required version of php to run my scripts ^_^.

Anyway if you know of something similar or other online syntax checkers please let me know.