0

Is there a difference ? I don't get it. Or maybe a string is a class and String is a reference to the System.string? like in c#

  • 6
    types are case insensitive, there are no differences. You can even use `StRiNg` if you think it's funny – Cid Dec 08 '21 at 08:26
  • In php there is no such thing as String only string it's only case insensitive but now proper ide warn about a base type usage – Youssef Saoubou Dec 08 '21 at 08:26
  • Check this: https://stackoverflow.com/questions/33273941/php-case-sensitivity – Robert Dec 08 '21 at 08:27
  • https://www.php.net/manual/en/language.types.intro.php . There's no System.string in PHP. – ADyson Dec 08 '21 at 10:02

1 Answers1

-2

string in php is not an object, which mean, you can't use method like equals or other that can be use in java.

string in php is a type as well as float, int ...

Florent Cardot
  • 1,400
  • 1
  • 10
  • 19