Exakat\Analyzer\Type\SilentlyCastInteger::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // Binary or hexadecimal, cast to Real
        $this->atomIs('Real')->regexIs('code', '0[xXbB]')->back('first');
        $this->prepareQuery();
        // Octal cast to Real
        $this->atomIs('Real')->regexIs('code', '^0')->regexIsNot('code', '\\\\.')->back('first');
        $this->prepareQuery();
        // Too long integer
        $this->atomIs('Real')->regexIs('code', '^[0-9]+\\$')->regexIsNot('code', '\\\\.')->back('first');
        $this->prepareQuery();
    }
SilentlyCastInteger