string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => Filtering:
[1] => Array
(
[0] => Array
(
[0] =>
[1] => .body
[2] => :gt(1)
)
)
)
Stack length after filter(): 1Test 'Filter with pseudoclass' PASSED :)Array ( [0] => p.body ) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => Filtering:
[1] => Array
(
[0] => Array
(
[0] =>
[1] => .body
)
)
)
Stack length after filter(): 3
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => Filtering:
[1] => Array
(
[0] => Array
(
[0] =>
[1] => .title
)
)
)
Stack length after filter(): 2
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => Filtering:
[1] => Array
(
[0] => Array
(
[0] =>
[1] => .body
)
[1] => Array
(
[0] =>
[1] => .title
)
)
)
Stack length after filter(): 5Test 'Filter with multiplie selectors' PASSED :) Array ( [0] => p.body [1] => p.body [2] => p.body [3] => p.title [4] => p.title ) Array ( [0] => p.body [1] => p.body [2] => p.body [3] => p.title [4] => p.title ) string(275) "Full markup load (HTML):
This is paragraph of first LI
this is example title
this is example body
This is paragraph of second LI
this is example title 2
this is example body 2
This is paragraph of third LI
There isnt any title
this is example body 3
paragraph after UL
Array
(
[0] => FIND
[1] => li
[2] => Array
(
[0] => Array
(
[0] =>
[1] => li
)
)
)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.secondTest 'Slice1' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => li
[2] => Array
(
[0] => Array
(
[0] =>
[1] => li
)
)
)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.secondTest 'Slice2' PASSED :) string(90) "Full markup load (HTML):
XPATH: /html[1]/body[1]//*[@class]
QUERY FETCHED
Found: span.field1, comparing with matchClasses()
Found: span.field1, comparing with matchClasses()
Matched 2: span.field1, span.field1string(264) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => FIND
[1] => p.title:first
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
[2] => .title
[3] => :first
)
)
)
XPATH: //p[@class]
QUERY FETCHED
Found: p.title, comparing with matchClasses()
Found: p.body, comparing with matchClasses()
Found: p.title, comparing with matchClasses()
Found: p.body, comparing with matchClasses()
Found: p.noTitle, comparing with matchClasses()
Found: p.body, comparing with matchClasses()
Found: p.after, comparing with matchClasses()
Matched 2: p.title, p.title
iterating foreachTest 'Index' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => p:first
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
[2] => :first
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.afterarray(2) { [0]=> string(3) "Is:" [1]=> string(11) ".clone-test" } array(2) { [0]=> string(3) "Is:" [1]=> string(8) ".class-0" }
Inserting data with 'insertBefore'string(18) "From 1; To 1 nodes" array(2) { [0]=> string(3) "Is:" [1]=> string(11) ".clone-test" } array(2) { [0]=> string(3) "Is:" [1]=> string(8) ".class-1" }
Inserting data with 'insertBefore'string(18) "From 1; To 1 nodes" array(2) { [0]=> string(3) "Is:" [1]=> string(11) ".clone-test" } array(2) { [0]=> string(3) "Is:" [1]=> string(8) ".class-2" }
Inserting data with 'insertBefore'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => .clone-test
[2] => Array
(
[0] => Array
(
[0] =>
[1] => .clone-test
)
)
)
XPATH: //*[@class]
QUERY FETCHED
Found: div.articles, comparing with matchClasses()
Found: p.clone-test.class-0, comparing with matchClasses()
Found: p.clone-test.class-1, comparing with matchClasses()
Found: p.clone-test.class-2, comparing with matchClasses()
Found: p.title, comparing with matchClasses()
Found: p.body, comparing with matchClasses()
Found: p.title, comparing with matchClasses()
Found: p.body, comparing with matchClasses()
Found: p.noTitle, comparing with matchClasses()
Found: p.body, comparing with matchClasses()
Found: p.after, comparing with matchClasses()
Found: li.nested, comparing with matchClasses()
Found: li.second, comparing with matchClasses()
Matched 3: p.clone-test.class-0, p.clone-test.class-1, p.clone-test.class-2Test 'Clone' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => li:first
[2] => Array
(
[0] => Array
(
[0] =>
[1] => li
[2] => :first
)
)
)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.secondarray(2) { [0]=> string(3) "Is:" [1]=> string(7) "#testID" } Test 'Next' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => li
[2] => Array
(
[0] => Array
(
[0] =>
[1] => li
)
)
)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.secondarray(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } Test 'functionCallback' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => li
[2] => Array
(
[0] => Array
(
[0] =>
[1] => li
)
)
)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.secondarray(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } Test 'staticMethodCallback' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => li
[2] => Array
(
[0] => Array
(
[0] =>
[1] => li
)
)
)
XPATH: //li
QUERY FETCHED
Matched 6: li, li#testID, li, li#i_have_nested_list, li.nested, li.secondarray(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } array(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newClass" } Test 'methodCallback' PASSED :) string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.afterstring(253) "Full markup load (HTML):
Inserting data with 'insertBefore'string(18) "From 1; To 1 nodes"
Inserting data with 'append'string(18) "From 1; To 1 nodes" string(253) "Full markup load (HTML):
Inserting data with 'insertBefore'string(18) "From 1; To 1 nodes"
Inserting data with 'append'string(18) "From 1; To 1 nodes"
iterating foreacharray(2) { [0]=> string(3) "Is:" [1]=> string(8) ".wrapper" } array(2) { [0]=> string(3) "Is:" [1]=> string(8) ".wrapper" } Test 'Wrap' PASSED :)DUMP #0 string(181) "
this is example title
this is example body
" Test 'WrapAll' PASSED :)DUMP #1 string(208) "this is example title
this is example body
This is paragraph of first LI
this is example title
this is example body
"This is paragraph of first LI
this is example title
this is example body
string(275) "Full markup load (HTML):Array
(
[0] => FIND
[1] => p:eq(1)
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
[2] => :eq(1)
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Inserting data with 'after'string(275) "Full markup load (HTML):
this is exam" string(57) "Full markup load (HTML), using document's charset 'utf-8'" string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Removing 'p'
Array
(
[0] => FIND
[1] => p:eq(1)
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
[2] => :eq(1)
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.newTitle, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.afterarray(2) { [0]=> string(3) "Is:" [1]=> string(9) ".newTitle" } Test 'ReplaceWith' PASSED :)DUMP #3 string(91) "
this is example title
" Test 'ReplaceAll' PASSED :)DUMP #4 string(88) " " string(275) "Full markup load (HTML):Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
iterating foreach
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(27) "Importing nodes to document" string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 20: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after, p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.afterTest 'Multi document append phpQuery object' PASSED :)string(275) "Full markup load (HTML):
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
iterating foreach
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => body
[2] => Array
(
[0] => Array
(
[0] =>
[1] => body
)
)
)
XPATH: //body
QUERY FETCHED
Matched 1: body
Inserting data with 'append'string(18) "From 1; To 1 nodes"
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 20: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after, p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.after
Array
(
[0] => FIND
[1] => p
[2] => Array
(
[0] => Array
(
[0] =>
[1] => p
)
)
)
XPATH: //p
QUERY FETCHED
Matched 10: p, p.title, p.body, p, p.title, p.body, p, p.noTitle, p.body, p.afterTest 'Multi document append DOMNode' PASSED :)