Page 1 of 1

SC: Dubious syntax

Posted: 21 Jan 2019 07:17
by Filehero
Hi Don,

using the marked string in the if expression results in an unexpected dubious syntax warning.

Code: Select all

if (strpos($inputStr, "<<<") > -1) {
                       ^^^
This shouldn't happen.

Re: SC: Dubious syntax

Posted: 21 Jan 2019 11:07
by PeterH
Same for single quotes :(

While $a = "<<<"; is OK.

Strange :shock:

Re: SC: Dubious syntax

Posted: 21 Jan 2019 18:24
by admin
Yep. Fix comes. :tup: