Du meinst jetzt aber nicht das string-variable-concading, oder?
Code
if($intcidr>static::CIDRMAX() || $intcidr<static::CIDRMIN())
VS
if($intcidr > static::CIDRMAX() || $intcidr < static::CIDRMIN())
else if(strpos($address, Ipv4Calculator::CIDRSEPARATOR())!==false && $netmask===null)
VS
else if(strpos($address, Ipv4Calculator::CIDRSEPARATOR()) !== false && $netmask === null)