I saw a condition like this:
if ((int)method_exists($this, $this->endpoint) > 0)
What's behind this? What's the advantage over the obvious
if (method_exists($this, $this->endpoint))
?
( Source: http://ift.tt/10m7lIi )
Aucun commentaire:
Enregistrer un commentaire