original_string: private function removeUnrealizableInArray(array &$array)
      {
          $this->removeReferenceItemInArray($array);
          foreach ($array as &$value) {
              if (is_object($value)) {
                  $value = $this->removeUnserializable($value);
              }
              if (is_array($value)) {
                  $this->removeUnrealizableInArray($value);
              }
              if ($this->isUnserializable($value)) {
                  $value = null;
              }
          }
  
          return $array;
      }
code: private function removeUnrealizableInArray(array &$array)
      {
          $this->removeReferenceItemInArray($array);
          foreach ($array as &$value) {
              if (is_object($value)) {
                  $value = $this->removeUnserializable($value);
              }
              if (is_array($value)) {
                  $this->removeUnrealizableInArray($value);
              }
              if ($this->isUnserializable($value)) {
                  $value = null;
              }
          }
  
          return $array;
      }
code_tokens: private function removeUnrealizableInArray ( array & $ array ) { $ this -> removeReferenceItemInArray ( $ array ) ; foreach ( $ array as & $ value ) { if ( is_object ( $ value ) ) { $ value = $ this -> removeUnserializable ( $ value ) ; } if ( is_array ( $ value ) ) { $ this -> removeUnrealizableInArray ( $ value ) ; } if ( $ this -> isUnserializable ( $ value ) ) { $ value = null ; } } return $ array ; }
docstring: remove Unrealizable In Array
  
  @param array &$array
  
  @return array
docstring_tokens: remove Unrealizable In Array