bjori Mon Sep 18 16:12:13 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/shmop/tests 001.phpt
/php-src/ext/session/tests 008-php4.2.3.phpt
Log:
Fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/shmop/tests/001.phpt?r1=1.2&r2=1.2.4.1&diff_format=u
Index: php-src/ext/shmop/tests/001.phpt
diff -u php-src/ext/shmop/tests/001.phpt:1.2
php-src/ext/shmop/tests/001.phpt:1.2.4.1
--- php-src/ext/shmop/tests/001.phpt:1.2 Thu Dec 16 12:34:31 2004
+++ php-src/ext/shmop/tests/001.phpt Mon Sep 18 16:12:13 2006
@@ -84,7 +84,7 @@
data in memory is: test #1 of the shmop() extension
shm open for read only: ok
data in memory is: test #1 of the shmop() extension
-trying to write to a read only segment
+shmop_write(): trying to write to a read only segment
shm open for read only: ok
shm write test #1: ok
data in memory is: test #1 of the shmop() extensiontest #2 append data to
shared memory segment
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/008-php4.2.3.phpt?r1=1.7&r2=1.7.4.1&diff_format=u
Index: php-src/ext/session/tests/008-php4.2.3.phpt
diff -u php-src/ext/session/tests/008-php4.2.3.phpt:1.7
php-src/ext/session/tests/008-php4.2.3.phpt:1.7.4.1
--- php-src/ext/session/tests/008-php4.2.3.phpt:1.7 Mon Jul 4 13:09:14 2005
+++ php-src/ext/session/tests/008-php4.2.3.phpt Mon Sep 18 16:12:13 2006
@@ -58,7 +58,7 @@
?>
--EXPECTF--
NULL
-Your script possibly relies on a session side-effect which existed until PHP
4.2.3. Please be advised that the session extension does not consider global
variables as a source of data, unless register_globals is enabled. You can
disable this functionality and this warning by setting session.bug_compat_42 or
session.bug_compat_warn to off, respectively.
+session_write_close(): Your script possibly relies on a session side-effect
which existed until PHP 4.2.3. Please be advised that the session extension
does not consider global variables as a source of data, unless register_globals
is enabled. You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn to off, respectively.
array(1) {
["c"]=>
float(3.14)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php