summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-15 21:20:34 +0000
committerZeev Suraski <zeev@php.net>1999-12-15 21:20:34 +0000
commitd8000684bf11283cfbb5465fb7d35c31d0cf1cca (patch)
treeaaaa9a828cd9e24ef701bf92cb5d8768d646e076 /php.ini-dist
parentced9cee10cf943568b487dc1204f95290b19de80 (diff)
downloadphp-git-d8000684bf11283cfbb5465fb7d35c31d0cf1cca.tar.gz
- Implement ability to turn off support for call-time pass by reference
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist12
1 files changed, 12 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 0bd1971476..9f906a38b3 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -44,6 +44,18 @@ output_buffering = Off ; Output buffering allows you to send header lines (inclu
; You can enable output buffering by in runtime by calling the output
; buffering functions, or enable output buffering for all files
; by setting this directive to On.
+allow_call_time_pass_reference = On ; whether to enable the ability to force arguments to be
+ ; passed by reference at function-call time. This method
+ ; is deprecated, and is likely to be unsupported in future
+ ; versions of PHP/Zend. The encouraged method of specifying
+ ; which arguments should be passed by reference is in the
+ ; function declaration. You're encouraged to try and
+ ; turn this option Off, and make sure your scripts work
+ ; properly with it, to ensure they will work with future
+ ; versions of the language (you will receive a warning
+ ; each time you use this feature, and the argument will
+ ; be passed by value instead of by reference).
+
; Safe Mode
safe_mode = Off
safe_mode_exec_dir =