PHP GET OPTION
PHP GET OPTION ( option ; value )
Parameter | Type | Description | |
---|---|---|---|
option | Integer | → | Option to get |
value | Boolean | ← | Current value of option |
Compatibility
PHP is deprecated in 4D. It is now recommended to use the 4D.SystemWorker class
.
Description
The PHP GET OPTION command can be used to find out the current value of an option relating to the execution of PHP scripts.
Pass a constant from the "PHP" theme in the option parameter to designate the option to be read. The command returns the current value of the option in the value parameter.
Constant | Type | Value | Comment |
---|---|---|---|
PHP raw result | Integer | 2 | Definition of processing mode for HTTP headers returned by PHP in the execution result when this result is of the Text type (when the result is of the BLOB type, headers are always kept). Possible value(s): Boolean. False (default value = remove HTTP headers from result. True = keep HTTP headers. |
See also
PHP GET FULL RESPONSE
PHP SET OPTION
Properties
Command number | 1060 |
Thread safe | ✗ |