helly Tue Oct 29 09:03:38 2002 EDT Modified files: /php4/ext/session/tests 008-php4.2.3.phpt Log: -Only accept one single message which is expected. -Move error related settings to --INI-- section #Now see we can do it correct Index: php4/ext/session/tests/008-php4.2.3.phpt diff -u php4/ext/session/tests/008-php4.2.3.phpt:1.3 php4/ext/session/tests/008-php4.2.3.phpt:1.4 --- php4/ext/session/tests/008-php4.2.3.phpt:1.3 Sun Oct 27 18:56:08 2002 +++ php4/ext/session/tests/008-php4.2.3.phpt Tue Oct 29 09:03:37 2002 @@ -13,10 +13,10 @@ track_errors=1 log_errors=0 html_errors=0 +display_errors=1 +error_reporting=2039; --FILE-- <?php -error_reporting(E_ALL & ~E_NOTICE); - session_id("abtest"); ### Phase 1 cleanup @@ -29,7 +29,8 @@ var_dump($c); unset($c); $c = 3.14; -session_write_close(); +@session_write_close(); // this generates an E_WARNING which will be printed +// by $php_errormsg so we can use "@" here. ANY further message IS an error. echo $php_errormsg."\n"; unset($HTTP_SESSION_VARS); unset($c);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php