11

Yes, php, it makes total sense that `array_diff` compares the string representation of the elements.

Comments
  • 0
    if you start thinking of php as a cgi wrapper for a C api(an ugly one really, like the perfectly abstracted away curl api that forces to write lowlo level shit to send a post request, or god forbid you try to access the stdin stream using a proper language keyword), it'll start making sense why isset and is_null follow a clear naming standard, oh wait it doesn't :v, however the most handy insight i got was reading what the creator of php thinks about it
Add Comment