Results of 1 - 10 of about 18 for project (0.002 sec.)
- Phar::buildFromIterator — イテレータから phar アーカイブを作成する | PHP 8.3 13572
- Phar::buildFromIterator (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) Phar::buildFromIterator — イテレータから phar アーカイブを作成する 説明 public function Phar::buildFromIterator ( Traversable $iterator , ? string $baseDirectory = n
... 式が最適です。 たとえば、次のようなディレクトリ構成のファイルを含む phar アーカイブを作成してみることにしましょう。 /path/to/project/ config/ dist.xml debug.xml lib/ file1.php file2.php src/ processthing.php www/ index.php cli/ index.php 次のコードを使用す ... ると、これらのファイルを phar アーカイブ "project.phar" に追加します。 <?php // "project.phar" というエイリアスで作成します $phar = new Phar ( 'project.phar' , 0 , 'project ... .phar' ); $phar -> buildFromIterator ( new RecursiveIteratorIterator ( new RecursiveDirectoryIterator ( '/path/to/project' )), '/path/to/project' ); $phar -> setStub ( $phar -> createDefaultStub ( 'cli/index.php' , 'www/index.php' )); ?> これで ...
-
https://man.mtool.work/php/8.3/phar.buildfromiterator.html
- PharData::buildFromIterator — イテレータから tar あるいは zip アーカイブを作成... 11015
- PharData::buildFromIterator (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) PharData::buildFromIterator — イテレータから tar あるいは zip アーカイブを作成する 説明 public function PharData::buildFromIterator ( Traversable $iterator , ? s
... 最適です。 たとえば、次のようなディレクトリ構成のファイルを含む tar/zip アーカイブを作成してみることにしましょう。 /path/to/project/ config/ dist.xml debug.xml lib/ file1.php file2.php src/ processthing.php www/ index.php cli/ index.php 次のコードを使用す ... ると、これらのファイルを tar アーカイブ "project.tar" に追加します。 <?php $phar = new PharData ( 'project.tar' ); $phar -> buildFromIterator ( new RecursiveIteratorIterat ... or ( new RecursiveDirectoryIterator ( '/path/to/project' )), '/path/to/project' ); ?> これで、ファイル project.tar はすぐに使えるようになります。 PharData::buildFromIterator() は ...
-
https://man.mtool.work/php/8.3/phardata.buildfromiterator.html
- Phar::buildFromDirectory — ディレクトリ内のファイルから phar を作成する | PHP 8... 10655
- Phar::buildFromDirectory (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) Phar::buildFromDirectory — ディレクトリ内のファイルから phar を作成する 説明 public function Phar::buildFromDirectory ( string $directory , string $pattern = "" ):
... ン 説明 8.1.0 Phar::buildFromDirectory() は、 false を返さなくなりました。 例 例1 Phar::buildFromDirectory() の例 <?php // "project.phar" というエイリアスで作成します $phar = new Phar ( 'project.phar' , 0 , 'project.phar' ); // project 内のすべてのファイ ... ルを追加します $phar -> buildFromDirectory ( dirname ( __FILE__ ) . '/project' ); $phar -> setStub ( $phar -> createDefaultStub ( 'cli/index.php' , 'www/index.php' )); $phar2 = new Phar ( 'project2.ph ... ar' , 0 , 'project2.phar' ); // project 内のファイルのうち、php ファイルだけを追加します $phar2 -> buildFromDirectory ( dirname ( __FILE__ ) ...
-
https://man.mtool.work/php/8.3/phar.buildfromdirectory.html
- MultipleIterator::__construct — 新しい MultipleIterator を作成する | PHP 8.3 9951
- MultipleIterator::__construct (PHP 5 >= 5.3.0, PHP 7, PHP 8) MultipleIterator::__construct — 新しい MultipleIterator を作成する 説明 public function MultipleIterator::__construct ( int $flags = MultipleIterator::MIT_NEED_ALL | MultipleItera
... yIterator (array( 'John' , 'Jane' , 'Jack' , 'Judy' )); $roles = new ArrayIterator (array( 'Developer' , 'Scrum Master' , 'Project Owner' )); $team = new MultipleIterator ( $flags ); $team -> attachIterator ( $people , 'person' ); $team -> attachIterato ... C の場合の出力 Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) $flags = MIT_NEED_ANY|MIT_KEYS_NUMERIC の場合の出力 Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] ... => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) Array ( [0] => Judy [1] => ) $flags = MIT_NEED_ALL|MIT_KEYS_ASSOC の場合の出力 Array ( [person] => John [role] => ...
-
https://man.mtool.work/php/8.3/multipleiterator.construct.html
- PharData::buildFromDirectory — ディレクトリ内のファイルから tar/zip アーカイブ... 9591
- PharData::buildFromDirectory (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 2.0.0) PharData::buildFromDirectory — ディレクトリ内のファイルから tar/zip アーカイブを作成する 説明 public function PharData::buildFromDirectory ( string $directory ,
... FromDirectory() は、 false を返さなくなりました。 例 例1 PharData::buildFromDirectory() の例 <?php $phar = new PharData ( 'project.tar' ); // project 内のすべてのファイルを追加します $phar -> buildFromDirectory ( dirname ( __FILE__ ) . '/project' ); $ph ... ar2 = new PharData ( 'project2.zip' ); // project 内のファイルのうち、php ファイルだけを追加します $phar2 -> buildFromDirectory ( dirname ( __FILE__ ) . ... '/project' , '/\.php$/' ); ?> 参考 Phar::buildFromDirectory() - ディレクトリ内のファイルから phar を作成する PharData::buildFromIter ...
-
https://man.mtool.work/php/8.3/phardata.buildfromdirectory.html
- ftok — パス名とプロジェクト ID を、System V IPC キーに変換する | PHP 8.3 9162
- ftok (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) ftok — パス名とプロジェクト ID を、System V IPC キーに変換する 説明 function ftok ( string $filename , string $project_id ): int この関数は、 filename で表される既存のアクセス可能なファイルおよびプ
... ロジェクト ID ( project_id ) を、 shmop_open() やその他の System V IPC キーで使う integer に変換します。 パラメータ filename アクセス可能なファイル ... へのパス。 project_id プロジェクト ID。一文字からなる文字列でなければなりません。 戻り値 成功した場合には作成されたキーの値を、それ以外の場合 ...
-
https://man.mtool.work/php/8.3/function.ftok.html
- その他の変更 | PHP 8.3 8030
- その他の変更 予約語の制約の緩和 クラスやインターフェイスそしてトレイトの内部で、 プロパティや定数そしてメソッドの名前にグローバルな予約語を使えるようになりました。 これで、今後新たなキーワードが導入された場合でも下位互換性を維持しやすくなり
... ェイスを用いた内部 DSL を作る際などに便利です。 <?php // 'new', 'private', 'for' は、これまでなら使うことができませんでした Project ::new( 'Project Name' )-> private ()-> for ( 'purpose here' )-> with ( 'username here' ); ?> 唯一の例外は class キーワード ...
-
https://man.mtool.work/php/8.3/migration70.other-changes.html
- Seaslog | PHP 8.3 7824
- Seaslog はじめに The Seaslog is an effective,fast,stable log extension for PHP. The log journal,which is usually the operate record of the system, software and the application record. Through the analysis of the log,it can facilitate users
... rary established to make up for the defects, such as log4php, plog, monolog (of course, there are many applications in the project development of the log class). So is there a log of libraries meet the following requirements: Modules, classification Sim ... rstanding Simple application and well performance Seaslog just meet these demands. What is provided at present: In the PHP project, record the log specification and repidly. Configure the default log directory and module Specified log directory and capt ...
-
https://man.mtool.work/php/8.3/book.seaslog.html
- Using the PHP Library for MongoDB (PHPLIB) | PHP 8.3 7824
- Using the PHP Library for MongoDB (PHPLIB) After the initial extension set-up, we will continue explaining how to get started with the corresponding userland library to write our first project. Installing the PHP Library with Composer The l
... iles: composer.json , composer.lock , and a vendor directory that will contain the library and any other dependencies your project might require. Using the PHP Library In addition to managing your dependencies, Composer will also provide you with an aut ...
-
https://man.mtool.work/php/8.3/mongodb.tutorial.library.html
- ssdeep Fuzzy Hashing | PHP 8.3 7669
- ssdeep Fuzzy Hashing はじめに ssdeep is a utility for creating and comparing fuzzy hashes or » context-triggered piecewise hashing . Fuzzy hashing can match signatures which have "...sequences of identical bytes in the same order, although
... bytes in between these sequences may be different in both content and length" ( » ssdeep project page ). This extension provides functions for creating and comparing fuzzy hashes. インストール/設定 要件 インストール手順 ...
-
https://man.mtool.work/php/8.3/book.ssdeep.html