iliaa Thu, 22 Oct 2009 19:39:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=289866
Log:
Fixed test
Changed paths:
U
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/import_request.phpt
U
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/import_request.phpt
U
php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt
Modified:
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/import_request.phpt
===================================================================
---
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/import_request.phpt
2009-10-22 19:38:34 UTC (rev 289865)
+++
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/import_request.phpt
2009-10-22 19:39:08 UTC (rev 289866)
@@ -32,24 +32,24 @@
NULL
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
-NULL
+bool(false)
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
-NULL
+bool(false)
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
Warning: import_request_variables(): Attempted GLOBALS variable overwrite in
%s on line %d
Warning: import_request_variables(): Numeric key detected - possible security
hazard in %s on line %d
-NULL
+bool(true)
Notice: Undefined variable: ap in %s on line %d
string(1) "1"
string(3) "heh"
string(1) "3"
NULL
-NULL
+bool(true)
Notice: Undefined variable: g_ap in %s on line %d
string(1) "1"
@@ -57,7 +57,7 @@
string(1) "3"
NULL
string(2) "hm"
-NULL
+bool(true)
string(1) "1"
string(3) "heh"
string(1) "3"
@@ -68,7 +68,7 @@
[0]=>
string(2) "ar"
}
-NULL
+bool(true)
Notice: Undefined variable: r_ap in %s on line %d
string(1) "1"
Modified:
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/import_request.phpt
===================================================================
---
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/import_request.phpt
2009-10-22 19:38:34 UTC (rev 289865)
+++
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/import_request.phpt
2009-10-22 19:39:08 UTC (rev 289866)
@@ -30,24 +30,24 @@
--EXPECTF--
Warning: import_request_variables() expects at least 1 parameter, 0 given in
%s on line %d
NULL
-NULL
+bool(false)
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
-NULL
+bool(false)
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
Warning: import_request_variables(): Attempted GLOBALS variable overwrite in
%s on line %d
Warning: import_request_variables(): Numeric key detected - possible security
hazard in %s on line %d
-NULL
+bool(true)
Notice: Undefined variable: ap in %s on line %d
string(1) "1"
string(3) "heh"
string(1) "3"
NULL
-NULL
+bool(true)
Notice: Undefined variable: g_ap in %s on line %d
string(1) "1"
@@ -55,7 +55,7 @@
string(1) "3"
NULL
string(2) "hm"
-NULL
+bool(true)
string(1) "1"
string(3) "heh"
string(1) "3"
@@ -66,7 +66,7 @@
[0]=>
string(2) "ar"
}
-NULL
+bool(true)
Notice: Undefined variable: r_ap in %s on line %d
string(1) "1"
Modified:
php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt
2009-10-22 19:38:34 UTC (rev 289865)
+++ php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt
2009-10-22 19:39:08 UTC (rev 289866)
@@ -28,24 +28,24 @@
--EXPECTF--
Warning: import_request_variables() expects at least 1 parameter, 0 given in
%s on line %d
NULL
-NULL
+bool(false)
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
-NULL
+bool(false)
Notice: import_request_variables(): No prefix specified - possible security
hazard in %s on line %d
Warning: import_request_variables(): Attempted GLOBALS variable overwrite in
%s on line %d
Warning: import_request_variables(): Numeric key detected - possible security
hazard in %s on line %d
-NULL
+bool(true)
Notice: Undefined variable: ap in %s on line %d
unicode(1) "1"
unicode(3) "heh"
unicode(1) "3"
NULL
-NULL
+bool(true)
Notice: Undefined variable: g_ap in %s on line %d
unicode(1) "1"
@@ -53,7 +53,7 @@
unicode(1) "3"
NULL
unicode(2) "hm"
-NULL
+bool(true)
unicode(1) "1"
unicode(3) "heh"
unicode(1) "3"
@@ -64,7 +64,7 @@
[0]=>
unicode(2) "ar"
}
-NULL
+bool(true)
Notice: Undefined variable: r_ap in %s on line %d
unicode(1) "1"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php