Results of 1 - 4 of about 4 for jumps (0.001 sec.)
- preg_replace — 正規表現検索および置換を行う | PHP 8.3 12389
- preg_replace (PHP 4, PHP 5, PHP 7, PHP 8) preg_replace — 正規表現検索および置換を行う 説明 function preg_replace ( string | array $pattern , string | array $replacement , string | array $subject , int $limit = -1 , int &$count = null ): str
... ; ?> 上の例の出力は以下となります。 April1,2003 例2 preg_replace() での添字配列の使用 <?php $string = 'The quick brown fox jumps over the lazy dog.' ; $patterns = array(); $patterns [ 0 ] = '/quick/' ; $patterns [ 1 ] = '/brown/' ; $patterns [ 2 ] = ' ... 'slow' ; echo preg_replace ( $patterns , $replacements , $string ); ?> 上の例の出力は以下となります。 The bear black slow jumps over the lazy dog. pattern と replacement を ksort すると、所望のものが得られます。 <?php $string = 'The quick brown fox j ... ements ); echo preg_replace ( $patterns , $replacements , $string ); ?> 上の例の出力は以下となります。 The slow black bear jumps over the lazy dog. 例3 複数値の置換 <?php $patterns = array ( '/(19|20)(\d{2})-(\d{1,2})-(\d{1,2})/' , '/^\s*{(\w+)}\s*=/' ...
-
https://man.mtool.work/php/8.3/function.preg-replace.html
- Imagick::annotateImage — 画像にテキストによる注記を加える | PHP 8.3 8672
- Imagick::annotateImage (PECL imagick 2, PECL imagick 3) Imagick::annotateImage — 画像にテキストによる注記を加える 説明 public function Imagick::annotateImage ( ImagickDraw $draw_settings , float $x , float $y , float $angle , string $text )
... ); $draw -> setFontSize ( 30 ); /* テキストの作成 */ $image -> annotateImage ( $draw , 10 , 45 , 0 , 'The quick brown fox jumps over the lazy dog' ); /* 画像形式の設定 */ $image -> setImageFormat ( 'png' ); /* ヘッダをつけて画像の出力 */ header ( 'Co ...
-
https://man.mtool.work/php/8.3/imagick.annotateimage.html
- The EvPeriodic class | PHP 8.3 7933
- The EvPeriodic class (PECL ev >= 0.2.0) はじめに Periodic watchers are also timers of a kind, but they are very versatile. Unlike EvTimer , EvPeriodic watchers are not based on real time(or relative time, the physical time that passes) but
... bsolute time, calendar or clock). The difference is that wall clock time can run faster or slower than real time, and time jumps are not uncommon(e.g. when adjusting it). EvPeriodic watcher can be configured to trigger after some specific point in tim ...
-
https://man.mtool.work/php/8.3/class.evperiodic.html
- The EvTimer class | PHP 8.3 7933
- The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular intervals after that. The timers are based on real time, that is, if on
... s the system clock to January last year , it will still time out after(roughly) one hour. "Roughly" because detecting time jumps is hard, and some inaccuracies are unavoidable. The callback is guaranteed to be invoked only after its timeout has passed ...
-
https://man.mtool.work/php/8.3/class.evtimer.html
PREV
1
NEXT