$charset =
[line 90]
Character encoding
Character encoding override: Specify the character encoding to use when parsing the document. When used with the auxiliary parameter fbc set to 1, the given encoding will only be used as a fallback value, in case the charset is absent or unrecognized. Note that this parameter is ignored if validating a fragment with the direct input interface.
$doctype =
[line 111]
Document type
Document Type override: Specify the Document Type (DOCTYPE) to use when parsing the document. When used with the auxiliary parameter fbd set to 1, the given document type will only be used as a fallback value, in case the document's DOCTYPE declaration is missing or unrecognized.
$fbc =
[line 100]
Fall Back Character Set
When no character encoding is detected in the document, use the value in $charset as the fallback character set.
$fbd =
[line 121]
Fall back doctype
When set to 1, use the value stored in $doctype when the document type cannot be automatically determined.
$fragment =
[line 69]
HTML fragment to validate.
Full documents only. At the moment, will only work if data is sent with the UTF-8 encoding.
$outline = false
[line 150]
outline
In the web interface, when set to 1, triggers the display of the document outline after the validation results. In SOAP output, does not have any impact.
$output = 'soap12'
[line 78]
Output format
Triggers the various outputs formats of the validator. If unset, the usual Web format will be sent. If set to soap12, the SOAP1.2 interface will be triggered. See below for the SOAP 1.2 response format description.
$request =
[line 156]
HTTP_Request2 object.
$ss = false
[line 140]
Show source
In the web interface, triggers the display of the source after the validation results. In SOAP output, does not have any impact.
$uploaded_file =
[line 60]
Internally used filename of a file to upload to the validator
POSTed as multipart/form-data
$uri =
[line 53]
The URL of the document to validate
$validator_uri = 'http://validator.w3.org/check'
[line 47]
URI to the w3 validator.
$verbose = false
[line 131]
Verbose output
In the web interface, when set to 1, will make error messages, explanations and other diagnostics more verbose. In SOAP output, does not have any impact.