Skip to content

Commit ec710a0

Browse files
committed
issues/37
old php version std value corrected
1 parent 20e9ee4 commit ec710a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
// -----------------------------------------------------------------------------
7474
// get html dom from file
7575
// $maxlen is defined in the code as PHP_STREAM_COPY_ALL which is defined as -1.
76-
function file_get_html($url, $use_include_path = false, $context=null, $offset = -1, $maxLen=-1, $lowercase = true, $forceTagsClosed=true, $target_charset = DEFAULT_TARGET_CHARSET, $stripRN=true, $defaultBRText=DEFAULT_BR_TEXT, $defaultSpanText=DEFAULT_SPAN_TEXT)
76+
function file_get_html($url, $use_include_path = false, $context=null, $offset=0, $maxLen=-1, $lowercase = true, $forceTagsClosed=true, $target_charset = DEFAULT_TARGET_CHARSET, $stripRN=true, $defaultBRText=DEFAULT_BR_TEXT, $defaultSpanText=DEFAULT_SPAN_TEXT)
7777
{
7878
// We DO force the tags to be terminated.
7979
$dom = new simple_html_dom(null, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText, $defaultSpanText);

0 commit comments

Comments
 (0)