Annotation of embedaddon/php/Zend/tests/unset_cv05.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: unset() CV 5 (indirect unset() of global variable in session_start())
        !             3: --INI--
        !             4: register_long_arrays=1
        !             5: session.auto_start=0
        !             6: session.save_handler=files
        !             7: --SKIPIF--
        !             8: <?php 
        !             9: 
        !            10: include(dirname(__FILE__).'/../../ext/session/tests/skipif.inc'); 
        !            11: 
        !            12: ?>
        !            13: --FILE--
        !            14: <?php
        !            15: $HTTP_SESSION_VARS = "ok\n";
        !            16: echo $HTTP_SESSION_VARS;
        !            17: session_start();
        !            18: echo $HTTP_SESSION_VARS;
        !            19: echo "\nok\n";
        !            20: ?>
        !            21: --EXPECTF--
        !            22: Deprecated: Directive 'register_long_arrays' is deprecated in PHP %d.%d and greater in Unknown on line 0
        !            23: ok
        !            24: 
        !            25: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at %sunset_cv05.php on line %d
        !            26: 
        !            27: Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at %sunset_cv05.php:%d) in %sunset_cv05.php on line %d
        !            28: Array
        !            29: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>