Home > PHP > Function > XMLWriter > XMLWriter::startPI()

XMLWriter::startPI()

XMLWriter::startPI - Create start PI tag

Syntax

bool XMLWriter::startPI (string $target, resource $xmlwriter, string $target, string $target, resource $xmlwriter, string $target)

Arguments

  • target - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • xmlwriter - The target of the processing instruction.
  • target
  • target - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • xmlwriter - The target of the processing instruction.
  • target

Description

Object oriented style

Version

PHP 5.1.2, PECL xmlwriter >= 0.1.0

Return value

Returns TRUE on success or FALSE on failure.