3v4l.org

run code in 300+ PHP versions simultaneously
<?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);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
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;" Fatal error: Uncaught TypeError: next(): Argument #1 ($array) must be of type array, null given in /in/2LSkY:39 Stack trace: #0 /in/2LSkY(39): next(NULL) #1 /in/2LSkY(49): addElement(Object(DOMDocument), 'ul', 'select', Array) #2 {main} thrown in /in/2LSkY on line 39
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 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;" Fatal error: Uncaught TypeError: next(): Argument #1 ($array) must be of type array, null given in /in/2LSkY:39 Stack trace: #0 /in/2LSkY(39): next(NULL) #1 /in/2LSkY(49): addElement(Object(DOMDocument), 'ul', 'select', Array) #2 {main} thrown in /in/2LSkY on line 39
Process exited with code 255.
Output for 5.6.3 - 5.6.24, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
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.

preferences:
212.28 ms | 401 KiB | 185 Q