3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("DOMPDF_TEMP_DIR", substr($_SERVER['SCRIPT_FILENAME'],0,strrpos($_SERVER['SCRIPT_FILENAME'],"/"))."/prihlaska/export/"); define("DOMPDF_CHROOT", substr($_SERVER['SCRIPT_FILENAME'],0,strrpos($_SERVER['SCRIPT_FILENAME'],"/"))."/prihlaska/export/"); //define("DOMPDF_FONT_DIR", DOMPDF_DIR."/lib/fonts/"); //define("DOMPDF_FONT_CACHE", DOMPDF_DIR."/lib/fonts/"); //define("DOMPDF_UNICODE_ENABLED", true); //define("DOMPDF_PDF_BACKEND", "PDFLib"); //define("DOMPDF_DEFAULT_MEDIA_TYPE", "print"); define("DOMPDF_DEFAULT_PAPER_SIZE", "A4"); //define("DOMPDF_DEFAULT_FONT", "serif"); //define("DOMPDF_DPI", 72); //define("DOMPDF_ENABLE_PHP", true); //define("DOMPDF_ENABLE_REMOTE", true); //define("DOMPDF_ENABLE_CSS_FLOAT", true); //define("DOMPDF_ENABLE_JAVASCRIPT", false); //define("DEBUGPNG", true); //define("DEBUGKEEPTEMP", true); //define("DEBUGCSS", true); //define("DEBUG_LAYOUT", true); //define("DEBUG_LAYOUT_LINES", false); //define("DEBUG_LAYOUT_BLOCKS", false); //define("DEBUG_LAYOUT_INLINE", false); //define("DOMPDF_FONT_HEIGHT_RATIO", 1.0); //define("DEBUG_LAYOUT_PADDINGBOX", false); //define("DOMPDF_LOG_OUTPUT_FILE", DOMPDF_FONT_DIR."log.htm"); //define("DOMPDF_ENABLE_HTML5PARSER", true); //define("DOMPDF_ENABLE_FONTSUBSETTING", true); // DOMPDF authentication //define("DOMPDF_ADMIN_USERNAME", "user"); //define("DOMPDF_ADMIN_PASSWORD", "password");
Output for 5.2.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.2.2
Notice: Undefined index: SCRIPT_FILENAME in /in/SGEeY on line 2 Notice: Undefined index: SCRIPT_FILENAME in /in/SGEeY on line 2 Notice: Undefined index: SCRIPT_FILENAME in /in/SGEeY on line 3 Notice: Undefined index: SCRIPT_FILENAME in /in/SGEeY on line 3
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/SGEeY on line 31
Process exited with code 255.