original_string: static function parseMobileNumber($number) {
      // Extract numerics
      $numerics = static::extractNumerics($number);
      // Set country code
      $countryCode = '';
      // Get last 10 digits
      $short = static::right($numerics, 10, $countryCode);
      // Set carrier code
      $carriercode = '';
      // Get number
      $number = static::right($short, 7, $carrierCode);
      // Return
      return compact('countryCode', 'carrierCode', 'number');
    }
code: static function parseMobileNumber($number) {
      // Extract numerics
      $numerics = static::extractNumerics($number);
      // Set country code
      $countryCode = '';
      // Get last 10 digits
      $short = static::right($numerics, 10, $countryCode);
      // Set carrier code
      $carriercode = '';
      // Get number
      $number = static::right($short, 7, $carrierCode);
      // Return
      return compact('countryCode', 'carrierCode', 'number');
    }
code_tokens: static function parseMobileNumber ( $ number ) { // Extract numerics $ numerics = static :: extractNumerics ( $ number ) ; // Set country code $ countryCode = '' ; // Get last 10 digits $ short = static :: right ( $ numerics , 10 , $ countryCode ) ; // Set carrier code $ carriercode = '' ; // Get number $ number = static :: right ( $ short , 7 , $ carrierCode ) ; // Return return compact ( 'countryCode' , 'carrierCode' , 'number' ) ; }
docstring: Parse mobile number
docstring_tokens: Parse mobile number