Prev | Current Page 103 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"


unserialize_callback_func = string
Scope: PHP_INI_ALL; Default value: NULL
This directive allows you to control the response of the unserializer when a request
is made to instantiate an undefined class. For most users, this directive is irrelevant
because PHP already outputs a warning in such instances if PHP??™s error reporting is
tuned to the appropriate level.
serialize_precision = integer
Scope: PHP_INI_ALL; Default value: 100
The serialize_precision directive determines the number of digits stored after
the floating point when doubles and floats are serialized. Setting this to an appropriate
value ensures that the precision is not potentially lost when the numbers are
later unserialized.
allow_call_time_pass_reference = On | Off
Scope: PHP_INI_SYSTEM; Default value: On
Function arguments can be passed in two ways: by value and by reference. Exactly
how each argument is passed to a function at function call time can be specified in
the function definition, which is the recommended means for doing so. However,
you can force all arguments to be passed by reference at function call time by enabling
allow_call_time_pass_reference.
The discussion of PHP functions in Chapter 4 addresses how functional arguments
can be passed both by value and by reference, and the implications of doing so.
Safe Mode
When you deploy PHP in a multiuser environment, such as that found on an ISP??™s
shared server, you might want to limit its functionality.


Pages:
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115