3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $doc = new DOMDocument(); $doc->loadHTML('<html><body><a href="teste.php">Teste</a><a href="../teste2.php">Teste2</a></body></html>'); $links = $doc->getElementsByTagName('a'); print_r($links); foreach($links as $link) { echo $link->getAttribute('href') . "\n"; } echo $doc->saveHTML() . "\n\n"; $body = $doc->getElementsByTagName('body')[0]; $select = $doc->createElement('select'); $body->appendChild($select); echo $doc->saveHTML() . "\n\n"; function addElement($doc, $newElement, $parentElement, $attributesArray = null) { $pe = $doc->getElementsByTagName($parentElement)[0]; $ne = $doc->createElement($newElement); $pe->appendChild($ne); if (isset($attributesArray)) { while ( ($current = current($attributesArray)) ) { print_r($current); $attrib = key($current); $domAttribute = $doc->createAttribute($attrib); // Value for the created attribute $domAttribute->value = $current[$attrib]; // Don't forget to append it to the element $ne->appendChild($domAttribute); echo $attrib . '=' . $current[$attrib] . "\n"; next($array); } } echo $doc->saveHTML(); } $attribs = [ ['style' => '"border:1px solid black;"'] ]; addElement($doc, 'ul', 'select', $attribs);
based on QMK3v
Output for 5.6.3 - 7.3.0rc4
DOMNodeList Object ( [length] => 2 ) teste.php ../teste2.php <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body><a href="teste.php">Teste</a><a href="../teste2.php">Teste2</a></body></html> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body><a href="teste.php">Teste</a><a href="../teste2.php">Teste2</a><select></select></body></html> Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1px solid black;" ) style="border:1px solid black;" Warning: next() expects parameter 1 to be array, null given in /in/2LSkY on line 39 Array ( [style] => "border:1
Process exited with code 137.
Output for 5.6.0 - 5.6.2
DOMNodeList Object ( [length] => 2 ) teste.php ../teste2.php <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body><a href="teste.php">Teste</a><a href="../teste2.php">Teste2</a></body></html> Fatal error: Cannot use object of type DOMNodeList as array in /in/2LSkY on line 17
Process exited with code 255.