original_string: public function count(): int
      {
          $network_size = gmp_init($this->getNbAddresses());
          if (gmp_cmp($network_size, PHP_INT_MAX) > 0) {
              throw new \RuntimeException('The number of addresses is bigger than PHP_INT_MAX, use getNbAddresses() instead');
          }
  
          return gmp_intval($network_size);
      }
code: public function count(): int
      {
          $network_size = gmp_init($this->getNbAddresses());
          if (gmp_cmp($network_size, PHP_INT_MAX) > 0) {
              throw new \RuntimeException('The number of addresses is bigger than PHP_INT_MAX, use getNbAddresses() instead');
          }
  
          return gmp_intval($network_size);
      }
code_tokens: public function count ( ) : int { $ network_size = gmp_init ( $ this -> getNbAddresses ( ) ) ; if ( gmp_cmp ( $ network_size , PHP_INT_MAX ) > 0 ) { throw new \ RuntimeException ( 'The number of addresses is bigger than PHP_INT_MAX, use getNbAddresses() instead' ) ; } return gmp_intval ( $ network_size ) ; }
docstring: Count the number of addresses contained with the address block. May exceed PHP's internal maximum integer.
  
  @return int
  
  @throws \RuntimeException thrown if the number of addresses exceeds PHP_INT_MAX
docstring_tokens: Count the number of addresses contained with the address block . May exceed PHP s internal maximum integer .