diff options
author | Jani Taskinen <jani@php.net> | 2008-03-05 15:37:48 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2008-03-05 15:37:48 +0000 |
commit | 33af2eb4dcc6dece9cf4b89b1d5fc67e7893c971 (patch) | |
tree | 6bd5b405884fa156efa72778155f43b1c7bf105c | |
parent | ab232458c7103590c1bffefefbd38737b045d0f4 (diff) | |
download | php-git-33af2eb4dcc6dece9cf4b89b1d5fc67e7893c971.tar.gz |
- Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :)
7 files changed, 21 insertions, 7 deletions
diff --git a/ext/standard/tests/array/array_key_exists_variation4.phpt b/ext/standard/tests/array/array_key_exists_variation4.phpt index 349396b401..edc39269a5 100644 --- a/ext/standard/tests/array/array_key_exists_variation4.phpt +++ b/ext/standard/tests/array/array_key_exists_variation4.phpt @@ -1,5 +1,7 @@ --TEST-- Test array_key_exists() function : usage variations - referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : bool array_key_exists(mixed $key, array $search) @@ -41,4 +43,4 @@ bool(true) -- Both arguments are referenced variables -- bool(true) -Done
\ No newline at end of file +Done diff --git a/ext/standard/tests/array/array_merge_variation9.phpt b/ext/standard/tests/array/array_merge_variation9.phpt index 34ab3e8218..e42e292827 100644 --- a/ext/standard/tests/array/array_merge_variation9.phpt +++ b/ext/standard/tests/array/array_merge_variation9.phpt @@ -1,5 +1,7 @@ --TEST-- Test array_merge() function : usage variations - referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) @@ -109,4 +111,4 @@ array(3) { ["key3"]=> string(4) "val3" } -Done
\ No newline at end of file +Done diff --git a/ext/standard/tests/array/array_push_variation4.phpt b/ext/standard/tests/array/array_push_variation4.phpt index 5bb20f32c6..ed339204f4 100644 --- a/ext/standard/tests/array/array_push_variation4.phpt +++ b/ext/standard/tests/array/array_push_variation4.phpt @@ -1,5 +1,7 @@ --TEST-- Test array_push() function : usage variations - referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) @@ -126,4 +128,4 @@ array(10) { } } } -Done
\ No newline at end of file +Done diff --git a/ext/standard/tests/array/array_slice_variation9.phpt b/ext/standard/tests/array/array_slice_variation9.phpt index 1961a4046c..030d4bd73a 100644 --- a/ext/standard/tests/array/array_slice_variation9.phpt +++ b/ext/standard/tests/array/array_slice_variation9.phpt @@ -1,5 +1,7 @@ --TEST-- Test array_slice() function : usage variations - referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) @@ -70,4 +72,4 @@ array(3) { [2]=> int(3) } -Done
\ No newline at end of file +Done diff --git a/ext/standard/tests/array/array_values_variation6.phpt b/ext/standard/tests/array/array_values_variation6.phpt index 8d2d8631a5..e565150760 100644 --- a/ext/standard/tests/array/array_values_variation6.phpt +++ b/ext/standard/tests/array/array_values_variation6.phpt @@ -1,5 +1,7 @@ --TEST-- Test array_values() function : usage variations - Referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : array array_values(array $input) @@ -65,4 +67,4 @@ array(3) { [2]=> int(3) } -Done
\ No newline at end of file +Done diff --git a/ext/standard/tests/array/each_variation4.phpt b/ext/standard/tests/array/each_variation4.phpt index 16b6096396..6ac57a736e 100644 --- a/ext/standard/tests/array/each_variation4.phpt +++ b/ext/standard/tests/array/each_variation4.phpt @@ -1,5 +1,7 @@ --TEST-- Test each() function : usage variations - Referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : array each(array $arr) @@ -85,4 +87,4 @@ array(3) { [2]=> string(3) "two" } -Done
\ No newline at end of file +Done diff --git a/ext/standard/tests/array/rsort_variation4.phpt b/ext/standard/tests/array/rsort_variation4.phpt index abbed35bad..4cab1a9334 100644 --- a/ext/standard/tests/array/rsort_variation4.phpt +++ b/ext/standard/tests/array/rsort_variation4.phpt @@ -1,5 +1,7 @@ --TEST-- Test rsort() function : usage variations - referenced variables +--INI-- +allow_call_time_pass_reference=on --FILE-- <?php /* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) @@ -75,4 +77,4 @@ array(3) { [2]=> &int(33) } -Done
\ No newline at end of file +Done |