felipe Sat Feb 23 19:17:41 2008 UTC
Modified files:
/php-src/ext/standard/tests/array
array_change_key_case_variation7.phpt
array_key_exists_variation4.phpt
array_merge_variation9.phpt
array_push_variation4.phpt
array_slice_variation9.phpt
array_values_variation6.phpt
bug33940.phpt
each_variation4.phpt
rsort_variation4.phpt
Log:
Fixed tests (new error message - E_DEPRECATED)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_change_key_case_variation7.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_change_key_case_variation7.phpt
diff -u
php-src/ext/standard/tests/array/array_change_key_case_variation7.phpt:1.2
php-src/ext/standard/tests/array/array_change_key_case_variation7.phpt:1.3
--- php-src/ext/standard/tests/array/array_change_key_case_variation7.phpt:1.2
Tue Feb 12 17:45:47 2008
+++ php-src/ext/standard/tests/array/array_change_key_case_variation7.phpt
Sat Feb 23 19:17:41 2008
@@ -36,7 +36,7 @@
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_change_key_case() : usage variations ***
-- $input argument is a reference to array --
@@ -89,7 +89,7 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_change_key_case() : usage variations ***
-- $input argument is a reference to array --
@@ -140,4 +140,4 @@
[u"ABC"]=>
unicode(3) "xyz"
}
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_key_exists_variation4.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/array_key_exists_variation4.phpt
diff -u php-src/ext/standard/tests/array/array_key_exists_variation4.phpt:1.1
php-src/ext/standard/tests/array/array_key_exists_variation4.phpt:1.2
--- php-src/ext/standard/tests/array/array_key_exists_variation4.phpt:1.1
Wed Feb 13 13:12:06 2008
+++ php-src/ext/standard/tests/array/array_key_exists_variation4.phpt Sat Feb
23 19:17:41 2008
@@ -31,11 +31,11 @@
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_key_exists() : usage variations ***
-- $search is a reference to $array --
@@ -48,11 +48,11 @@
bool(true)
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_key_exists() : usage variations ***
-- $search is a reference to $array --
@@ -63,4 +63,4 @@
-- Both arguments are referenced variables --
bool(true)
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_merge_variation9.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/array_merge_variation9.phpt
diff -u php-src/ext/standard/tests/array/array_merge_variation9.phpt:1.1
php-src/ext/standard/tests/array/array_merge_variation9.phpt:1.2
--- php-src/ext/standard/tests/array/array_merge_variation9.phpt:1.1 Wed Feb
13 14:19:37 2008
+++ php-src/ext/standard/tests/array/array_merge_variation9.phpt Sat Feb
23 19:17:41 2008
@@ -38,7 +38,7 @@
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_merge() : usage variations ***
-- Merge an array made up of referenced variables to an assoc. array --
@@ -112,7 +112,7 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_merge() : usage variations ***
-- Merge an array made up of referenced variables to an assoc. array --
@@ -184,4 +184,4 @@
[u"key3"]=>
unicode(4) "val3"
}
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_push_variation4.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_push_variation4.phpt
diff -u php-src/ext/standard/tests/array/array_push_variation4.phpt:1.2
php-src/ext/standard/tests/array/array_push_variation4.phpt:1.3
--- php-src/ext/standard/tests/array/array_push_variation4.phpt:1.2 Wed Feb
13 16:14:02 2008
+++ php-src/ext/standard/tests/array/array_push_variation4.phpt Sat Feb 23
19:17:41 2008
@@ -36,19 +36,19 @@
echo "Done";
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_push() : usage variations ***
-- Pass array_push referenced varialbes as $var arguments --
@@ -142,19 +142,19 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_push() : usage variations ***
-- Pass array_push referenced varialbes as $var arguments --
@@ -246,4 +246,4 @@
}
}
}
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_slice_variation9.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/array_slice_variation9.phpt
diff -u php-src/ext/standard/tests/array/array_slice_variation9.phpt:1.1
php-src/ext/standard/tests/array/array_slice_variation9.phpt:1.2
--- php-src/ext/standard/tests/array/array_slice_variation9.phpt:1.1 Thu Feb
14 11:13:56 2008
+++ php-src/ext/standard/tests/array/array_slice_variation9.phpt Sat Feb
23 19:17:41 2008
@@ -37,7 +37,7 @@
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_slice() : usage variations ***
-- Array of referenced variables ($preserve_keys = default) --
@@ -73,7 +73,7 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_slice() : usage variations ***
-- Array of referenced variables ($preserve_keys = default) --
@@ -107,4 +107,4 @@
[2]=>
int(3)
}
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_values_variation6.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/array_values_variation6.phpt
diff -u php-src/ext/standard/tests/array/array_values_variation6.phpt:1.1
php-src/ext/standard/tests/array/array_values_variation6.phpt:1.2
--- php-src/ext/standard/tests/array/array_values_variation6.phpt:1.1 Thu Feb
14 14:20:51 2008
+++ php-src/ext/standard/tests/array/array_values_variation6.phpt Sat Feb
23 19:17:41 2008
@@ -35,7 +35,7 @@
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_values() : usage variations ***
-- $input is an array made up of referenced variables: --
@@ -68,7 +68,7 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing array_values() : usage variations ***
-- $input is an array made up of referenced variables: --
@@ -99,4 +99,4 @@
[2]=>
int(3)
}
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/bug33940.phpt?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/standard/tests/array/bug33940.phpt
diff -u php-src/ext/standard/tests/array/bug33940.phpt:1.6
php-src/ext/standard/tests/array/bug33940.phpt:1.7
--- php-src/ext/standard/tests/array/bug33940.phpt:1.6 Mon May 7 17:23:04 2007
+++ php-src/ext/standard/tests/array/bug33940.phpt Sat Feb 23 19:17:41 2008
@@ -1,7 +1,7 @@
--TEST--
Bug #33940 (array_map() fails to pass by reference when called recursively)
--INI--
-error_reporting=4095
+error_reporting=16383
--FILE--
<?php
function ref_map(&$item) {
@@ -24,9 +24,9 @@
echo 'Return: '; print_r($ret);
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in
%sbug33940.php on line 7
+Deprecated: Call-time pass-by-reference has been deprecated in %sbug33940.php
on line 7
-Strict Standards: Call-time pass-by-reference has been deprecated in
%sbug33940.php on line 17
+Deprecated: Call-time pass-by-reference has been deprecated in %sbug33940.php
on line 17
Array: Array
(
[0] => Array
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/each_variation4.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/each_variation4.phpt
diff -u php-src/ext/standard/tests/array/each_variation4.phpt:1.2
php-src/ext/standard/tests/array/each_variation4.phpt:1.3
--- php-src/ext/standard/tests/array/each_variation4.phpt:1.2 Tue Feb 19
17:03:11 2008
+++ php-src/ext/standard/tests/array/each_variation4.phpt Sat Feb 23
19:17:41 2008
@@ -39,7 +39,7 @@
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing each() : usage variations ***
-- Array made up of referenced variables: --
@@ -88,7 +88,7 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing each() : usage variations ***
-- Array made up of referenced variables: --
@@ -135,4 +135,4 @@
[2]=>
unicode(3) "two"
}
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/rsort_variation4.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/rsort_variation4.phpt
diff -u php-src/ext/standard/tests/array/rsort_variation4.phpt:1.1
php-src/ext/standard/tests/array/rsort_variation4.phpt:1.2
--- php-src/ext/standard/tests/array/rsort_variation4.phpt:1.1 Fri Feb 15
16:04:35 2008
+++ php-src/ext/standard/tests/array/rsort_variation4.phpt Sat Feb 23
19:17:41 2008
@@ -41,7 +41,7 @@
echo "Done";
?>
--EXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing rsort() : variation ***
-- 'flag' value is defualt --
@@ -78,7 +78,7 @@
}
Done
--UEXPECTF--
-Strict Standards: Call-time pass-by-reference has been deprecated in %s on
line %d
+Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d
*** Testing rsort() : variation ***
-- 'flag' value is defualt --
@@ -113,4 +113,4 @@
[2]=>
&int(33)
}
-Done
\ No newline at end of file
+Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php