p

'); //print $doc['article']->children(':empty')->get(0)->tagName; //$doc = phpQuery::newDocumentFile('test.html'); //setlocale(LC_ALL, 'pl_PL.UTF-8'); //$string = strftime('%B %Y', time()); //$doc['p:first']->append($string)->dump(); /* * $doc1 = phpQuery::newDocumentFileXHTML('doc1.html'); $doc2 = phpQuery::newDocumentFileXHTML('doc2.html'); $doc3 = phpQuery::newDocumentFileXHTML('doc3.html'); $doc4 = phpQuery::newDocumentFileXHTML('doc4.html'); $doc2['body'] ->append($doc3['body >*']) ->append($doc4['body >*']); $doc1['body'] ->append($doc2['body >*']); print $doc1->plugin('Scripts')->script('safe_print'); */ //$doc = phpQuery::newDocument('

p1 b1 b2

p2

'); //print $doc['p']->contents()->not('[nodeType=1]'); //print phpQuery::newDocumentFileXML('tmp.xml'); //$doc = phpQuery::newDocumentXML('textnodetest'); //pq('

', $doc)->insertBefore(pq('node'))->append(pq('node')); //$doc->contents()->wrap('

'); //$doc['node']->wrapAll('

'); // ->contents() // ->wrap('

'); //print $doc; // http://code.google.com/p/phpquery/issues/detail?id=66 //$doc = phpQuery::newDocumentXML('

123123

'); //$doc->dump(); //$doc->children()->wrapAll('
')->dump(); // http://code.google.com/p/phpquery/issues/detail?id=69 //$doc = phpQuery::newDocumentXML('

123123

'); //$doc['[class^="test"]']->dump(); // http://code.google.com/p/phpquery/issues/detail?id=71 // $doc = phpQuery::newDocument(''); // print $doc['input']->val('new')->val(); // http://code.google.com/p/phpquery/issues/detail?id=71 // $doc = phpQuery::newDocument(''); // $doc['select']->val('20')->dump(); // http://code.google.com/p/phpquery/issues/detail?id=73 // $doc = phpQuery::newDocument(''); // var_dump($doc['input']->val(0)->val()); // $a = null; // new CallbackReference($a); // phpQuery::callbackRun(new CallbackReference($a), array('new $a value')); // var_dump($a); // check next() inside (also, but separatly) // $inputs->dump(); // foreach($inputs as $node) { // } // $inputs->dump(); // http://code.google.com/p/phpquery/issues/detail?id=74 // http://code.google.com/p/phpquery/issues/detail?id=31 //$doc = phpQuery::newDocument('
'); //$doc['div']->filter('.class1, .class2')->dump()->dumpWhois(); // http://code.google.com/p/phpquery/issues/detail?id=76 // mb_internal_encoding("UTF-8"); // mb_regex_encoding("UTF-8"); // $xml = phpQuery::newDocumentXML('<документа/>'); // // $xml['документа']->append('<список>'); // $xml['документа список'] = '<эл>1<эл>2<эл>3'; // print "$xml"; // zeromski 0.9.5 vs 0.9.1 // phpQuery::newDocumentXML('')->dump(); // http://code.google.com/p/phpquery/issues/detail?id=77 // phpQuery::newDocumentFile('http://google.com/') // ->find('body > *')->dumpWhois(); /*$XHTML = <<

Vous êtes ici :

Editorial

EOF; phpQuery::newDocumentXHTML($XHTML) ->find('body:first > *')->dumpWhois();*/ // http://code.google.com/p/phpquery/issues/detail?id=83 //$doc = phpQuery::newDocument('
'); //print $doc['[name=toto]']->val('1'); //$doc = phpQuery::newDocumentFile('http://www.google.pl/search?hl=en&q=test&btnG=Google+Search'); //print $doc; // http://code.google.com/p/phpquery/issues/detail?id=88 //$doc = phpQuery::newDocumentXML(''); //$doc['foo']->find('bar')->andSelf()->addClass('test'); //$doc->dump(); // http://code.google.com/p/phpquery/issues/detail?id=90 //print phpQuery::newDocument('') // ->find('body') // ->load('http://localhost/phpinfo.php'); // http://code.google.com/p/phpquery/issues/detail?id=91 // phpQuery::newDocumentXML(''); // print pq('foo')->filter('[bar$=c]'); // FIXME http://code.google.com/p/phpquery/issues/detail?id=93 //$doc = 'SomeTitle // //blah //'; //$pq = phpQuery::newDocument($doc); //echo $pq; # http://code.google.com/p/phpquery/issues/detail?id=94#makechanges //$doc = phpQuery::newDocument(); //$test = pq( //' //
  • // // //
    // // //
  • //' //); // http://code.google.com/p/phpquery/issues/detail?id=96 //$doc = phpQuery::newDocument(''); //$doc = phpQuery::newDocument(''); //print $doc['select']->val(3)->end()->script('print_source'); //(16:27:56) jomofcw: $option_element = //(16:27:56) jomofcw: pq('