We seem to have a split opinion on what the production INI value for
allow_call_time_pass_reference should be.
As I understand it, this does not enable or disable the ability to pass
references at call time. It only enables or disables PHP's warnings about
this behavior.
I currently have it set to On because I feel a production server should not
be issuing deprecation type warnings, that is definitely a function for
development servers. But PHP and these INIs belong to us all and I feel the
opinion of the community majority should make this decision. So lets have a
vote.
allow_call_time_pass_reference = On (Suppress Warnings)
or
allow_call_time_pass_reference = Off (Issue Warnings)
Eric Lee Stewart
+1 Off (Issue warnings)
We seem to have a split opinion on what the production INI value for
allow_call_time_pass_reference should be.As I understand it, this does not enable or disable the ability to
pass
references at call time. It only enables or disables PHP's warnings
about
this behavior.I currently have it set to On because I feel a production server
should not
be issuing deprecation type warnings, that is definitely a function
for
development servers. But PHP and these INIs belong to us all and I
feel the
opinion of the community majority should make this decision. So lets
have a
vote.allow_call_time_pass_reference = On (Suppress Warnings)
or
allow_call_time_pass_reference = Off (Issue Warnings)
Eric Lee Stewart
allow_call_time_pass_reference = Off (Issue Warnings)
+1
Regards
Marco
hi Eric,
allow_call_time_pass_reference = Off (Issue Warnings)
+1
Cheers,
Pierre
2009/2/19 Eric Stewart ericleestewart@gmail.com
allow_call_time_pass_reference = Off (Issue Warnings)
+1
--
Mikko Koppanen
allow_call_time_pass_reference = Off (Issue Warnings)
+1
Ilia Alshanetsky
allow_call_time_pass_reference = Off (Issue Warnings)
+1
Elizabeth Smith
Hi.
allow_call_time_pass_reference = Off (Issue Warnings)
+1
Karsten
Eric Stewart wrote:
We seem to have a split opinion on what the production INI value for
allow_call_time_pass_reference should be.As I understand it, this does not enable or disable the ability to pass
references at call time. It only enables or disables PHP's warnings about
this behavior.I currently have it set to On because I feel a production server should not
be issuing deprecation type warnings, that is definitely a function for
development servers. But PHP and these INIs belong to us all and I feel the
opinion of the community majority should make this decision. So lets have a
vote.allow_call_time_pass_reference = On (Suppress Warnings)
or
allow_call_time_pass_reference = Off (Issue Warnings)
+1
Greg
allow_call_time_pass_reference = Off (Issue Warnings)
Eric Lee Stewart
+1
Switching it off by default in ini-dist and main.c would be good too!
http://wiki.php.net/rfc/calltimebyref
- Steph
That's a good point we need to make sure that main.c INI values match
those of the production INI file. There are A LOT of installs that
operate without an INI file.
allow_call_time_pass_reference = Off (Issue Warnings)
Eric Lee Stewart+1
Switching it off by default in ini-dist and main.c would be good too!
http://wiki.php.net/rfc/calltimebyref
- Steph
--
Ilia Alshanetsky
That's a good point we need to make sure that main.c INI values match
those of the production INI file. There are A LOT of installs that
operate without an INI file.
I'd say it's usually ini-dist that matches the main.c value... but the issue
in this case is that ini-recommended (which is generally taken as
'ini-production' by the community at large) throws warnings that are not
thrown by default, which seems pretty weird to me.
- Steph