(PHP 5, PHP 7)
DOMDocument::createProcessingInstruction — Yeni bir işlem komutu düğümü oluşturur
$hedef
, string $veri
= ?
) : DOMProcessingInstructionBu 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.
hedef
İşlem komutunun hedefi.
veri
İşlem komutunun içeriği.
Bir hata oluşursa false
yoksa yeni bir
DOMProcessingInstruction nesnesi döner.
DOM_INVALID_CHARACTER_ERR
hedef
geçersiz karakter içeriyırsa oluşur.