Skip to main content
Version: 20 R7 BETA

PHP GET OPTION

PHP GET OPTION ( option ; value )

ParameterTypeDescription
optionIntegerOption to get
valueBooleanCurrent 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.

ConstantTypeValueComment
PHP raw resultInteger2Definition 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 number1060
Thread safe