« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 36 for speed (0.002 sec.)
インターネット接続方式を取得する 11157
« geoip_domain_by_name geoip_isp_by_name » PHP Manual GeoIP 関数 インターネット接続方式を取得する 検索 geoip_id_by_name (PECL geoip >= 0.2.0) geoip_id_by_name — インターネット接続方式を取得する 説明 function geoip_id_by_name ( string $hostn ... 名あるいは IP アドレスに対応するインターネット接続方式を返します。 戻り値は数値で、以下の定数と比較できます。 GEOIP_UNKNOWN_SPEED GEOIP_DIALUP_SPEED GEOIP_CABLEDSL_SPEED GEOIP_CORPORATE_SPEED パラメータ hostname 接続方式を探す対象となるホスト名あるいは ... ス。 戻り値 接続方式を返します。 例 例1 geoip_id_by_name() の例 これは、ホスト example.com の接続方式を返します。 <?php $netspeed = geoip_id_by_name ( 'www.example.com' ); echo 'The connection type is ' ; switch ( $netspeed ) { case GEOIP_DIALUP_SPEED ... : echo 'dial-up' ; break; case GEOIP_CABLEDSL_SPEED : echo 'cable or DSL' ; break; case GEOIP_CORPORATE_SPEED : echo 'corporate' ; break; case GEOIP_UNKNOWN_SPEED : default: ...
https://man.mtool.work/php/8.3/function.geoip-id-by-name.html
OOP PECL/rrd example 11157
« Procedural PECL/rrd example RRD 関数 » PHP Manual 例 OOP PECL/rrd example 検索 OOP PECL/rrd example 例1 OO usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; $outputPngFile = dirname ( __FILE__ ) . "/speed.png" ; $creator ... = new RRDCreator ( $rrdFile , "now -10d" , 500 ); $creator -> addDataSource ( "speed:COUNTER:600:U:U" ); $creator -> addArchive ( "AVERAGE:0.5:1:24" ); $creator -> addArchive ( "AVERAGE:0.5:6:10" ); $creator ... -> save (); $updater = new RRDUpdater ( $rrdFile ); $updater -> update (array( "speed" => "12345" ), "920804700" ); $updater -> update (array( "speed" => "12357" ), "920805000" ); $graphObj = new RRDGraph ( $ ... ); $graphObj -> setOptions ( array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); $graphObj -> save (); ?> 関連キ ...
https://man.mtool.work/php/8.3/rrd.examples-oop.html
インターネット接続方式を取得する 11157
« geoip_domain_by_name geoip_isp_by_name » PHP Manual GeoIP 関数 インターネット接続方式を取得する 検索 geoip_id_by_name (PECL geoip >= 0.2.0) geoip_id_by_name — インターネット接続方式を取得する 説明 function geoip_id_by_name ( string $hostn ... 名あるいは IP アドレスに対応するインターネット接続方式を返します。 戻り値は数値で、以下の定数と比較できます。 GEOIP_UNKNOWN_SPEED GEOIP_DIALUP_SPEED GEOIP_CABLEDSL_SPEED GEOIP_CORPORATE_SPEED パラメータ hostname 接続方式を探す対象となるホスト名あるいは ... ス。 戻り値 接続方式を返します。 例 例1 geoip_id_by_name() の例 これは、ホスト example.com の接続方式を返します。 <?php $netspeed = geoip_id_by_name ( 'www.example.com' ); echo 'The connection type is ' ; switch ( $netspeed ) { case GEOIP_DIALUP_SPEED ... : echo 'dial-up' ; break; case GEOIP_CABLEDSL_SPEED : echo 'cable or DSL' ; break; case GEOIP_CORPORATE_SPEED : echo 'corporate' ; break; case GEOIP_UNKNOWN_SPEED : default: ...
https://man.mtool.work/php/8.3/function.geoip-id-by-name.html
OOP PECL/rrd example 11110
« Procedural PECL/rrd example RRD 関数 » PHP Manual 例 OOP PECL/rrd example 検索 OOP PECL/rrd example 例1 OO usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; $outputPngFile = dirname ( __FILE__ ) . "/speed.png" ; $creator ... = new RRDCreator ( $rrdFile , "now -10d" , 500 ); $creator -> addDataSource ( "speed:COUNTER:600:U:U" ); $creator -> addArchive ( "AVERAGE:0.5:1:24" ); $creator -> addArchive ( "AVERAGE:0.5:6:10" ); $creator ... -> save (); $updater = new RRDUpdater ( $rrdFile ); $updater -> update (array( "speed" => "12345" ), "920804700" ); $updater -> update (array( "speed" => "12357" ), "920805000" ); $graphObj = new RRDGraph ( $ ... ); $graphObj -> setOptions ( array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); $graphObj -> save (); ?> 関連キ ...
https://man.mtool.work/php/8.3/rrd.examples-oop.html
Procedural PECL/rrd example 9968
« 例 OOP PECL/rrd example » PHP Manual 例 Procedural PECL/rrd example 検索 Procedural PECL/rrd example 例1 Procedural usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; //create rrd file rrd_create ( $rrdFile , array( "--st ... art" , 920804400 , "DS:speed:COUNTER:600:U:U" , "RRA:AVERAGE:0.5:1:24" , "RRA:AVERAGE:0.5:6:10" ) ); //update rrd file rrd_update ( $rrdFile , array( " ... 920804700:12345" , "920805000:12357" ) ); //graph output rrd_graph ( dirname ( __FILE__ ) . "/speed.png" , array( "--start" , "920804400" , "--end" , "920808000" , "--vertical-label" , "m/s" , "DEF:myspeed= $rrdFile :speed ... :AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); ?> 関連キーワード: rrd Procedural example rrdFile speed array dirname crea ...
https://man.mtool.work/php/8.3/rrd.examples-procedural.html
Procedural PECL/rrd example 9968
« 例 OOP PECL/rrd example » PHP Manual 例 Procedural PECL/rrd example 検索 Procedural PECL/rrd example 例1 Procedural usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; //create rrd file rrd_create ( $rrdFile , array( "--st ... art" , 920804400 , "DS:speed:COUNTER:600:U:U" , "RRA:AVERAGE:0.5:1:24" , "RRA:AVERAGE:0.5:6:10" ) ); //update rrd file rrd_update ( $rrdFile , array( " ... 920804700:12345" , "920805000:12357" ) ); //graph output rrd_graph ( dirname ( __FILE__ ) . "/speed.png" , array( "--start" , "920804400" , "--end" , "920808000" , "--vertical-label" , "m/s" , "DEF:myspeed= $rrdFile :speed ... :AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); ?> 関連キーワード: Procedural example rrdFile speed dirname create start u ...
https://man.mtool.work/php/8.3/rrd.examples-procedural.html
画像をブラウザあるいはファイルに出力する 9287
« imagearc imagebmp » PHP Manual GD および Image 関数 画像をブラウザあるいはファイルに出力する 検索 imageavif (PHP 8 >= 8.1.0) imageavif — 画像をブラウザあるいはファイルに出力する 説明 function imageavif ( GdImage $image , resource | string ... | null $file = null , int $quality = -1 , int $speed = -1 ): bool 指定された image から、 AVIF ラスタ画像を出力、または保存します。 パラメータ image imagecreatetruecolor() のよ ... 、小さなファイル) から 100 (最高画質、大きなファイル) までの値を取ります。 -1 を指定した場合、 デフォルト値 52 を使います。 speed speed はオプションで、 0 (ゆっくり、小さなファイル) から 10 (速い、大きなファイル) までの値を取ります。 -1 を指定した場合、 ... ます。 警告 しかしながら、libgd がイメージの出力に失敗した場合、この関数は true を返します。 エラー / 例外 quality または、 speed が不正の場合、 ValueError をスローします。 変更履歴 バージョン 説明 8.4.0 quality または、 speed が不正の場合、 ValueError ...
https://man.mtool.work/php/8.3/function.imageavif.html
Update the RRD database file 9224
« RRDUpdater::__construct ScoutAPM » PHP Manual RRDUpdater Update the RRD database file 検索 RRDUpdater::update (PECL rrd >= 0.9.0) RRDUpdater::update — Update the RRD database file 説明 public function RRDUpdater::update ( array $values , ... します。 エラー / 例外 Throws a Exception on error. 例 例1 RRDUpdater::update() examples <?php $updator = new RRDUpdater ( "speed.rrd" ); //updates the data source "speed" with value "12411" //for time defined by timestamp "920807700" $updator -> updat ... e (array( "speed" => "12411" ), "920807700" ); ?> 関連キーワード: RRDUpdater update file time Update database values value speed construct ...
https://man.mtool.work/php/8.3/rrdupdater.update.html
画像をブラウザあるいはファイルに出力する 9224
« imagearc imagebmp » PHP Manual GD および Image 関数 画像をブラウザあるいはファイルに出力する 検索 imageavif (PHP 8 >= 8.1.0) imageavif — 画像をブラウザあるいはファイルに出力する 説明 function imageavif ( GdImage $image , resource | string ... | null $file = null , int $quality = -1 , int $speed = -1 ): bool 指定された image から、 AVIF ラスタ画像を出力、または保存します。 パラメータ image imagecreatetruecolor() のよ ... 、小さなファイル) から 100 (最高画質、大きなファイル) までの値を取ります。 -1 を指定した場合、 デフォルト値 52 を使います。 speed speed はオプションで、 0 (ゆっくり、小さなファイル) から 10 (速い、大きなファイル) までの値を取ります。 -1 を指定した場合、 ... ます。 警告 しかしながら、libgd がイメージの出力に失敗した場合、この関数は true を返します。 エラー / 例外 quality または、 speed が不正の場合、 ValueError をスローします。 変更履歴 バージョン 説明 8.4.0 quality または、 speed が不正の場合、 ValueError ...
https://man.mtool.work/php/8.3/function.imageavif.html
Update the RRD database file 9176
« RRDUpdater::__construct ScoutAPM » PHP Manual RRDUpdater Update the RRD database file 検索 RRDUpdater::update (PECL rrd >= 0.9.0) RRDUpdater::update — Update the RRD database file 説明 public function RRDUpdater::update ( array $values , ... します。 エラー / 例外 Throws a Exception on error. 例 例1 RRDUpdater::update() examples <?php $updator = new RRDUpdater ( "speed.rrd" ); //updates the data source "speed" with value "12411" //for time defined by timestamp "920807700" $updator -> updat ... e (array( "speed" => "12411" ), "920807700" ); ?> 関連キーワード: RRDUpdater update time Update database values speed construct defined dat ...
https://man.mtool.work/php/8.3/rrdupdater.update.html
PREV 1 2 3 4 NEXT