Jump to content

[SOLVED] what are the <+ and <- operators?


blueman378

Recommended Posts

Hi guys, i accidentially typed in one of these operators and it worked, so im wondering what it is acctually doing.

 

Heres a table i made, maybe someone knows or can gather what <+ and +- means

 

----------------------------------------------------

POSITIVES  "<"

----------------------------------------------------

if( 3 <+ 3 ) false        if( 3 <- 3 ) false

if( 3 <+ 2 ) false        if( 3 <- 2 ) false

if( 3 <+ 1 ) false        if( 3 <- 1 ) false

 

if( 2 <+ 3 ) true        if( 2 <- 3 ) false

if( 1 <+ 3 ) true        if( 1 <- 3 ) false

 

<+ only true if first number less than than second

<- never true?

 

----------------------------------------------------

NEGATIVES  "<"

----------------------------------------------------

 

if( -3 <+ -3 ) false      if( -3 <- -3 ) true

if( -3 <+ -2 ) true      if( -3 <- -2 ) true

if( -3 <+ -1 ) true      if( -3 <- -1 ) true

 

if( -2 <+ -3 ) false      if( -2 <- -3 ) true

if( -1 <+ -3 ) false      if( -1 <- -3 ) true

 

<+ only true if second number is less than first

<- always true?

Link to comment
https://forums.phpfreaks.com/topic/157038-solved-what-are-the/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.