Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/extractors/ARC2_PoshRdfExtractor.php:831array_merge($ct, array('ns' => array_merge($ct['ns'], $this->v('xmlns', array( ), $n['a'])), 'rpointer' => isset($n['a']['id']) ? $n['a']['id'] : ($n['tag'] == 'cdata' '' $ct['rpointer'] . '/' $pos), 'tag' => $n['tag'], 'id' => $n['id'], 'lang' => $this->v('xml:lang'$ct['lang'], $n['a']),  ))
/store/ARC2_StoreLoadQueryHandler.php:1161$o = (($o_type == 'bnode') && !$this->keep_bnode_ids) ? '_:b' abs(crc32($g $o)) . '_' . (strlen($o) > 12 substr(substr($o2), -10) : substr($o2)) : $o
/store/ARC2_StoreLoadQueryHandler.php:1151$s = (($s_type == 'bnode') && !$this->keep_bnode_ids) ? '_:b' abs(crc32($g $s)) . '_' . (strlen($s) > 12 substr(substr($s2), -10) : substr($s2)) : $s
/store/ARC2_StoreLoadQueryHandler.php:2461$sql "SELECT t FROM " $this->store->getTablePrefix( ) . "triple WHERE 
      s = " 
$t['s'] . " AND p = " $t['p'] . " AND o = " $t['o'] . " AND o_lang_dt = " $t['o_lang_dt'] . " AND s_type = " $t['s_type'] . " AND o_type = " $t['o_type'] . "
      LIMIT 1
    "
/store/ARC2_StoreLoadQueryHandler.php:1181$t = array('s' => $this->getStoredTermID($s$type_ids[$s_type], 's'), 'p' => $this->getStoredTermID($p'0''id'), 'o' => $this->getStoredTermID($o$type_ids[$o_type], 'o'), 'o_lang_dt' => $this->getStoredTermID($o_dt $o_lang$o_dt '0' '2''id'), 'o_comp' => $this->getOComp($o), 's_type' => $type_ids[$s_type], 'o_type' => $type_ids[$o_type],  )
/store/ARC2_StoreLoadQueryHandler.php:3991$this->insert_times[$tbl] = array('min' => min($dur$this->insert_times[$tbl]['min']), 'max' => max($dur$this->insert_times[$tbl]['max']), 'sum' => $dur $this->insert_times[$tbl]['sum'])
/store/ARC2_StoreLoadQueryHandler.php:3401$this->sql_buffers[$tbl] .= $sql "(" $t['t'] . ", " $t['s'] . ", " $t['p'] . ", " $t['o'] . ", " $t['o_lang_dt'] . ", '" mysql_real_escape_string($t['o_comp'], $con) . "', " $t['s_type'] . ", " $t['o_type'] . ")"
/extractors/ARC2_PoshRdfExtractor.php:831$lct array_merge($ct, array('ns' => array_merge($ct['ns'], $this->v('xmlns', array( ), $n['a'])), 'rpointer' => isset($n['a']['id']) ? $n['a']['id'] : ($n['tag'] == 'cdata' '' $ct['rpointer'] . '/' $pos), 'tag' => $n['tag'], 'id' => $n['id'], 'lang' => $this->v('xml:lang'$ct['lang'], $n['a']),  ))
/extractors/ARC2_PoshRdfExtractor.php:531$context = array('id' => $n['id'], 'tag' => $n['tag'], 'base' => $base's' => array(array('_doc'$base)), 'next_s' => array('_doc'$base), 'ps' => array( ), 'ns' => $this->a['ns'], 'lang' => '''rpointer' => '',  )
/sparqlscript/ARC2_SPARQLScriptProcessor.php:3631$val2 = isset($this->env['vars'][$block['var3']['value']]) ? $this->env['vars'][$block['var3']['value']] : array('value_type' => 'undefined''value' => '')
/sparqlscript/ARC2_SPARQLScriptProcessor.php:3621$val1 = isset($this->env['vars'][$block['var2']['value']]) ? $this->env['vars'][$block['var2']['value']] : array('value_type' => 'undefined''value' => '')
/store/ARC2_StoreEndpoint.php:3271$formats = array('xml' => 'SPARQLXML''sparql-results+xml' => 'SPARQLXML''json' => 'SPARQLJSON''sparql-results+json' => 'SPARQLJSON''php_ser' => 'PHPSER''plain' => 'Plain''sql' => ($this->allow_sql 'Plain' 'xSQL'), 'infos' => 'Plain''htmltab' => 'HTMLTable''tsv' => 'TSV',  )
/store/ARC2_StoreSelectQueryHandler.php:15951$r = ($op == '!') ? $sub_r_1 ' NOT LIKE ' $m[1] . $m[2] . '%' $m[1] : $sub_r_1 ' LIKE ' $m[1] . $m[2] . '%' $m[1]
/store/ARC2_StoreEndpoint.php:5921$formats = array('rdfxml' => 'RDFXML''rdf+xml' => 'RDFXML''json' => 'RDFJSON''rdf+json' => 'RDFJSON''turtle' => 'Turtle''x-turtle' => 'Turtle''rdf+n3' => 'Turtle''php_ser' => 'PHPSER''sql' => ($this->allow_sql 'Plain' 'xSQL'), 'infos' => 'Plain',  )
/store/ARC2_StoreEndpoint.php:5302$formats = array('xml' => 'SPARQLXML''sparql-results+xml' => 'SPARQLXML''json' => 'SPARQLJSON''sparql-results+json' => 'SPARQLJSON''plain' => 'Plain''php_ser' => 'PHPSER''sql' => ($this->allow_sql 'Plain' 'xSQL'), 'infos' => 'Plain',  )
/store/ARC2_StoreEndpoint.php:7112$formats = array('xml' => 'SPARQLXML''sparql-results+xml' => 'SPARQLXML''json' => 'SPARQLJSON''sparql-results+json' => 'SPARQLJSON''plain' => 'Plain''php_ser' => 'PHPSER''sql' => ($this->allow_sql 'Plain' 'xSQL'), 'infos' => 'Plain',  )
/store/ARC2_StoreEndpoint.php:6481$formats = array('rdfxml' => 'RDFXML''rdf+xml' => 'RDFXML''json' => 'RDFJSON''rdf+json' => 'RDFJSON''turtle' => 'Turtle''x-turtle' => 'Turtle''rdf+n3' => 'Turtle''php_ser' => 'PHPSER''sql' => ($this->allow_sql 'Plain' 'xSQL'), 'infos' => 'Plain')
/ARC2.php:2321$r[] = array('s' => $s'p' => $p'o' => $o['value'], 's_type' => preg_match('/^\_\:/'$s) ? 'bnode' 'uri''o_type' => $o['type'], 'o_datatype' => isset($o['datatype']) ? $o['datatype'] : '''o_lang' => isset($o['lang']) ? $o['lang'] : '',  )
/ARC2_Reader.php:2271$h_code $http_mthd ' ' $this->v1('path''/'$parts) . (($v $this->v1('query'0$parts)) ? '?' $v '') . (($v $this->v1('fragment'0$parts)) ? '#' $v '')
/ARC2_Reader.php:2311$h_code .= ' HTTP/1.0' $nl 'Host: ' $parts['host'] . $port_code $nl . (($v $this->http_accept_header) ? $v $nl '') . (($v $this->http_user_agent_header) && !preg_match('/User\-Agent\:/'$this->http_custom_headers) ? $v $nl '') . (($http_mthd == 'POST') ? 'Content-Length: ' strlen($this->message_body) . $nl '') . ($this->http_custom_headers trim($this->http_custom_headers) . $nl '') . $nl ''
/serializers/ARC2_NTriplesSerializer.php:1641$r = ((ord($c_utf[0]) - 224) * 4096) + ((ord($c_utf[1]) - 128) * 64) + (ord($c_utf[2]) - 128)
/serializers/ARC2_NTriplesSerializer.php:1671$r = ((ord($c_utf[0]) - 240) * 262144) + ((ord($c_utf[1]) - 128) * 4096) + ((ord($c_utf[2]) - 128) * 64) + (ord($c_utf[3]) - 128)
/sparqlscript/ARC2_SPARQLScriptProcessor.php:1291$r_struct = array('y' => date('Y'), 'mo' => date('m'), 'd' => date('d'), 'h' => date('H'), 'mi' => date('i'), 's' => date('s'))
/sparqlscript/ARC2_SPARQLScriptProcessor.php:3351$r = array('value_type' => isset($vts[$qt]) ? $vts[$qt] : $qt ' result''value' => ($qt == 'select') ? $this->v('rows', array( ), $qr['result']) : $qr['result'],  )
/parsers/ARC2_TurtleParser.php:4422$r['triples'][] = array('type' => 'triple''s' => $s'p' => $this->rdf 'first''o' => $sub_r['id'], 's_type' => 'bnode''p_type' => 'uri''o_type' => $sub_r['type'], 'o_lang' => '''o_datatype' => '')
/parsers/ARC2_TurtleParser.php:4472$r['triples'][] = array('type' => 'triple''s' => $s'p' => $this->rdf 'first''o' => $sub_r['id'], 's_type' => 'bnode''p_type' => 'uri''o_type' => $sub_r['type'], 'o_lang' => '''o_datatype' => '')
/parsers/ARC2_RDFXMLParser.php:2411$s = array('x_base' => isset($a[$this->xml 'base']) ? $this->calcURI($a[$this->xml 'base']) : $this->getParentXBase( ), 'x_lang' => isset($a[$this->xml 'lang']) ? $a[$this->xml 'lang'] : $this->getParentXLang( ), 'li_count' => 0,  )
/parsers/ARC2_TurtleParser.php:4381$r['triples'][] = array('type' => 'triple''s' => $s'p' => $this->rdf 'first''o' => $sub_r['value'], 's_type' => 'bnode''p_type' => 'uri''o_type' => $sub_r['type'], 'o_lang' => $this->v('lang'''$sub_r), 'o_datatype' => $this->v('datatype'''$sub_r))
/parsers/ARC2_TurtleParser.php:8581$char chr(($no >> 18) + 240) . chr((($no >> 12) & 63) + 128) . chr((($no >> 6) & 63) + 128) . chr(($no 63) + 128)
/parsers/ARC2_TurtleParser.php:4541$r['triples'][] = array('type' => 'triple''s' => $s'p' => $this->rdf 'rest''o' => $this->rdf 'nil''s_type' => 'bnode''p_type' => 'uri''o_type' => 'uri''o_lang' => '''o_datatype' => '')
/parsers/ARC2_TurtleParser.php:4601$r['triples'][] = array('type' => 'triple''s' => $s'p' => $this->rdf 'rest''o' => $next_s's_type' => 'bnode''p_type' => 'uri''o_type' => 'bnode''o_lang' => '''o_datatype' => '')
/extractors/ARC2_ErdfExtractor.php:1742$t = array('s' => $s's_type' => 'uri''p' => $ct['ns']['rdfs'] . 'label''o' => $ct['cur_obj_literal']['value'], 'o_type' => 'literal''o_lang' => $ct['cur_obj_literal']['datatype'] ? '' $ct['cur_obj_literal']['lang'], 'o_datatype' => $ct['cur_obj_literal']['datatype'],  )
/extractors/ARC2_ErdfExtractor.php:1892$t = array('s' => $s's_type' => 'uri''p' => $ct['ns']['rdfs'] . 'label''o' => $ct['cur_obj_literal']['value'], 'o_type' => 'literal''o_lang' => $ct['cur_obj_literal']['datatype'] ? '' $ct['cur_obj_literal']['lang'], 'o_datatype' => $ct['cur_obj_literal']['datatype'],  )
/extractors/ARC2_ErdfExtractor.php:812$t = array('s' => $ct['cur_res'], 's_type' => 'uri''p' => $uri'o' => $ct['cur_obj_literal']['value'], 'o_type' => 'literal''o_lang' => $ct['cur_obj_literal']['datatype'] ? '' $ct['cur_obj_literal']['lang'], 'o_datatype' => $ct['cur_obj_literal']['datatype'],  )
/extractors/ARC2_ErdfExtractor.php:1192$t = array('s' => $ct['cur_res'], 's_type' => 'uri''p' => $uri'o' => $ct['cur_obj_literal']['value'], 'o_type' => 'literal''o_lang' => $ct['cur_obj_literal']['datatype'] ? '' $ct['cur_obj_literal']['lang'], 'o_datatype' => $ct['cur_obj_literal']['datatype'],  )
/parsers/ARC2_AtomParser.php:911$this->mappings = array('feed' => $this->rss 'channel''entry' => $this->rss 'item''title' => $this->rss 'title''link' => $this->rss 'link''summary' => $this->rss 'description''content' => $this->content 'encoded''id' => $this->dc 'identifier''author' => $this->dc 'creator''category' => $this->dc 'subject''updated' => $this->dc 'date''source' => $this->dc 'source',  )
/parsers/ARC2_RSSParser.php:871$this->mappings = array('channel' => $this->rss 'channel''item' => $this->rss 'item''title' => $this->rss 'title''link' => $this->rss 'link''description' => $this->rss 'description''guid' => $this->dc 'identifier''author' => $this->dc 'creator''category' => $this->dc 'subject''pubDate' => $this->dc 'date''pubdate' => $this->dc 'date''source' => $this->dc 'source''enclosure' => $this->enc 'enclosure',  )
/extractors/ARC2_RdfaExtractor.php:2111$new_ct = array('base' => $lct['base'], 'p_s' => $lct['new_s'] ? $lct['new_s'] : $ct['p_s'], 'p_o' => $lct['cur_o_res'] ? $lct['cur_o_res'] : ($lct['new_s'] ? $lct['new_s'] : $ct['p_s']), 'ns' => $lct['ns'], 'inco_ts' => $lct['inco_ts'], 'lang' => $lct['lang'])
/parsers/ARC2_LegacyXMLParser.php:2391$node = array('tag' => $t'tag_exact' => $t_exact'a' => $a'level' => $this->level'pos' => 0'p_id' => $this->node_count 1'state' => 'open''empty' => 0'cdata' => '')
/parsers/ARC2_TurtleParser.php:5311elseif(!$this->x('\s'$sub_v) && ($sub_r $this->x('\^\^'$sub_v)) && (list($sub_r$sub_v) = $this->xIRIref($sub_r[1])) && $sub_r[1]) { /**/ }
/extractors/ARC2_RdfaExtractor.php:773if(isset($n['a'][$attr]) && (list($uri$sub_v) = $this->xURI($n['a'][$attr], $lct['base'], $lct['ns'], ''$lct)) && $uri) { /**/ }
/extractors/ARC2_RdfaExtractor.php:993if(isset($n['a'][$attr]) && (list($uri$sub_v) = $this->xURI($n['a'][$attr], $lct['base'], $lct['ns'], ''$lct)) && $uri) { /**/ }
/extractors/ARC2_RdfaExtractor.php:1163if(isset($n['a'][$attr]) && (list($uri$sub_v) = $this->xURI($n['a'][$attr], $lct['base'], $lct['ns'], ''$lct)) && $uri) { /**/ }