jeudi 16 février 2017

PHP test if operator exists?

I needed to power something today and I've remembered that there is a new operator **, but only since PHP 5.6, which is, sadly, still not that spread.

So I wonder - is there some way to test if operator exists not by testing PHP version?
Obviously, there is no such function as operator_exits(...) and I couldn't find anything else.

Aucun commentaire:

Enregistrer un commentaire