felipe Tue May 5 18:19:16 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/imap/tests imap_mutf7_to_utf8.phpt
imap_utf8_to_mutf7_basic.phpt
/php-src/ext/session/tests 001.phpt 003.phpt 004.phpt 005.phpt
006.phpt 007.phpt 008-php4.2.3.phpt
009.phpt 012.phpt 013.phpt 014.phpt
019.phpt
/php-src/ext/standard/tests/general_functions putenv_error1.phpt
putenv_error2.phpt
/php-src/ext/standard/tests/misc syslog_vars_variation1.phpt
/php-src/ext/standard/tests/network
define_syslog_variables_variation.phpt
Log:
- Fixed tests
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/tests/imap_mutf7_to_utf8.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/imap/tests/imap_mutf7_to_utf8.phpt
diff -u php-src/ext/imap/tests/imap_mutf7_to_utf8.phpt:1.1.2.2
php-src/ext/imap/tests/imap_mutf7_to_utf8.phpt:1.1.2.3
--- php-src/ext/imap/tests/imap_mutf7_to_utf8.phpt:1.1.2.2 Sat May 2
17:59:46 2009
+++ php-src/ext/imap/tests/imap_mutf7_to_utf8.phpt Tue May 5 18:19:16 2009
@@ -2,6 +2,7 @@
imap_mutf7_to_utf8
--SKIPIF--
<?php if (!extension_loaded("imap")) print "skip"; ?>
+<?php if (!function_exists("imap_mutf7_to_utf8")) print "skip"; ?>
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/tests/imap_utf8_to_mutf7_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/imap/tests/imap_utf8_to_mutf7_basic.phpt
diff -u php-src/ext/imap/tests/imap_utf8_to_mutf7_basic.phpt:1.1.2.2
php-src/ext/imap/tests/imap_utf8_to_mutf7_basic.phpt:1.1.2.3
--- php-src/ext/imap/tests/imap_utf8_to_mutf7_basic.phpt:1.1.2.2 Sat May
2 17:59:46 2009
+++ php-src/ext/imap/tests/imap_utf8_to_mutf7_basic.phpt Tue May 5
18:19:16 2009
@@ -2,6 +2,7 @@
imap_utf8_to_mutf7
--SKIPIF--
<?php if (!extension_loaded("imap")) print "skip"; ?>
+<?php if (!function_exists("imap_utf8_to_mutf7")) print "skip"; ?>
--FILE--
<?php
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/001.phpt?r1=1.12.6.2&r2=1.12.6.3&diff_format=u
Index: php-src/ext/session/tests/001.phpt
diff -u php-src/ext/session/tests/001.phpt:1.12.6.2
php-src/ext/session/tests/001.phpt:1.12.6.3
--- php-src/ext/session/tests/001.phpt:1.12.6.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/001.phpt Tue May 5 18:19:16 2009
@@ -31,8 +31,10 @@
session_destroy();
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
Deprecated: Function session_register() is deprecated in %s on line %d
Deprecated: Function session_register() is deprecated in %s on line %d
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}}
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/003.phpt?r1=1.14.6.1&r2=1.14.6.2&diff_format=u
Index: php-src/ext/session/tests/003.phpt
diff -u php-src/ext/session/tests/003.phpt:1.14.6.1
php-src/ext/session/tests/003.phpt:1.14.6.2
--- php-src/ext/session/tests/003.phpt:1.14.6.1 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/003.phpt Tue May 5 18:19:16 2009
@@ -28,6 +28,7 @@
var_dump($arr);
session_destroy();
--EXPECT--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
object(foo)#1 (2) {
["bar"]=>
string(2) "ok"
@@ -43,4 +44,4 @@
int(2)
}
}
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/004.phpt?r1=1.16.6.1.2.1&r2=1.16.6.1.2.2&diff_format=u
Index: php-src/ext/session/tests/004.phpt
diff -u php-src/ext/session/tests/004.phpt:1.16.6.1.2.1
php-src/ext/session/tests/004.phpt:1.16.6.1.2.2
--- php-src/ext/session/tests/004.phpt:1.16.6.1.2.1 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/004.phpt Tue May 5 18:19:16 2009
@@ -73,6 +73,7 @@
session_destroy();
?>
--EXPECT--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
OPEN: PHPSESSID
READ: abtest
object(foo)#2 (2) {
@@ -109,4 +110,3 @@
}
}
DESTROY: abtest
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/005.phpt?r1=1.14.8.2&r2=1.14.8.3&diff_format=u
Index: php-src/ext/session/tests/005.phpt
diff -u php-src/ext/session/tests/005.phpt:1.14.8.2
php-src/ext/session/tests/005.phpt:1.14.8.3
--- php-src/ext/session/tests/005.phpt:1.14.8.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/005.phpt Tue May 5 18:19:16 2009
@@ -85,6 +85,7 @@
session_destroy();
?>
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
OPEN: PHPSESSID
READ: abtest
object(foo)#2 (2) {
@@ -146,4 +147,4 @@
int(123)
DESTROY: abtest
CLOSE
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/006.phpt?r1=1.14.6.2&r2=1.14.6.3&diff_format=u
Index: php-src/ext/session/tests/006.phpt
diff -u php-src/ext/session/tests/006.phpt:1.14.6.2
php-src/ext/session/tests/006.phpt:1.14.6.3
--- php-src/ext/session/tests/006.phpt:1.14.6.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/006.phpt Tue May 5 18:19:16 2009
@@ -45,6 +45,7 @@
var_dump($a,$b);
?>
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
original values:
object(a)#%d (1) {
["test"]=>
@@ -77,4 +78,4 @@
string(5) "hallo"
}
}
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/007.phpt?r1=1.9.4.1.2.2&r2=1.9.4.1.2.3&diff_format=u
Index: php-src/ext/session/tests/007.phpt
diff -u php-src/ext/session/tests/007.phpt:1.9.4.1.2.2
php-src/ext/session/tests/007.phpt:1.9.4.1.2.3
--- php-src/ext/session/tests/007.phpt:1.9.4.1.2.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/007.phpt Tue May 5 18:19:16 2009
@@ -50,6 +50,9 @@
session_destroy();
?>
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
Deprecated: Function session_register() is deprecated in %s on line %d
float(3.14)
array(1) {
@@ -61,5 +64,3 @@
["c"]=>
&float(3.14)
}
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
-PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/008-php4.2.3.phpt?r1=1.7.4.2.2.2&r2=1.7.4.2.2.3&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.4.2.2.2
php-src/ext/session/tests/008-php4.2.3.phpt:1.7.4.2.2.3
--- php-src/ext/session/tests/008-php4.2.3.phpt:1.7.4.2.2.2 Mon May 4
21:18:21 2009
+++ php-src/ext/session/tests/008-php4.2.3.phpt Tue May 5 18:19:16 2009
@@ -58,6 +58,7 @@
session_destroy();
?>
--EXPECTF--
+PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0
NULL
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) {
@@ -69,4 +70,4 @@
["c"]=>
float(3.14)
}
-PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/009.phpt?r1=1.5.6.1&r2=1.5.6.2&diff_format=u
Index: php-src/ext/session/tests/009.phpt
diff -u php-src/ext/session/tests/009.phpt:1.5.6.1
php-src/ext/session/tests/009.phpt:1.5.6.2
--- php-src/ext/session/tests/009.phpt:1.5.6.1 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/009.phpt Tue May 5 18:19:16 2009
@@ -43,6 +43,7 @@
session_destroy();
?>
--EXPECT--
+PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0
array(0) {
}
array(1) {
@@ -57,4 +58,4 @@
}
array(0) {
}
-PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/012.phpt?r1=1.4.6.2&r2=1.4.6.3&diff_format=u
Index: php-src/ext/session/tests/012.phpt
diff -u php-src/ext/session/tests/012.phpt:1.4.6.2
php-src/ext/session/tests/012.phpt:1.4.6.3
--- php-src/ext/session/tests/012.phpt:1.4.6.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/012.phpt Tue May 5 18:19:16 2009
@@ -32,6 +32,7 @@
print "I live\n";
?>
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
Deprecated: Function session_register() is deprecated in %s on line %d
I live
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/013.phpt?r1=1.4.6.1&r2=1.4.6.2&diff_format=u
Index: php-src/ext/session/tests/013.phpt
diff -u php-src/ext/session/tests/013.phpt:1.4.6.1
php-src/ext/session/tests/013.phpt:1.4.6.2
--- php-src/ext/session/tests/013.phpt:1.4.6.1 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/013.phpt Tue May 5 18:19:16 2009
@@ -24,5 +24,5 @@
print "I live\n";
?>
--EXPECT--
-I live
PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+I live
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/014.phpt?r1=1.7.6.2&r2=1.7.6.3&diff_format=u
Index: php-src/ext/session/tests/014.phpt
diff -u php-src/ext/session/tests/014.phpt:1.7.6.2
php-src/ext/session/tests/014.phpt:1.7.6.3
--- php-src/ext/session/tests/014.phpt:1.7.6.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/014.phpt Tue May 5 18:19:16 2009
@@ -33,6 +33,7 @@
session_destroy();
?>
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
<a href="/link?PHPSESSID=abtest">
Warning: ini_set(): A session is active. You cannot change the session
module's ini settings at this time in %s on line %d
@@ -40,4 +41,3 @@
Warning: ini_set(): A session is active. You cannot change the session
module's ini settings at this time in %s on line %d
<a href="/link?PHPSESSID=abtest">
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/019.phpt?r1=1.10.6.2&r2=1.10.6.3&diff_format=u
Index: php-src/ext/session/tests/019.phpt
diff -u php-src/ext/session/tests/019.phpt:1.10.6.2
php-src/ext/session/tests/019.phpt:1.10.6.3
--- php-src/ext/session/tests/019.phpt:1.10.6.2 Mon May 4 21:18:21 2009
+++ php-src/ext/session/tests/019.phpt Tue May 5 18:19:16 2009
@@ -47,6 +47,8 @@
session_destroy();
?>
--EXPECTF--
+PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
Deprecated: Function session_register() is deprecated in %s on line %d
array(2) {
["o1"]=>
@@ -72,4 +74,4 @@
int(44)
}
}
-PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/putenv_error1.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/general_functions/putenv_error1.phpt
diff -u php-src/ext/standard/tests/general_functions/putenv_error1.phpt:1.1.2.2
php-src/ext/standard/tests/general_functions/putenv_error1.phpt:1.1.2.3
--- php-src/ext/standard/tests/general_functions/putenv_error1.phpt:1.1.2.2
Mon May 4 21:18:21 2009
+++ php-src/ext/standard/tests/general_functions/putenv_error1.phpt Tue May
5 18:19:16 2009
@@ -16,10 +16,11 @@
?>
==DONE==
--EXPECTF--
+PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in
Unknown on line 0
+
Warning: putenv(): Safe Mode warning: Cannot set environment variable 'FOO' -
it's not in the allowed list in %s on line %d
Warning: putenv(): Safe Mode warning: Cannot set environment variable 'BAZ' -
it's not in the allowed list in %s on line %d
it worked
it worked
==DONE==
-PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in
Unknown on line 0
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/putenv_error2.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/general_functions/putenv_error2.phpt
diff -u php-src/ext/standard/tests/general_functions/putenv_error2.phpt:1.1.2.2
php-src/ext/standard/tests/general_functions/putenv_error2.phpt:1.1.2.3
--- php-src/ext/standard/tests/general_functions/putenv_error2.phpt:1.1.2.2
Mon May 4 21:18:21 2009
+++ php-src/ext/standard/tests/general_functions/putenv_error2.phpt Tue May
5 18:19:16 2009
@@ -12,8 +12,9 @@
?>
==DONE==
--EXPECTF--
+PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in
Unknown on line 0
+
Warning: putenv(): Safe Mode warning: Cannot override protected environment
variable 'FOO' in %s on line %d
Warning: putenv(): Safe Mode warning: Cannot override protected environment
variable 'BAZ' in %s on line %d
==DONE==
-PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in
Unknown on line 0
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/misc/syslog_vars_variation1.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/misc/syslog_vars_variation1.phpt
diff -u php-src/ext/standard/tests/misc/syslog_vars_variation1.phpt:1.1.2.2
php-src/ext/standard/tests/misc/syslog_vars_variation1.phpt:1.1.2.3
--- php-src/ext/standard/tests/misc/syslog_vars_variation1.phpt:1.1.2.2 Mon May
4 21:18:21 2009
+++ php-src/ext/standard/tests/misc/syslog_vars_variation1.phpt Tue May 5
18:19:16 2009
@@ -7,5 +7,5 @@
var_dump(isset($LOG_ERR));
?>
--EXPECTF--
-bool(true)
PHP Warning: Directive 'define_syslog_variables' is deprecated in PHP 5.3 and
greater in Unknown on line 0
+bool(true)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/network/define_syslog_variables_variation.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/network/define_syslog_variables_variation.phpt
diff -u
php-src/ext/standard/tests/network/define_syslog_variables_variation.phpt:1.1.2.1
php-src/ext/standard/tests/network/define_syslog_variables_variation.phpt:1.1.2.2
---
php-src/ext/standard/tests/network/define_syslog_variables_variation.phpt:1.1.2.1
Fri Jan 23 15:34:19 2009
+++ php-src/ext/standard/tests/network/define_syslog_variables_variation.phpt
Tue May 5 18:19:16 2009
@@ -91,6 +91,7 @@
?>
===DONE===
--EXPECT--
+PHP Warning: Directive 'define_syslog_variables' is deprecated in PHP 5.3 and
greater in Unknown on line 0
*** Testing define_syslog_variables() : variation ***
PASSED
===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php