Create toBoolean.php

toBoolean excepts 2 parameters, the first is an string/int/bool-value, the second an clean bool value.

The first value is the one u want to convert, the second activates the $exact mode.