Professional Documents
Culture Documents
php
/**
* Request #6056 Add support for reporting max PHP version. Sample code.
*
* PHP versions 4 and 5
*
* @category PHP
* @package PHP_CompatInfo
* @author Laurent Laville <pear@laurent-laville.org>
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: sample_req6056.php,v 1.4 2007/11/15 18:23:40 farell Exp $
* @link http://pear.php.net/bugs/bug.php?id=6056
* @ignore
*/
class Request6056
{
/**
* Sample code to check max php version
*
* @return void
*/
function testMaxVersion()
{
// PHP 5 <= 5.0.4
$res = php_check_syntax('bug6581.php');
?>