]> granicus.if.org Git - php/commitdiff
these tow fail with "Constant sid already defined" i
authorHartmut Holzgraefe <hholzgra@php.net>
Sun, 22 Jul 2001 21:46:39 +0000 (21:46 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Sun, 22 Jul 2001 21:46:39 +0000 (21:46 +0000)
too if E_NOTICE error reporting is active

ext/session/tests/005.phpt
ext/session/tests/006.phpt

index 38e660b100ef4abe454742c26ce4d53e52b95809..34b0e39842a9efc51aa53650674101d60d1c094a 100644 (file)
@@ -3,6 +3,8 @@ Custom save handler, multiple session_start()s, complex data structure test.
 --FILE--
 <?php
 
+error_reporting(E_ALL & ~E_NOTICE);
+
 class handler {
        var $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}';
     function open($save_path, $session_name)
index 91f1cb949daa4a283b63946d7f3719cfd3f1b980..649e42c85872235ec646a6979b1b45c09a59e3f7 100644 (file)
@@ -2,6 +2,7 @@
 References between variables in sessions
 --FILE--
 <?php
+error_reporting(E_ALL & ~E_NOTICE);
 ob_start();
 session_id("test");
 session_start();