« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 16 for Behind (0.003 sec.)
エラー配列を取得する 12597
« libxml_disable_entity_loader libxml_get_external_entity_loader » PHP Manual libxml 関数 エラー配列を取得する 検索 libxml_get_errors (PHP 5 >= 5.1.0, PHP 7, PHP 8) libxml_get_errors — エラー配列を取得する 説明 function libxml_get_errors () ... ibxml_use_internal_errors ( true ); $xmlstr = <<< XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <titles>PHP: Behind the Parser</title> </movie> </movies> XML; $doc = simplexml_load_string ( $xmlstr ); $xml = explode ( "\n" , $xmlstr ); if ... return " $return \n\n--------------------------------------------\n\n" ; } ?> 上の例の出力は以下となります。 <titles>PHP: Behind the Parser</title> -----------------------------------------^ Fatal Error 76: Opening and ending tag mismatch: titles line ... クリアする 関連キーワード: libxml errors return xmlstr titles title line case code break entity loader ハンドラ movies movie Behind Parser display clear column Line Column disable external バッファ ...
https://man.mtool.work/php/8.3/function.libxml-get-errors.html
基本的な SimpleXML の使用法 11592
« 例 XML エラーの対応 » PHP Manual 例 基本的な SimpleXML の使用法 検索 基本的な SimpleXML の使用法 このリファレンスの多くの例では XML 文字列が必要です。それぞれの例で この文字列をくり返す代わりに、あるファイルにこの文字列を保存して、 例ごと ... イル examples/simplexml-data.php <?php $xmlstr = <<<XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> ... examples/simplexml-data.php' ; $movies = new SimpleXMLElement ( $xmlstr ); if ((string) $movies -> movie -> title == 'PHP: Behind the Parser' ) { print 'My favorite movie.' ; } echo htmlentities ((string) $movies -> movie -> title ); ?> 上の例の出力は以 ... 下となります。 My favorite movie.PHP: Behind the Parser 例7 ふたつの要素の比較 たとえ同一の要素を指していたとしても 2 つの SimpleXMLElements は異なるものと見なされます ...
https://man.mtool.work/php/8.3/simplexml.examples-basic.html
基本的な SimpleXML の使用法 11592
« 例 XML エラーの対応 » PHP Manual 例 基本的な SimpleXML の使用法 検索 基本的な SimpleXML の使用法 このリファレンスの多くの例では XML 文字列が必要です。それぞれの例で この文字列をくり返す代わりに、あるファイルにこの文字列を保存して、 例ごと ... イル examples/simplexml-data.php <?php $xmlstr = <<<XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> ... examples/simplexml-data.php' ; $movies = new SimpleXMLElement ( $xmlstr ); if ((string) $movies -> movie -> title == 'PHP: Behind the Parser' ) { print 'My favorite movie.' ; } echo htmlentities ((string) $movies -> movie -> title ); ?> 上の例の出力は以 ... 下となります。 My favorite movie.PHP: Behind the Parser 例7 ふたつの要素の比較 たとえ同一の要素を指していたとしても 2 つの SimpleXMLElements は異なるものと見なされます ...
https://man.mtool.work/php/8.3/simplexml.examples-basic.html
エラー配列を取得する 10327
« libxml_disable_entity_loader libxml_get_external_entity_loader » PHP Manual libxml 関数 エラー配列を取得する 検索 libxml_get_errors (PHP 5 >= 5.1.0, PHP 7, PHP 8) libxml_get_errors — エラー配列を取得する 説明 function libxml_get_errors () ... ibxml_use_internal_errors ( true ); $xmlstr = <<< XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <titles>PHP: Behind the Parser</title> </movie> </movies> XML; $doc = simplexml_load_string ( $xmlstr ); $xml = explode ( "\n" , $xmlstr ); if ... return " $return \n\n--------------------------------------------\n\n" ; } ?> 上の例の出力は以下となります。 <titles>PHP: Behind the Parser</title> -----------------------------------------^ Fatal Error 76: Opening and ending tag mismatch: titles line ...
https://man.mtool.work/php/8.3/function.libxml-get-errors.html
Call a remote service 8300
« Yar_Client Yar_Client::__construct » PHP Manual Yar_Client Call a remote service 検索 Yar_Client::call (PECL yar >= 1.0.0) Yar_Client::call — Call a remote service 説明 public function Yar_Client::call ( string $method , array $arguments ... php" ); /* The usual way: invoke the remote method as if it were local. * This is translated into call("add", array(1, 2)) behind the scenes. */ var_dump ( $client -> add ( 1 , 2 )); /* Equivalent: call the method explicitly by name */ var_dump ( $clie ...
https://man.mtool.work/php/8.3/yar-client.call.html
Call a remote service 8300
« Yar_Client Yar_Client::__construct » PHP Manual Yar_Client Call a remote service 検索 Yar_Client::call (PECL yar >= 1.0.0) Yar_Client::call — Call a remote service 説明 public function Yar_Client::call ( string $method , array $arguments ... php" ); /* The usual way: invoke the remote method as if it were local. * This is translated into call("add", array(1, 2)) behind the scenes. */ var_dump ( $client -> add ( 1 , 2 )); /* Equivalent: call the method explicitly by name */ var_dump ( $clie ...
https://man.mtool.work/php/8.3/yar-client.call.html
SimpleXML 要素に属性を追加する 7797
« SimpleXMLElement SimpleXMLElement::addChild » PHP Manual SimpleXMLElement SimpleXML 要素に属性を追加する 検索 SimpleXMLElement::addAttribute (PHP 5 >= 5.1.3, PHP 7, PHP 8) SimpleXMLElement::addAttribute — SimpleXML 要素に属性を追加する 説 ... 力は、 たとえば以下のようになります。 <?xml version="1.0" standalone="yes"?> <movies type="documentary"> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> ...
https://man.mtool.work/php/8.3/simplexmlelement.addattribute.html
XML ノードに子要素を追加する 7797
« SimpleXMLElement::addAttribute SimpleXMLElement::asXML » PHP Manual SimpleXMLElement XML ノードに子要素を追加する 検索 SimpleXMLElement::addChild (PHP 5 >= 5.1.3, PHP 7, PHP 8) SimpleXMLElement::addChild — XML ノードに子要素を追加する 説明 ... 力は、 たとえば以下のようになります。 <?xml version="1.0" standalone="yes"?> <movies type="documentary"> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> ...
https://man.mtool.work/php/8.3/simplexmlelement.addchild.html
新しい SimpleXMLElement オブジェクトを作成する 7797
« SimpleXMLElement::children SimpleXMLElement::count » PHP Manual SimpleXMLElement 新しい SimpleXMLElement オブジェクトを作成する 検索 SimpleXMLElement::__construct (PHP 5, PHP 7, PHP 8) SimpleXMLElement::__construct — 新しい SimpleXMLEleme ... .php' ; $sxe = new SimpleXMLElement ( $xmlstr ); echo $sxe -> movie [ 0 ]-> title ; ?> 上の例の出力は以下となります。 PHP: Behind the Parser 例2 URL からの SimpleXMLElement オブジェクトの作成 <?php $sxe = new SimpleXMLElement ( 'http://example.org/docu ...
https://man.mtool.work/php/8.3/simplexmlelement.construct.html
SimpleXML 要素に属性を追加する 7797
« SimpleXMLElement SimpleXMLElement::addChild » PHP Manual SimpleXMLElement SimpleXML 要素に属性を追加する 検索 SimpleXMLElement::addAttribute (PHP 5 >= 5.1.3, PHP 7, PHP 8) SimpleXMLElement::addAttribute — SimpleXML 要素に属性を追加する 説 ... 力は、 たとえば以下のようになります。 <?xml version="1.0" standalone="yes"?> <movies type="documentary"> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> ...
https://man.mtool.work/php/8.3/simplexmlelement.addattribute.html
PREV 1 2 NEXT