svn: /phpdoc/ja/trunk/faq/ using.xml

From: Date: Wed, 18 Dec 2019 18:37:41 +0000
Subject: svn: /phpdoc/ja/trunk/faq/ using.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-5173@lists.php.net to get a copy of this message
mumumu Wed, 18 Dec 2019 18:37:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=348578 Log: Clarify that shorthand byte values are cast to integer This integrates user note 90781 and 123446. Changed paths: U phpdoc/ja/trunk/faq/using.xml Modified: phpdoc/ja/trunk/faq/using.xml =================================================================== --- phpdoc/ja/trunk/faq/using.xml 2019-12-18 18:31:57 UTC (rev 348577) +++ phpdoc/ja/trunk/faq/using.xml 2019-12-18 18:37:41 UTC (rev 348578) @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 338336 Maintainer: hirokawa Status: ready --> -<!-- CREDITS: takagi --> +<!-- EN-Revision: 346458 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi,mumumu --> + <chapter xml:id="faq.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>PHP の使いかた</title> <titleabbrev>PHP の使いかた</titleabbrev> @@ -453,6 +454,10 @@ バイトと等しくなります。<literal>1K</literal> は、1 キロバイトあるいは <literal>1024</literal> バイトです。この表記法は、 &php.ini; や <function>ini_set</function> 関数で使えます。 + ここで、数値の値は、<type>integer</type> + 型にキャストされることに注意して下さい。 + たとえば、<literal>0.5M</literal> は <literal>0</literal> + と解釈されます。 </para> <note> <title>キロバイト? キビバイト?</title>

« previous php.doc.ja (#5173) next »