array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'domdocument.createprocessinginstruction.php', 1 => 'DOMDocument::createProcessingInstruction', ), 'up' => array ( 0 => 'class.domdocument.php', 1 => 'DOMDocument', ), 'prev' => array ( 0 => 'domdocument.createentityreference.php', 1 => 'DOMDocument::createEntityReference', ), 'next' => array ( 0 => 'domdocument.createtextnode.php', 1 => 'DOMDocument::createTextNode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/dom/domdocument/createprocessinginstruction.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
DOMDocument::createProcessingInstruction — Yeni bir işlem komutu düğümü oluşturur
$target
, string $data
= ""): DOMProcessingInstruction|falseBu işlev yeni bir DOMProcessingInstruction nesnesi oluşturur. Bu düğüm, DomNode::append_child() gibi bir yöntemle belgeye yerleştirilmedikçe belgede gösterilmez.
target
İşlem komutunun hedefi.
data
İşlem komutunun içeriği.
Bir hata oluşursa false
yoksa yeni bir
DOMProcessingInstruction nesnesi döner.