fix PHP parameter warning when this->env = false in __construct