Menu

#161 file_get_contents PHP 7.1 offset -1

closed
PHP 7.1 (1)
2018-12-06
2017-05-14
FriedrichF
No

Since PHP 7.1 it is possible to interprete negative offset.
The default Value of offset have to be changed from -1 to 0.

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)

Discussion

  • LogMANOriginal

    LogMANOriginal - 2018-12-05
    • status: open --> closed
    • assigned_to: LogMANOriginal
     
  • LogMANOriginal

    LogMANOriginal - 2018-12-05

    Thanks for reporting this issue! I've integrated your proposed change to master [3ab5ee]

     

    Related

    Commit: [3ab5ee]


Log in to post a comment.