> Setting session.gc_maxlifetime is integer so !== can be there.

This is not true at all. Default value obtained by ini_get is string.