<?php
/**
* @package dompdf
* @link http://dompdf.github.com/
* @author Benj Carson <benjcarson@digitaljunkies.ca>
* @author Helmut Tischer <htischer@weihenstephan.org>
* @author Fabien Ménager <fabien.menager@gmail.com>
* @autho Brian Sweeney <eclecticgeek@gmail.com>
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
*/
if ( class_exists( 'DOMPDF' , false ) ) { return; }
PHP_VERSION >= 5.0 or die("DOMPDF requires PHP 5.0+");
/**
* The root of your DOMPDF installation
*/
define("DOMPDF_DIR", str_replace(DIRECTORY_SEPARATOR, '/', realpath(dirname(__FILE__))));
/**
* The location of the DOMPDF include directory
*/
define("DOMPDF_INC_DIR", DOMPDF_DIR . "/include");
/**
* The location of the DOMPDF lib directory
*/
define("DOMPDF_LIB_DIR", DOMPDF_DIR . "/lib");
/**
* Some installations don't have $_SERVER['DOCUMENT_ROOT']
* http://fyneworks.blogspot.com/2007/08/php-documentroot-in-iis-windows-servers.html
*/
if( !isset($_SERVER['DOCUMENT_ROOT']) ) {
$path = "";
if ( isset($_SERVER['SCRIPT_FILENAME']) )
$path = $_SERVER['SCRIPT_FILENAME'];
elseif ( isset($_SERVER['PATH_TRANSLATED']) )
$path = str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']);
$_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr($path, 0, 0-strlen($_SERVER['PHP_SELF'])));
}
/** Include the custom config file if it exists */
if ( file_exists(DOMPDF_DIR . "/dompdf_config.custom.inc.php") ){
require_once(DOMPDF_DIR . "/dompdf_config.custom.inc.php");
}
//FIXME: Some function definitions rely on the constants defined by DOMPDF. However, might this location prove problematic?
require_once(DOMPDF_INC_DIR . "/functions.inc.php");
/**
* Username and password used by the configuration utility in www/
*/
def("DOMPDF_ADMIN_USERNAME", "user");
def("DOMPDF_ADMIN_PASSWORD", "password");
/**
* The location of the DOMPDF font directory
*
* The location of the directory where DOMPDF will store fonts and font metrics
* Note: This directory must exist and be writable by the webserver process.
* *Please note the trailing slash.*
*
* Notes regarding fonts:
* Additional .afm font metrics can be added by executing load_font.php from command line.
*
* Only the original "Base 14 fonts" are present on all pdf viewers. Additional fonts must
* be embedded in the pdf file or the PDF may not display correctly. This can significantly
* increase file size unless font subsetting is enabled. Before embedding a font please
* review your rights under the font license.
*
* Any font specification in the source HTML is translated to the closest font available
* in the font directory.
*
* The pdf standard "Base 14 fonts" are:
* Courier, Courier-Bold, Courier-BoldOblique, Courier-Oblique,
* Helvetica, Helvetica-Bold, Helvetica-BoldOblique, Helvetica-Oblique,
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
* Symbol, ZapfDingbats.
*/
def("DOMPDF_FONT_DIR", DOMPDF_DIR . "/lib/fonts/");
/**
* The location of the DOMPDF font cache directory
*
* This directory contains the cached font metrics for the fonts used by DOMPDF.
* This directory can be the same as DOMPDF_FONT_DIR
*
* Note: This directory must exist and be writable by the webserver process.
*/
def("DOMPDF_FONT_CACHE", DOMPDF_FONT_DIR);
/**
* The location of a temporary directory.
*
* The directory specified must be writeable by the webserver process.
* The temporary directory is required to download remote images and when
* using the PFDLib back end.
*/
def("DOMPDF_TEMP_DIR", sys_get_temp_dir());
/**
* ==== IMPORTANT ====
*
* dompdf's "chroot": Prevents dompdf from accessing system files or other
* files on the webserver. All local files opened by dompdf must be in a
* subdirectory of this directory. DO NOT set it to '/' since this could
* allow an attacker to use dompdf to read any files on the server. This
* should be an absolute path.
* This is only checked on command line call by dompdf.php, but not by
* direct class use like:
* $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output();
*/
def("DOMPDF_CHROOT", realpath(DOMPDF_DIR));
/**
* Whether to use Unicode fonts or not.
*
* When set to true the PDF backend must be set to "CPDF" and fonts must be
* loaded via load_font.php.
*
* When enabled, dompdf can support all Unicode glyphs. Any glyphs used in a
* document must be present in your fonts, however.
*/
def("DOMPDF_UNICODE_ENABLED", true);
/**
* Whether to enable font subsetting or not.
*/
def("DOMPDF_ENABLE_FONTSUBSETTING", false);
/**
* The PDF rendering backend to use
*
* Valid settings are 'PDFLib', 'CPDF' (the bundled R&OS PDF class), 'GD' and
* 'auto'. 'auto' will look for PDFLib and use it if found, or if not it will
* fall back on CPDF. 'GD' renders PDFs to graphic files. {@link
* Canvas_Factory} ultimately determines which rendering class to instantiate
* based on this setting.
*
* Both PDFLib & CPDF rendering backends provide sufficient rendering
* capabilities for dompdf, however additional features (e.g. object,
* image and font support, etc.) differ between backends. Please see
* {@link PDFLib_Adapter} for more information on the PDFLib backend
* and {@link CPDF_Adapter} and lib/class.pdf.php for more information
* on CPDF. Also see the documentation for each backend at the links
* below.
*
* The GD rendering backend is a little different than PDFLib and
* CPDF. Several features of CPDF and PDFLib are not supported or do
* not make any sense when creating image files. For example,
* multiple pages are not supported, nor are PDF 'objects'. Have a
* look at {@link GD_Adapter} for more information. GD support is
* experimental, so use it at your own risk.
*
* @link http://www.pdflib.com
* @link http://www.ros.co.nz/pdf
* @link http://www.php.net/image
*/
def("DOMPDF_PDF_BACKEND", "CPDF");
/**
* PDFlib license key
*
* If you are using a licensed, commercial version of PDFlib, specify
* your license key here. If you are using PDFlib-Lite or are evaluating
* the commercial version of PDFlib, comment out this setting.
*
* @link http://www.pdflib.com
*
* If pdflib present in web server and auto or selected explicitely above,
* a real license code must exist!
*/
//def("DOMPDF_PDFLIB_LICENSE", "your license key here");
/**
* html target media view which should be rendered into pdf.
* List of types and parsing rules for future extensions:
* http://www.w3.org/TR/REC-html40/types.html
* screen, tty, tv, projection, handheld, print, braille, aural, all
* Note: aural is deprecated in CSS 2.1 because it is replaced by speech in CSS 3.
* Note, even though the generated pdf file is intended for print output,
* the desired content might be different (e.g. screen or projection view of html file).
* Therefore allow specification of content here.
*/
def("DOMPDF_DEFAULT_MEDIA_TYPE", "screen");
/**
* The default paper size.
*
* North America standard is "letter"; other countries generally "a4"
*
* @see CPDF_Adapter::PAPER_SIZES for valid sizes
*/
def("DOMPDF_DEFAULT_PAPER_SIZE", "letter");
/**
* The default font family
*
* Used if no suitable fonts can be found. This must exist in the font folder.
* @var string
*/
def("DOMPDF_DEFAULT_FONT", "serif");
/**
* Image DPI setting
*
* This setting determines the default DPI setting for images and fonts. The
* DPI may be overridden for inline images by explictly setting the
* image's width & height style attributes (i.e. if the image's native
* width is 600 pixels and you specify the image's width as 72 points,
* the image will have a DPI of 600 in the rendered PDF. The DPI of
* background images can not be overridden and is controlled entirely
* via this parameter.
*
* For the purposes of DOMPDF, pixels per inch (PPI) = dots per inch (DPI).
* If a size in html is given as px (or without unit as image size),
* this tells the corresponding size in pt at 72 DPI.
* This adjusts the relative sizes to be similar to the rendering of the
* html page in a reference browser.
*
* In pdf, always 1 pt = 1/72 inch
*
* Rendering resolution of various browsers in px per inch:
* Windows Firefox and Internet Explorer:
* SystemControl->Display properties->FontResolution: Default:96, largefonts:120, custom:?
* Linux Firefox:
* about:config *resolution: Default:96
* (xorg screen dimension in mm and Desktop font dpi settings are ignored)
*
* Take care about extra font/image zoom factor of browser.
*
* In images, <img> size in pixel attribute, img css style, are overriding
* the real image dimension in px for rendering.
*
* @var int
*/
def("DOMPDF_DPI", 96);
/**
* Enable inline PHP
*
* If this setting is set to true then DOMPDF will automatically evaluate
* inline PHP contained within <script type="text/php"> ... </script> tags.
*
* Enabling this for documents you do not trust (e.g. arbitrary remote html
* pages) is a security risk. Set this option to false if you wish to process
* untrusted documents.
*
* @var bool
*/
def("DOMPDF_ENABLE_PHP", false);
/**
* Enable inline Javascript
*
* If this setting is set to true then DOMPDF will automatically insert
* JavaScript code contained within <script type="text/javascript"> ... </script> tags.
*
* @var bool
*/
def("DOMPDF_ENABLE_JAVASCRIPT", true);
/**
* Enable remote file access
*
* If this setting is set to true, DOMPDF will access remote sites for
* images and CSS files as required.
* This is required for part of test case www/test/image_variants.html through www/examples.php
*
* Attention!
* This can be a security risk, in particular in combination with DOMPDF_ENABLE_PHP and
* allowing remote access to dompdf.php or on allowing remote html code to be passed to
* $dompdf = new DOMPDF(); $dompdf->load_html(...);
* This allows anonymous users to download legally doubtful internet content which on
* tracing back appears to being downloaded by your server, or allows malicious php code
* in remote html pages to be executed by your server with your account privileges.
*
* @var bool
*/
def("DOMPDF_ENABLE_REMOTE", false);
/**
* The debug output log
* @var string
*/
def("DOMPDF_LOG_OUTPUT_FILE", DOMPDF_FONT_DIR."log.htm");
/**
* A ratio applied to the fonts height to be more like browsers' line height
*/
def("DOMPDF_FONT_HEIGHT_RATIO", 1.1);
/**
* Enable CSS float
*
* Allows people to disabled CSS float support
* @var bool
*/
def("DOMPDF_ENABLE_CSS_FLOAT", false);
/**
* Enable the built in DOMPDF autoloader
*
* @var bool
*/
def("DOMPDF_ENABLE_AUTOLOAD", true);
/**
* Prepend the DOMPDF autoload function to the spl_autoload stack
*
* @var bool
*/
def("DOMPDF_AUTOLOAD_PREPEND", false);
/**
* Use the more-than-experimental HTML5 Lib parser
*/
def("DOMPDF_ENABLE_HTML5PARSER", false);
require_once(DOMPDF_LIB_DIR . "/html5lib/Parser.php");
// ### End of user-configurable options ###
/**
* Load autoloader
*/
if (DOMPDF_ENABLE_AUTOLOAD) {
require_once(DOMPDF_INC_DIR . "/autoload.inc.php");
require_once(DOMPDF_LIB_DIR . "/php-font-lib/classes/Font.php");
}
/**
* Ensure that PHP is working with text internally using UTF8 character encoding.
*/
mb_internal_encoding('UTF-8');
/**
* Global array of warnings generated by DomDocument parser and
* stylesheet class
*
* @var array
*/
global $_dompdf_warnings;
$_dompdf_warnings = array();
/**
* If true, $_dompdf_warnings is dumped on script termination when using
* dompdf/dompdf.php or after rendering when using the DOMPDF class.
* When using the class, setting this value to true will prevent you from
* streaming the PDF.
*
* @var bool
*/
global $_dompdf_show_warnings;
$_dompdf_show_warnings = false;
/**
* If true, the entire tree is dumped to stdout in dompdf.cls.php.
* Setting this value to true will prevent you from streaming the PDF.
*
* @var bool
*/
global $_dompdf_debug;
$_dompdf_debug = false;
/**
* Array of enabled debug message types
*
* @var array
*/
global $_DOMPDF_DEBUG_TYPES;
$_DOMPDF_DEBUG_TYPES = array(); //array("page-break" => 1);
/* Optionally enable different classes of debug output before the pdf content.
* Visible if displaying pdf as text,
* E.g. on repeated display of same pdf in browser when pdf is not taken out of
* the browser cache and the premature output prevents setting of the mime type.
*/
def('DEBUGPNG', false);
def('DEBUGKEEPTEMP', false);
def('DEBUGCSS', false);
/* Layout debugging. Will display rectangles around different block levels.
* Visible in the PDF itself.
*/
def('DEBUG_LAYOUT', false);
def('DEBUG_LAYOUT_LINES', true);
def('DEBUG_LAYOUT_BLOCKS', true);
def('DEBUG_LAYOUT_INLINE', true);
def('DEBUG_LAYOUT_PADDINGBOX', true);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 73
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 45
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 56
Branch analysis from position: 56
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 82
Branch analysis from position: 79
2 jumps found. (Code = 43) Position 1 = 189, Position 2 = 195
Branch analysis from position: 189
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 195
Branch analysis from position: 82
Branch analysis from position: 45
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 56
Branch analysis from position: 48
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 82
Branch analysis from position: 79
Branch analysis from position: 82
Branch analysis from position: 56
Branch analysis from position: 73
filename: /in/MQeou
function name: (null)
number of ops: 239
compiled vars: !0 = $path, !1 = $_dompdf_warnings, !2 = $_dompdf_show_warnings, !3 = $_dompdf_debug, !4 = $_DOMPDF_DEBUG_TYPES
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
12 0 E > INIT_FCALL 'class_exists'
1 SEND_VAL 'DOMPDF'
2 SEND_VAL <false>
3 DO_ICALL $5
4 > JMPZ $5, ->6
5 > > RETURN null
19 6 > INIT_FCALL 'define'
7 SEND_VAL 'DOMPDF_DIR'
8 INIT_FCALL 'str_replace'
9 SEND_VAL '%2F'
10 SEND_VAL '%2F'
11 INIT_FCALL 'realpath'
12 INIT_FCALL 'dirname'
13 SEND_VAL '%2Fin%2FMQeou'
14 DO_ICALL $6
15 SEND_VAR $6
16 DO_ICALL $7
17 SEND_VAR $7
18 DO_ICALL $8
19 SEND_VAR $8
20 DO_ICALL
24 21 INIT_FCALL 'define'
22 SEND_VAL 'DOMPDF_INC_DIR'
23 FETCH_CONSTANT ~10 'DOMPDF_DIR'
24 CONCAT ~11 ~10, '%2Finclude'
25 SEND_VAL ~11
26 DO_ICALL
29 27 INIT_FCALL 'define'
28 SEND_VAL 'DOMPDF_LIB_DIR'
29 FETCH_CONSTANT ~13 'DOMPDF_DIR'
30 CONCAT ~14 ~13, '%2Flib'
31 SEND_VAL ~14
32 DO_ICALL
35 33 FETCH_IS ~16 '_SERVER'
34 ISSET_ISEMPTY_DIM_OBJ 0 ~17 ~16, 'DOCUMENT_ROOT'
35 BOOL_NOT ~18 ~17
36 > JMPZ ~18, ->73
36 37 > ASSIGN !0, ''
38 38 FETCH_IS ~20 '_SERVER'
39 ISSET_ISEMPTY_DIM_OBJ 0 ~20, 'SCRIPT_FILENAME'
40 > JMPZ ~21, ->45
39 41 > FETCH_R global ~22 '_SERVER'
42 FETCH_DIM_R ~23 ~22, 'SCRIPT_FILENAME'
43 ASSIGN !0, ~23
44 > JMP ->56
40 45 > FETCH_IS ~25 '_SERVER'
46 ISSET_ISEMPTY_DIM_OBJ 0 ~25, 'PATH_TRANSLATED'
47 > JMPZ ~26, ->56
41 48 > INIT_FCALL 'str_replace'
49 SEND_VAL '%5C%5C'
50 SEND_VAL '%5C'
51 FETCH_R global ~27 '_SERVER'
52 FETCH_DIM_R ~28 ~27, 'PATH_TRANSLATED'
53 SEND_VAL ~28
54 DO_ICALL $29
55 ASSIGN !0, $29
43 56 > INIT_FCALL 'str_replace'
57 SEND_VAL '%5C'
58 SEND_VAL '%2F'
59 INIT_FCALL 'substr'
60 SEND_VAR !0
61 SEND_VAL 0
62 FETCH_R global ~33 '_SERVER'
63 FETCH_DIM_R ~34 ~33, 'PHP_SELF'
64 STRLEN ~35 ~34
65 SUB ~36 0, ~35
66 SEND_VAL ~36
67 DO_ICALL $37
68 SEND_VAR $37
69 DO_ICALL $38
70 FETCH_W global $31 '_SERVER'
71 ASSIGN_DIM $31, 'DOCUMENT_ROOT'
72 OP_DATA $38
47 73 > INIT_FCALL 'file_exists'
74 FETCH_CONSTANT ~39 'DOMPDF_DIR'
75 CONCAT ~40 ~39, '%2Fdompdf_config.custom.inc.php'
76 SEND_VAL ~40
77 DO_ICALL $41
78 > JMPZ $41, ->82
48 79 > FETCH_CONSTANT ~42 'DOMPDF_DIR'
80 CONCAT ~43 ~42, '%2Fdompdf_config.custom.inc.php'
81 INCLUDE_OR_EVAL ~43, REQUIRE_ONCE
52 82 > FETCH_CONSTANT ~45 'DOMPDF_INC_DIR'
83 CONCAT ~46 ~45, '%2Ffunctions.inc.php'
84 INCLUDE_OR_EVAL ~46, REQUIRE_ONCE
57 85 INIT_FCALL_BY_NAME 'def'
86 SEND_VAL_EX 'DOMPDF_ADMIN_USERNAME'
87 SEND_VAL_EX 'user'
88 DO_FCALL 0
58 89 INIT_FCALL_BY_NAME 'def'
90 SEND_VAL_EX 'DOMPDF_ADMIN_PASSWORD'
91 SEND_VAL_EX 'password'
92 DO_FCALL 0
84 93 INIT_FCALL_BY_NAME 'def'
94 SEND_VAL_EX 'DOMPDF_FONT_DIR'
95 FETCH_CONSTANT ~50 'DOMPDF_DIR'
96 CONCAT ~51 ~50, '%2Flib%2Ffonts%2F'
97 SEND_VAL_EX ~51
98 DO_FCALL 0
94 99 INIT_FCALL_BY_NAME 'def'
100 SEND_VAL_EX 'DOMPDF_FONT_CACHE'
101 FETCH_CONSTANT ~53 'DOMPDF_FONT_DIR'
102 SEND_VAL_EX ~53
103 DO_FCALL 0
103 104 INIT_FCALL_BY_NAME 'def'
105 SEND_VAL_EX 'DOMPDF_TEMP_DIR'
106 INIT_FCALL 'sys_get_temp_dir'
107 DO_ICALL $55
108 SEND_VAR_NO_REF_EX $55
109 DO_FCALL 0
117 110 INIT_FCALL_BY_NAME 'def'
111 SEND_VAL_EX 'DOMPDF_CHROOT'
112 INIT_FCALL 'realpath'
113 FETCH_CONSTANT ~57 'DOMPDF_DIR'
114 SEND_VAL ~57
115 DO_ICALL $58
116 SEND_VAR_NO_REF_EX $58
117 DO_FCALL 0
128 118 INIT_FCALL_BY_NAME 'def'
119 SEND_VAL_EX 'DOMPDF_UNICODE_ENABLED'
120 SEND_VAL_EX <true>
121 DO_FCALL 0
133 122 INIT_FCALL_BY_NAME 'def'
123 SEND_VAL_EX 'DOMPDF_ENABLE_FONTSUBSETTING'
124 SEND_VAL_EX <false>
125 DO_FCALL 0
163 126 INIT_FCALL_BY_NAME 'def'
127 SEND_VAL_EX 'DOMPDF_PDF_BACKEND'
128 SEND_VAL_EX 'CPDF'
129 DO_FCALL 0
189 130 INIT_FCALL_BY_NAME 'def'
131 SEND_VAL_EX 'DOMPDF_DEFAULT_MEDIA_TYPE'
132 SEND_VAL_EX 'screen'
133 DO_FCALL 0
198 134 INIT_FCALL_BY_NAME 'def'
135 SEND_VAL_EX 'DOMPDF_DEFAULT_PAPER_SIZE'
136 SEND_VAL_EX 'letter'
137 DO_FCALL 0
206 138 INIT_FCALL_BY_NAME 'def'
139 SEND_VAL_EX 'DOMPDF_DEFAULT_FONT'
140 SEND_VAL_EX 'serif'
141 DO_FCALL 0
241 142 INIT_FCALL_BY_NAME 'def'
143 SEND_VAL_EX 'DOMPDF_DPI'
144 SEND_VAL_EX 96
145 DO_FCALL 0
255 146 INIT_FCALL_BY_NAME 'def'
147 SEND_VAL_EX 'DOMPDF_ENABLE_PHP'
148 SEND_VAL_EX <false>
149 DO_FCALL 0
265 150 INIT_FCALL_BY_NAME 'def'
151 SEND_VAL_EX 'DOMPDF_ENABLE_JAVASCRIPT'
152 SEND_VAL_EX <true>
153 DO_FCALL 0
284 154 INIT_FCALL_BY_NAME 'def'
155 SEND_VAL_EX 'DOMPDF_ENABLE_REMOTE'
156 SEND_VAL_EX <false>
157 DO_FCALL 0
290 158 INIT_FCALL_BY_NAME 'def'
159 SEND_VAL_EX 'DOMPDF_LOG_OUTPUT_FILE'
160 FETCH_CONSTANT ~70 'DOMPDF_FONT_DIR'
161 CONCAT ~71 ~70, 'log.htm'
162 SEND_VAL_EX ~71
163 DO_FCALL 0
295 164 INIT_FCALL_BY_NAME 'def'
165 SEND_VAL_EX 'DOMPDF_FONT_HEIGHT_RATIO'
166 SEND_VAL_EX 1.1
167 DO_FCALL 0
303 168 INIT_FCALL_BY_NAME 'def'
169 SEND_VAL_EX 'DOMPDF_ENABLE_CSS_FLOAT'
170 SEND_VAL_EX <false>
171 DO_FCALL 0
310 172 INIT_FCALL_BY_NAME 'def'
173 SEND_VAL_EX 'DOMPDF_ENABLE_AUTOLOAD'
174 SEND_VAL_EX <true>
175 DO_FCALL 0
317 176 INIT_FCALL_BY_NAME 'def'
177 SEND_VAL_EX 'DOMPDF_AUTOLOAD_PREPEND'
178 SEND_VAL_EX <false>
179 DO_FCALL 0
322 180 INIT_FCALL_BY_NAME 'def'
181 SEND_VAL_EX 'DOMPDF_ENABLE_HTML5PARSER'
182 SEND_VAL_EX <false>
183 DO_FCALL 0
323 184 FETCH_CONSTANT ~78 'DOMPDF_LIB_DIR'
185 CONCAT ~79 ~78, '%2Fhtml5lib%2FParser.php'
186 INCLUDE_OR_EVAL ~79, REQUIRE_ONCE
330 187 FETCH_CONSTANT ~81 'DOMPDF_ENABLE_AUTOLOAD'
188 > JMPZ ~81, ->195
331 189 > FETCH_CONSTANT ~82 'DOMPDF_INC_DIR'
190 CONCAT ~83 ~82, '%2Fautoload.inc.php'
191 INCLUDE_OR_EVAL ~83, REQUIRE_ONCE
332 192 FETCH_CONSTANT ~85 'DOMPDF_LIB_DIR'
193 CONCAT ~86 ~85, '%2Fphp-font-lib%2Fclasses%2FFont.php'
194 INCLUDE_OR_EVAL ~86, REQUIRE_ONCE
338 195 > INIT_FCALL 'mb_internal_encoding'
196 SEND_VAL 'UTF-8'
197 DO_ICALL
346 198 BIND_GLOBAL !1, '_dompdf_warnings'
347 199 ASSIGN !1, <array>
357 200 BIND_GLOBAL !2, '_dompdf_show_warnings'
358 201 ASSIGN !2, <false>
366 202 BIND_GLOBAL !3, '_dompdf_debug'
367 203 ASSIGN !3, <false>
374 204 BIND_GLOBAL !4, '_DOMPDF_DEBUG_TYPES'
375 205 ASSIGN !4, <array>
382 206 INIT_FCALL_BY_NAME 'def'
207 SEND_VAL_EX 'DEBUGPNG'
208 SEND_VAL_EX <false>
209 DO_FCALL 0
383 210 INIT_FCALL_BY_NAME 'def'
211 SEND_VAL_EX 'DEBUGKEEPTEMP'
212 SEND_VAL_EX <false>
213 DO_FCALL 0
384 214 INIT_FCALL_BY_NAME 'def'
215 SEND_VAL_EX 'DEBUGCSS'
216 SEND_VAL_EX <false>
217 DO_FCALL 0
389 218 INIT_FCALL_BY_NAME 'def'
219 SEND_VAL_EX 'DEBUG_LAYOUT'
220 SEND_VAL_EX <false>
221 DO_FCALL 0
390 222 INIT_FCALL_BY_NAME 'def'
223 SEND_VAL_EX 'DEBUG_LAYOUT_LINES'
224 SEND_VAL_EX <true>
225 DO_FCALL 0
391 226 INIT_FCALL_BY_NAME 'def'
227 SEND_VAL_EX 'DEBUG_LAYOUT_BLOCKS'
228 SEND_VAL_EX <true>
229 DO_FCALL 0
392 230 INIT_FCALL_BY_NAME 'def'
231 SEND_VAL_EX 'DEBUG_LAYOUT_INLINE'
232 SEND_VAL_EX <true>
233 DO_FCALL 0
393 234 INIT_FCALL_BY_NAME 'def'
235 SEND_VAL_EX 'DEBUG_LAYOUT_PADDINGBOX'
236 SEND_VAL_EX <true>
237 DO_FCALL 0
238 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
170.48 ms | 1416 KiB | 31 Q