SC: Dubious syntax

Things you’d like to miss in the future...
Post Reply
Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

SC: Dubious syntax

Post 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.

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: SC: Dubious syntax

Post by PeterH »

Same for single quotes :(

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

Strange :shock:
Win11 Pro 223H2 Gerrman

admin
Site Admin
Posts: 60599
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: SC: Dubious syntax

Post by admin »

Yep. Fix comes. :tup:

Post Reply