Tag: REST API

  • PHP’s isset(). Semantics? Meh.

    PHP’s isset(). Semantics? Meh.

    While I was working on the definition of the parameter set for a new WordPress REST API controller, I came across something odd. Fire up PHP’s interactive shell and see for yourself: Well to be honest, when I ask you whether something is set, I expect you to tell me if it is set, whatever…

Share