検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 584 for C (0.001 sec.)
C Data Handles 8000
« FFI::typeof FFI\CType » PHP Manual FFI C Data Handles C Data Handles (PHP 7 >= 7.4.0, PHP 8) は ... じめに FFI\CData objects can be used in a number of ways as a r ... egular PHP data: C data of scalar types can be read and assigned via ... the $cdata property, e.g. $x = FFI::new('int'); $x->cdata ... = 42; C struct and union fields can be accessed as regular ...
https://man.plustar.jp/php/class.ffi-cdata.html - [similar]
SimpleXML 要素に基づき整形式の XML 文字列を返す 7790
« SimpleXMLElement::addChild SimpleXMLElement::attributes » PHP Manual SimpleXMLElement SimpleXM ... ML 要素に基づき整形式の XML 文字列を返す 説明 public SimpleXMLElement::asXML ( ? string $filename = nul ... 例1 XML を取得する <?php $string = <<<XML <a> <b> <c>text</c> <c>stuff</c> </b> <d> <c>code</c> </d> </ ... a> XML; $xml = new SimpleXMLElement ( $string ); echo $xml -> asXML (); ?> 上の例の出力は以下となります ... 。 <?xml version="1.0"?> <a> <b> <c>text</c> <c>stuff</c> </b> <d> <c>code</c> </d> </ ...
https://man.plustar.jp/php/simplexmlelement.asxml.html - [similar]
Loads C declarations from a C header file 7685
« FFI::isNull FFI::memcmp » PHP Manual FFI Loads C declarations from a C header file FFI::load ( ... PHP 7 >= 7.4.0, PHP 8) FFI::load — Loads C declarations from a C header file 説明 public stat ... ic FFI::load ( string $filename ): ? FFI Loads C decl ... arations from a C header file. It is possible to specify shared libr ... aries that should be loaded, using special FFI_LIB defines in the loaded C header file. パ ...
https://man.plustar.jp/php/ffi.load.html - [similar]
XML データに Xpath クエリを実行する 7617
« SimpleXMLElement::__toString SimpleXMLIterator » PHP Manual SimpleXMLElement XML データに Xpat ... th — XML データに Xpath クエリを実行する 説明 public SimpleXMLElement::xpath ( string $expression ): ar ... ます。 例 例1 Xpath <?php $string = <<<XML <a> <b> <c>text</c> <c>stuff</c> </b> <d> <c>code</c> </d> </ ... $xml = new SimpleXMLElement ( $string ); /* <a><b><c> を探します */ $result = $xml -> xpath ( '/a/b/c' ... ); foreach ( $result as $node ) { echo '/a/b/c: ' , $node , ...
https://man.plustar.jp/php/simplexmlelement.xpath.html - [similar]
Main interface to C code and data 7580
« A Complete PHP/FFI/preloading Example FFI::addr » PHP Manual FFI Main interface to C code and ... data Main interface to C code and data (PHP 7 >= 7.4.0, PHP 8) はじめ ... に Objects of this class are created by the factory methods ... FFI::cdef() , FFI::load() or FFI::scope() . Defined C var ... are made available as properties of the FFI instance, and defined C functions are made available as me ...
https://man.plustar.jp/php/class.ffi.html - [similar]
Performs a C type cast 7482
« FFI::arrayType FFI::cdef » PHP Manual FFI Performs a C type cast FFI::cast (PHP 7 >= 7.4.0, PH ... P 8) FFI::cast — Performs a C type cast 説明 public static FFI ... ::cast ( FFI\CType | string $type , FFI\CData | int | ... float | bool | null &$ptr ): ? FFI\CData public FFI::cast ( FFI\CType | string $type , ... FFI\CData | int | float | bool | null &$ptr ): ? FFI\CDa ...
https://man.plustar.jp/php/ffi.cast.html - [similar]
エントリの属性を取得する 7482
« RarEntry::extract RarEntry::getCrc » PHP Manual RarEntry エントリの属性を取得する RarEntry::ge ... tAttr (PECL rar >= 0.1) RarEntry::getAttr — エントリの属性を取 ... 得する 説明 public RarEntry::getAttr (): int アーカイブエントリの、OS ... $entry = rar_entry_get ( $rar_file , 'dir/in/the/archive' ) or die( "そのようなエントリは見つかりません ... -> getHostOs (); $attr = $entry -> getAttr (); switch( $host_os ) { case RAR_HOST_MSDOS : case RAR_HOST ...
https://man.plustar.jp/php/rarentry.getattr.html - [similar]
Foreign Function Interface 7445
« user_error はじめに » PHP Manual PHP の振る舞いの変更 Foreign Function Interface Foreign Funct ... ion Interface はじめに インストール/設定 要件 インストール手順 ... 実行時設定 リソース型 定義済み定数 例 Basic FFI usage PHP Callbacks A Complete PHP/FFI/preload ... ing Example FFI — Main interface to C code and data FFI::addr — Creates an unmanag ... ed pointer to C data FFI::alignof — Gets the alignment FFI::arrayT ...
https://man.plustar.jp/php/book.ffi.html - [similar]
Basic FFI usage 7024
« 例 PHP Callbacks » PHP Manual 例 Basic FFI usage Basic FFI usage Before diving into the detail ... e a look at a few examples demonstrating the simplicity of the FFI API usage for regular tasks. 注意 : ... Some of these examples require libc.so.6 and as such will not work on systems where it ... is not available. 例1 Calling a function from shared library <?php // crea ... te FFI object, loading libc and exporting function printf() $ff ...
https://man.plustar.jp/php/ffi.examples-basic.html - [similar]
Basic usage 6852
« 例 HRTime\PerformanceCounter » PHP Manual 例 Basic usage Basic usage The example illustrates t ... he basic StopWatch class usage 例1 Measure several code blo ... cks execution and get the total <?php $c = new HRTime \ Sto ... pWatch ; $c -> start (); /* measure this code block exec ... tion */ for ( $i = 0 ; $i < 1024 * 1024 ; $i ++); $c -> stop (); $elapsed0 = $c -> getLastElapsedTime ( ...
https://man.plustar.jp/php/hrtime.example.basic.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT