Skip to main content

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code, (SLASH == "/") evaluates to FALSE...

They output the same character, though. I'm confused... can anyone explain why this is the case?

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code, (SLASH == "/") evaluates to FALSE...

They output the same character, though. I'm confused...

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code, (SLASH == "/") evaluates to FALSE...

They output the same character, though. I'm confused... can anyone explain why this is the case?

improved formatting
Source Link
Michael Rog
  • 783
  • 2
  • 6
  • 14

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code,

(SLASH == "/")

(SLASH == "/") evaluates to FALSEFALSE...

They output the same character, though. I'm confused...

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code,

(SLASH == "/")

evaluates to FALSE...

They output the same character, though. I'm confused...

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code, (SLASH == "/") evaluates to FALSE...

They output the same character, though. I'm confused...

Source Link
Michael Rog
  • 783
  • 2
  • 6
  • 14

SLASH constant isn't the same as "/" character [in PHP]?

I recently discovered that the EE/CI's SLASH constant isn't the same as the "/" character. Or, at least, in my plug-in code,

(SLASH == "/")

evaluates to FALSE...

They output the same character, though. I'm confused...