From: Jani Taskinen Date: Wed, 5 Mar 2008 15:37:48 +0000 (+0000) Subject: - Fix tests (allow_call_time_pass_reference might be off for properly configured... X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~694 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33af2eb4dcc6dece9cf4b89b1d5fc67e7893c971;p=php - Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :) --- 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-- 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-- 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-- 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-- 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-- &int(33) } -Done \ No newline at end of file +Done