cvs: php4 /ext/session/tests 008.phpt
| From: | Sascha Schumann | Date: | Thu, 03 Oct 2002 06:41:25 +0000 |
| Subject: | cvs: php4 /ext/session/tests 008.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14439@lists.php.net to get a copy of this message | ||
sas Thu Oct 3 02:41:25 2002 EDT
Modified files:
/php4/ext/session/tests 008.phpt
Log:
Reenable E_WARNING and test session.bug_compat_warn in addition.
Index: php4/ext/session/tests/008.phpt
diff -u php4/ext/session/tests/008.phpt:1.1 php4/ext/session/tests/008.phpt:1.2
--- php4/ext/session/tests/008.phpt:1.1 Thu Oct 3 02:32:45 2002
+++ php4/ext/session/tests/008.phpt Thu Oct 3 02:41:25 2002
@@ -4,10 +4,11 @@
<?php include('skipif.inc'); ?>
--FILE--
<?php
-error_reporting(E_ALL & ~(E_NOTICE|E_WARNING));
+error_reporting(E_ALL & ~E_NOTICE);
ini_set("register.globals", 0);
ini_set("session.bug_compat_42", 1);
+ini_set("session.bug_compat_warn", 0);
ob_start();
session_id("abtest");
@@ -16,8 +17,8 @@
session_start();
session_destroy();
-session_id("abtest");
### Phase 2 $HTTP_SESSION_VARS["c"] does not contain any value
+session_id("abtest");
session_register("c");
var_dump($c);
unset($c);