C
C
crazyman2015-12-05 13:33:40
PHP
crazyman, 2015-12-05 13:33:40

Why does it point to a non-existent string?

Hello! Today I encountered such a problem ... PHP indicates the following errors:

Notice: Undefined offset: 1 in /var/www/html/*** on line 956
Notice: Undefined offset: 2 in /var/www/html/*** on line 957
Notice: Undefined index: in /var/www/html/*** on line 957
Notice: Undefined offset: 2 in /var/www/html/*** on line 957
Notice: Undefined index: in /var/www/html/*** on line 957

But, there are only 806 lines in the document.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sunrails, 2015-12-05
@sunrails

Most likely the problem is that your editor and php consider a different sequence of characters for a line feed.
https://ru.wikipedia.org/wiki/%D0%9F%D0%B5%D1%80%D...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question