diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2001-07-22 21:46:39 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2001-07-22 21:46:39 +0000 |
commit | d3fdc92ff5c89f33aedf6b97a8db4ccce71690ac (patch) | |
tree | 644282a56278cb827605b5a9b3182ced6cab53bf /ext/session | |
parent | 8492ece5f6d5fd734684a810eb63105abe8c09d8 (diff) | |
download | php-git-d3fdc92ff5c89f33aedf6b97a8db4ccce71690ac.tar.gz |
these tow fail with "Constant sid already defined" i
too if E_NOTICE error reporting is active
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/tests/005.phpt | 2 | ||||
-rw-r--r-- | ext/session/tests/006.phpt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ext/session/tests/005.phpt b/ext/session/tests/005.phpt index 38e660b100..34b0e39842 100644 --- a/ext/session/tests/005.phpt +++ b/ext/session/tests/005.phpt @@ -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) diff --git a/ext/session/tests/006.phpt b/ext/session/tests/006.phpt index 91f1cb949d..649e42c858 100644 --- a/ext/session/tests/006.phpt +++ b/ext/session/tests/006.phpt @@ -2,6 +2,7 @@ References between variables in sessions --FILE-- <?php +error_reporting(E_ALL & ~E_NOTICE); ob_start(); session_id("test"); session_start(); |