Skip to content

PHP notice when using Text::eol() and passing in a position that is out of range.#12

Open
malc0mn wants to merge 2 commits intoromanpitak:masterfrom
malc0mn:master
Open

PHP notice when using Text::eol() and passing in a position that is out of range.#12
malc0mn wants to merge 2 commits intoromanpitak:masterfrom
malc0mn:master

Conversation

@malc0mn
Copy link
Copy Markdown

@malc0mn malc0mn commented Oct 8, 2017

Can be reproduced by this example here:

<?php

$text = new Text('This is a line for testing...');
if ($text->eol(30)) {
    // Do stuff...
}

This pull reuquest will fix that usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant