<?php
/* Get the Compatibility info for a single file */
require_once 'PHP/CompatInfo.php';
$info = new PHP_CompatInfo;
$file = 'D:/php/pear/PEAR_PackageUpdate/PackageUpdate.php';
$options = array(
'debug' => true,
'ignore_functions' => array('debug_backtrace')
);
$res = $info->parseFile($file, $options);
echo '<pre>';
var_dump($res);
echo '</pre>';
?>