original_string: protected function parse_version_php($fullpath) {
  
          $content = $this->get_stripped_file_contents($fullpath);
  
          preg_match_all('#\$((plugin|module)\->(version|maturity|release|requires))=()(\d+(\.\d+)?);#m', $content, $matches1);
          preg_match_all('#\$((plugin|module)\->(maturity))=()(MATURITY_\w+);#m', $content, $matches2);
          preg_match_all('#\$((plugin|module)\->(release))=([\'"])(.*?)\4;#m', $content, $matches3);
          preg_match_all('#\$((plugin|module)\->(component))=([\'"])(.+?_.+?)\4;#m', $content, $matches4);
  
          if (count($matches1[1]) + count($matches2[1]) + count($matches3[1]) + count($matches4[1])) {
              $info = array_combine(
                  array_merge($matches1[1], $matches2[1], $matches3[1], $matches4[1]),
                  array_merge($matches1[5], $matches2[5], $matches3[5], $matches4[5])
              );
  
          } else {
              $info = array();
          }
  
          return $info;
      }
code: protected function parse_version_php($fullpath) {
  
          $content = $this->get_stripped_file_contents($fullpath);
  
          preg_match_all('#\$((plugin|module)\->(version|maturity|release|requires))=()(\d+(\.\d+)?);#m', $content, $matches1);
          preg_match_all('#\$((plugin|module)\->(maturity))=()(MATURITY_\w+);#m', $content, $matches2);
          preg_match_all('#\$((plugin|module)\->(release))=([\'"])(.*?)\4;#m', $content, $matches3);
          preg_match_all('#\$((plugin|module)\->(component))=([\'"])(.+?_.+?)\4;#m', $content, $matches4);
  
          if (count($matches1[1]) + count($matches2[1]) + count($matches3[1]) + count($matches4[1])) {
              $info = array_combine(
                  array_merge($matches1[1], $matches2[1], $matches3[1], $matches4[1]),
                  array_merge($matches1[5], $matches2[5], $matches3[5], $matches4[5])
              );
  
          } else {
              $info = array();
          }
  
          return $info;
      }
code_tokens: protected function parse_version_php ( $ fullpath ) { $ content = $ this -> get_stripped_file_contents ( $ fullpath ) ; preg_match_all ( '#\$((plugin|module)\->(version|maturity|release|requires))=()(\d+(\.\d+)?);#m' , $ content , $ matches1 ) ; preg_match_all ( '#\$((plugin|module)\->(maturity))=()(MATURITY_\w+);#m' , $ content , $ matches2 ) ; preg_match_all ( '#\$((plugin|module)\->(release))=([\'"])(.*?)\4;#m' , $ content , $ matches3 ) ; preg_match_all ( '#\$((plugin|module)\->(component))=([\'"])(.+?_.+?)\4;#m' , $ content , $ matches4 ) ; if ( count ( $ matches1 [ 1 ] ) + count ( $ matches2 [ 1 ] ) + count ( $ matches3 [ 1 ] ) + count ( $ matches4 [ 1 ] ) ) { $ info = array_combine ( array_merge ( $ matches1 [ 1 ] , $ matches2 [ 1 ] , $ matches3 [ 1 ] , $ matches4 [ 1 ] ) , array_merge ( $ matches1 [ 5 ] , $ matches2 [ 5 ] , $ matches3 [ 5 ] , $ matches4 [ 5 ] ) ) ; } else { $ info = array ( ) ; } return $ info ; }
docstring: Get as much information from existing version.php as possible
  
  @param string $fullpath full path to the version.php file
  @return array of found meta-info declarations
docstring_tokens: Get as much information from existing version . php as possible