Dompdf\Options::isPhpEnabled
Enable embedded PHP
If this setting is set to true then DOMPDF will automatically evaluate embedded PHP contained within <script type="text/php"> ... </script> tags. ==== IMPORTANT ==== Enabling this for documents you do not trust (e.g. arbitrary remote html pages) is a security risk. Embedded scripts are run with the same level of system access available to dompdf. Set this option to false (recommended) if you wish to process untrusted documents. This setting may increase the risk of system exploit. Do not change this settings without understanding the consequences. Additional documentation is available on the dompdf wiki at: https://github.com/dompdf/dompdf/wiki
Signature
private function isPhpEnabled()
Returns
- boolean