Diff for /embedaddon/php/ext/dom/tests/DOMNode_cloneNode_basic.phpt between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:54 version 1.1.1.2, 2012/05/29 12:34:37
Line 29  EOXML; Line 29  EOXML;
   
 function dumpcourse($current) {  function dumpcourse($current) {
         $title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getAttribute('title'):"no title";           $title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getAttribute('title'):"no title"; 
        echo "Course: $title:";var_dump($current);        echo "Course: $title:";echo(get_class($current)), "\n";
         echo "~";var_dump($current->textContent);          echo "~";var_dump($current->textContent);
 }  }
   
Line 75  for ($index = 0; $index < $children->length; $index++) Line 75  for ($index = 0; $index < $children->length; $index++)
 --EXPECTF--  --EXPECTF--
 Start cloneNode test  Start cloneNode test
 node 0  node 0
Course: new title3:object(DOMElement)#6 (0) {Course: new title3:DOMElement
} 
 ~string(24) "  ~string(24) "
                                   
                         c1n1                          c1n1
Line 84  Course: new title3:object(DOMElement)#6 (0) { Line 83  Course: new title3:object(DOMElement)#6 (0) {
                                   
         "          "
 node 1  node 1
Course: two:object(DOMElement)#3 (0) {Course: two:DOMElement
} 
 ~string(24) "  ~string(24) "
                                   
                         c2n1                          c2n1
Line 93  Course: two:object(DOMElement)#3 (0) { Line 91  Course: two:object(DOMElement)#3 (0) {
                                   
         "          "
 node 2  node 2
Course: new title default:object(DOMElement)#4 (0) {Course: new title default:DOMElement
} 
 ~string(0) ""  ~string(0) ""
 node 3  node 3
Course: new title true:object(DOMElement)#7 (0) {Course: new title true:DOMElement
} 
 ~string(24) "  ~string(24) "
                                   
                         c1n1                          c1n1
Line 106  Course: new title true:object(DOMElement)#7 (0) { Line 102  Course: new title true:object(DOMElement)#7 (0) {
                                   
         "          "
 node 4  node 4
 Course: new title false:object(DOMElement)#8 (0) {  
 }  
 ~string(0) ""  
   
   Course: new title false:DOMElement
   ~string(0) ""

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>