AnonSec Team
Server IP : 127.0.0.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586
User : GerbangSIPAD ( 0)
PHP Version : 5.6.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  C:/xampp8.1/php/tests/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : C:/xampp8.1/php/tests/sample_req6056.php
<?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');

        $array1 = array('blue'  => 1, 'red'  => 2, 'green'  => 3);
        $array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7);

        // PHP 5 >= 5.1.0RC1
        $diff = array_diff_key($array1, $array2);
    }
}

?>

AnonSec - 2021