src/Faker/Address.php
public static function streetAddress($includeSecondary = false)
    {
        $chunks = array(
            self::pickOne(array('#####', '####', '###')),
            self::streetName(),
        );

        if ($includeSecondary) {
            $chunks[] = self::secondaryAddress();
        }

        return self::numerify(implode(' ', $chunks));
    }
public static function streetAddress($includeSecondary = false)
    {
        $chunks = array(
            self::pickOne(array('#####', '####', '###')),
            self::streetName(),
        );

        if ($includeSecondary) {
            $chunks[] = self::secondaryAddress();
        }

        return self::numerify(implode(' ', $chunks));
    }
public static function streetAddress ( $ includeSecondary = false ) { $ chunks = array ( self :: pickOne ( array ( '#####' , '####' , '###' ) ) , self :: streetName ( ) , ) ; if ( $ includeSecondary ) { $ chunks [ ] = self :: secondaryAddress ( ) ; } return self :: numerify ( implode ( ' ' , $ chunks ) ) ; }
Generate a random street address.

@access public
@static
@param bool $includeSecondary Include a secondary address, e.g. "Apt. 100"? (default: false)
@return string Street address
Generate a random street address .