Jump to content

asi

New Members
  • Posts

    1
  • Joined

  • Last visited

asi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. asi

    in_array()

    I have wired code: PHP 8.1.2 if (in_array('false', [true], false)) { return true; } Above code return true ;/ why? Above code is equivalent to: if ('false' == true) { return true; } http://sandbox.onlinephpfunctions.com/code/6f6e1f06d145d74f71d2dc5fa08f36ef5dcda6ee
×
×
  • 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.