« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 97 for filesize (0.001 sec.)
notification コンテキストパラメータ用のコールバック関数 12353
« stream_isatty stream_register_wrapper » PHP Manual ストリーム 関数 notification コンテキストパラメータ用のコールバック関数 検索 stream_notification_callback (PHP 5 >= 5.2.0, PHP 7, PHP 8) stream_notification_callback — notification コンテ ... message ; break; case STREAM_NOTIFY_CONNECT : echo "Connected..." ; break; case STREAM_NOTIFY_FILE_SIZE_IS : echo "Got the filesize: " , $bytes_max ; break; case STREAM_NOTIFY_MIME_TYPE_IS : echo "Found the mime-type: " , $message ; break; case STREAM_NO ... ected... Found the mime-type: text/html; charset=utf-8 Being redirected to: http://no.php.net/contact Connected... Got the filesize: 0 Found the mime-type: text/html; charset=utf-8 Being redirected to: http://no.php.net/contact.php Connected... Got the f ... ication_callback ( $notification_code , $severity , $message , $message_code , $bytes_transferred , $bytes_max ) { static $filesize = null ; switch( $notification_code ) { case STREAM_NOTIFY_RESOLVE : case STREAM_NOTIFY_AUTH_REQUIRED : case STREAM_NOTIFY ...
https://man.mtool.work/php/8.3/function.stream-notification-callback.html
notification コンテキストパラメータ用のコールバック関数 12353
« stream_isatty stream_register_wrapper » PHP Manual ストリーム 関数 notification コンテキストパラメータ用のコールバック関数 検索 stream_notification_callback (PHP 5 >= 5.2.0, PHP 7, PHP 8) stream_notification_callback — notification コンテ ... message ; break; case STREAM_NOTIFY_CONNECT : echo "Connected..." ; break; case STREAM_NOTIFY_FILE_SIZE_IS : echo "Got the filesize: " , $bytes_max ; break; case STREAM_NOTIFY_MIME_TYPE_IS : echo "Found the mime-type: " , $message ; break; case STREAM_NO ... ected... Found the mime-type: text/html; charset=utf-8 Being redirected to: http://no.php.net/contact Connected... Got the filesize: 0 Found the mime-type: text/html; charset=utf-8 Being redirected to: http://no.php.net/contact.php Connected... Got the f ... ication_callback ( $notification_code , $severity , $message , $message_code , $bytes_transferred , $bytes_max ) { static $filesize = null ; switch( $notification_code ) { case STREAM_NOTIFY_RESOLVE : case STREAM_NOTIFY_AUTH_REQUIRED : case STREAM_NOTIFY ...
https://man.mtool.work/php/8.3/function.stream-notification-callback.html
ファイルのサイズを取得する 10610
« fileperms filetype » PHP Manual ファイルシステム 関数 ファイルのサイズを取得する 検索 filesize (PHP 4, PHP 5, PHP 7, PHP 8) filesize — ファイルのサイズを取得する 説明 function filesize ( string $filename ): int | false 指定したファイルのサ ... り大きなファイルについては期待とは違う値を返すものがあります。 エラー / 例外 失敗したときは E_WARNING が発生します。 例 例1 filesize() の例 <?php // 出力例 somefile.txt: 1024 bytes $filename = 'somefile.txt' ; echo $filename . ': ' . filesize ( $filename ... トコル/ラッパー を参照してください。 参考 file_exists() - ファイルまたはディレクトリが存在するかどうか調べる 関連キーワード: filesize filename ラッパー ファイルシステム false 発生 整数 somefile txt bytes サポート fileperms Search filetype function string i ...
https://man.mtool.work/php/8.3/function.filesize.html
ファイルのサイズを取得する 10519
« fileperms filetype » PHP Manual ファイルシステム 関数 ファイルのサイズを取得する 検索 filesize (PHP 4, PHP 5, PHP 7, PHP 8) filesize — ファイルのサイズを取得する 説明 function filesize ( string $filename ): int | false 指定したファイルのサ ... り大きなファイルについては期待とは違う値を返すものがあります。 エラー / 例外 失敗したときは E_WARNING が発生します。 例 例1 filesize() の例 <?php // 出力例 somefile.txt: 1024 bytes $filename = 'somefile.txt' ; echo $filename . ': ' . filesize ( $filename ... トコル/ラッパー を参照してください。 参考 file_exists() - ファイルまたはディレクトリが存在するかどうか調べる 関連キーワード: filesize filename ラッパー ファイルシステム 整数 somefile bytes サポート fileperms filetype レベル 数値 符号 プラットフォーム ビット ...
https://man.mtool.work/php/8.3/function.filesize.html
ディレクトリエントリの実際のファイルサイズを取得する 9052
« zip_entry_compressionmethod zip_entry_name » PHP Manual Zip 関数 ディレクトリエントリの実際のファイルサイズを取得する 検索 zip_entry_filesize (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_entry_filesize — ディレクト ... く推奨します。 説明 #[ \Deprecated ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_entry_filesize ( resource $zip_entry ): int | false ディレクトリエントリの実際のファイルサイズを返します。 パラメータ zip_entry zip_read( ... る zip_read() - Zip ファイルアーカイブの中の次のエントリを読み込む 関連キーワード: zip エントリ entry ディレクトリ 実際 Zip filesize 非推奨 ZipArchive statIndex false read open アーカイブ compressionmethod Search name 警告 推奨 Deprecated ...
https://man.mtool.work/php/8.3/function.zip-entry-filesize.html
ディレクトリエントリの実際のファイルサイズを取得する 9052
« zip_entry_compressionmethod zip_entry_name » PHP Manual Zip 関数 ディレクトリエントリの実際のファイルサイズを取得する 検索 zip_entry_filesize (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.0.0) zip_entry_filesize — ディレクト ... く推奨します。 説明 #[ \Deprecated ( since : '8.0' , message : 'use ZipArchive::statIndex() instead' , )] function zip_entry_filesize ( resource $zip_entry ): int | false ディレクトリエントリの実際のファイルサイズを返します。 パラメータ zip_entry zip_read( ... アーカイブをオープンする zip_read() - Zip ファイルアーカイブの中の次のエントリを読み込む 関連キーワード: エントリ entry 実際 filesize 非推奨 ZipArchive statIndex read アーカイブ compressionmethod 推奨 Deprecated since message instead resource 履歴 オブジェ ...
https://man.mtool.work/php/8.3/function.zip-entry-filesize.html
ファイルを指定した長さに丸める 8148
« ftell fwrite » PHP Manual ファイルシステム 関数 ファイルを指定した長さに丸める 検索 ftruncate (PHP 4, PHP 5, PHP 7, PHP 8) ftruncate — ファイルを指定した長さに丸める 説明 function ftruncate ( resource $stream , int $size ): bool ファイルポ ... イルの丸めの例 <?php $filename = 'lorem_ipsum.txt' ; $handle = fopen ( $filename , 'r+' ); ftruncate ( $handle , rand ( 1 , filesize ( $filename ))); rewind ( $handle ); echo fread ( $handle , filesize ( $filename )); fclose ( $handle ); ?> 注意 注意 : フ ... eek() - ファイルポインタを移動する 関連キーワード: handle 長さ ftruncate stream size ポインタ 場合 filename オープン fopen filesize ftell Search fwrite ファイルシステム function resource int bool パラメータ ...
https://man.mtool.work/php/8.3/function.ftruncate.html
ファイルを指定した長さに丸める 8148
« ftell fwrite » PHP Manual ファイルシステム 関数 ファイルを指定した長さに丸める 検索 ftruncate (PHP 4, PHP 5, PHP 7, PHP 8) ftruncate — ファイルを指定した長さに丸める 説明 function ftruncate ( resource $stream , int $size ): bool ファイルポ ... イルの丸めの例 <?php $filename = 'lorem_ipsum.txt' ; $handle = fopen ( $filename , 'r+' ); ftruncate ( $handle , rand ( 1 , filesize ( $filename ))); rewind ( $handle ); echo fread ( $handle , filesize ( $filename )); fclose ( $handle ); ?> 注意 注意 : フ ... プンする fseek() - ファイルポインタを移動する 関連キーワード: handle ftruncate stream size ポインタ filename オープン fopen filesize ftell fwrite ファイルシステム resource モード バイト 拡大 成功 lorem ipsum rand rewind fread fclose 参考 fseek ...
https://man.mtool.work/php/8.3/function.ftruncate.html
例 8056
« 定義済み定数 ZipArchive » PHP Manual Zip 例 検索 例 例1 Zip アーカイブの作成 <?php $zip = new ZipArchive (); $filename = "./test112.zip" ; if ( $zip -> open ( $filename , ZipArchive :: CREATE )!== TRUE ) { exit( "cannot open < $filename > ... f ( $zip ) { while ( $zip_entry = zip_read ( $zip )) { echo "Name: " . zip_entry_name ( $zip_entry ) . "\n" ; echo "Actual Filesize: " . zip_entry_filesize ( $zip_entry ) . "\n" ; echo "Compressed Size: " . zip_entry_compressedsize ( $zip_entry ) . "\n" ... f ( zip_entry_open ( $zip , $zip_entry , "r" )) { echo "File Contents:\n" ; $buf = zip_entry_read ( $zip_entry , zip_entry_filesize ( $zip_entry )); echo " $buf \n" ; zip_entry_close ( $zip_entry ); } echo "\n" ; } zip_close ( $zip ); } ?> 関連キーワード ... filename numFiles meta ZipArchive testfilephp status comment print read addFromString time added statusSys while nodeType filesize 定数 exit cannot addFile thisdir testfromfile ...
https://man.mtool.work/php/8.3/zip.examples.html
WinCache 関数への切り替え 7964
« WinCache セッションハンドラ WinCache 関数 » PHP Manual インストール/設定 WinCache 関数への切り替え 検索 WinCache 関数への切り替え 注意: wincache.rerouteini は WinCache 1.3.7.0 で削除されました。かわりに、自動的な関数置き換え機能を利用しま ... 実装が用意されている関数は、次のとおりです。 file_exists file_get_contents readfile is_readable is_writable is_dir realpath filesize WinCache の関数切り替え機能を使えるよう設定するには、WinCache のインストールパッケージに含まれている reroute.ini ファイルを ... e_is_writable is_writeable=wincache_is_writable is_file=wincache_is_file is_dir=wincache_is_dir realpath=wincache_realpath filesize=wincache_filesize 関連キーワード: wincache WinCache file ini reroute get contents 切り替え 場合 writable パラメータ rerout ... eini 最適化 exists readfile readable dir realpath filesize インストール ...
https://man.mtool.work/php/8.3/wincache.reroutes.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT