text
stringlengths
1
254
output
stringlengths
2
255
"inode" - inode
"inode" - inode
"mode" - mode
"mode" - mode
"uid" - user id
"nlink" - ハードリンクの数
"gid" - group id
"uid" - ユーザID
"device_type" - device type (if inode device)
"gid" - グループID
"blocksize" - blocksize
"device_type" - デバイス型 (inodeデバイスの場合)
"blocks" - number of blocks allocated
"size" - バイト数単位のサイズ
"atime" - time of last access
"blocksize" - ブロック長
"ctime" - time of last change
"blocks" - 確保されたブロックの数
Home
"atime" - 直近のアクセス時刻
dio_seek
"mtime" - 直近の修整時刻
dio_tcsetattr
"ctime" - 直近の変更時刻
(PHP 4 = 4.3.0)
(PHP 4 = 4.3.0)
The currently available options are
関数 dio_tcsetattr() は、オープンした resource のシリアルポートの端末属性とボーレー トを設定します。現在利用可能なオプションを以下に示します。
'bits' - data bits - can be 8,7,6 or 5 default value is 8
'baud' - ポートのボーレート - 38400,19200,9600,4800,2400,1800,1200,600,300,200,150,134,110,75,50となり、 デフォルトは9600
'parity' - can be 0,1 or 2 default value is 0
'bits' - データビット - 8,7,6,5となり、デフォルトは8
Setting the baud rate on a serial port
'stop' - ストップビット - 1または2となり、デフォルトは1
Note:
'parity' - パリティビット - 0,1,2となり、デフォルトは0
Prev
例 1 シリアルポートのボーレートを設定する
dio_truncate
注意 この関数は、PHP 4.3.0で追加されました。
Function dio_truncate() causes the file referenced by fd to be truncated to at most offset bytes in size.
(PHP 4 = 4.2.0)
If the file previously was shorter, it is unspecified whether the file is left unchanged or is extended.
関数 dio_truncate() は、 fd で参照されるファイルを最大 offset バイトの大きさに丸めます。このファイ ルが指定した大きさよりも大きかった場合には、余分なデータが失われ ます。ファイルがより小さかった場合、変更されないか、拡張されるか は不確定です。後者の場合、拡張される部分は、ゼロバイトとして読ま れます。成功時に0、その他の場合に-1を返します。
(PHP 4 = 4.2.0)
(PHP 4 = 4.2.0)
If len is not specified, dio_write() writes all data to the specified file. dio_write() returns the number of bytes written to fd.
関数 dio_write() は、 data からファイル fd に最大 len バイトを書き込みます。 len が指定されない場合、 dio_write() は指定したファイルに data を全て書き込みます。 dio_write() は、 fd に書き 込んだバイト数を返します。
On Windows, both slash (/) and backslash (\) are used as path separator character.
(PHP 3, PHP 4)
Essentially, this means that if there are no slashes in path, a dot ('.') is returned, indicating the current directory.
この関数は、ファイルへのパス名を有する文字列を引数とし、 ディレクトリの名前を返します。
Note that this means that you will often get a slash or a dot back from dirname() in situations where the older functionality would have given you the empty string.
Windows では、スラッシュ( / )とバックスラッシュ (\ )の両方がパス区切り文字として使われます。 その他の環境ではスラッシュ( / )になります。
Prev
例 1 dirname() の例
disk_free_space
basename() も参照下さい。
(PHP 4 = 4.1.0)
(PHP 4 = 4.1.0)
Example 1. disk_free_space() example
ディレクトリを指定することにより、この関数は対応するファイルシス テムまたはディスクパーティションで利用可能なバイト数を返します。
Prev
例 1 disk_free_space() の例
(PHP 3 = 3.0.7, PHP 4)
(PHP 3 = 3.0.7, PHP 4)
Use that function instead.
この関数は、 disk_free_space() への古いエイリア スです。替わりにこの関数を使用して下さい。
(PHP 4 = 4.1.0)
(PHP 4 = 4.1.0)
Example 1. disk_total_space() example
ディレクトリを含む文字列を指定して下さい。この関数は、ファイルシ ステムまたはディスクパーティションに対応する全体バイト数を返しま す。
Prev
例 1 disk_total_space() の例
If dl() fails because the specified library couldn't be loaded, in addition to FALSE an E_WARNING message is emitted.
(PHP 3, PHP 4)
the current internal ZEND_MODULE_API_NO (Zend internal module API number, which is basically the date on which a major module API change happened, e.g.
library にあるPHP拡張モジュールをロードしま す。設定ディレクティブ extension_dir も参照下さい。
Warning
(PHP 4 = 4.2.0)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Prev
(PHP 5 CVS only)
Prev
(PHP 5 CVS only)
Get MX records corresponding to a given Internet host name.
Get MX records corresponding to a given Internet host name.
Note:
(PHP 5 CVS only)
Try the PEAR class Net_DNS.
注意 This function is not implemented on Windows platforms.
Each associative array contains at minimum the following keys:
Returns an array of associative arrays. Each associative array contains at minimum the following keys: host, type, class, ttl.
The record in the DNS namespace to which the rest of the associated data refers.
注意 'class' key will always be "IN" indicating an IPv4 resource record.
dns_get_record() only returns Internet class records and as such this parameter will always return IN.
注意 'ttl' key will contain the TTL remaining since the last time the local nameserver queried the authoritative name server.
Additional attributes will also be contained in the resulting array dependant on the value of type.
hostname should be a valid DNS hostname such as "www.example.com". Reverse lookups can be generated using in-addr.arpa notation, but gethostbyaddr() is more suitable for the majority of reverse lookups.
By default, dns_get_record() will search for any resource records associated with hostname.
注意 Because of excentricities in the performance of libresolv between platforms, DNS_ANY will not always return every record, the slower DNS_ALL will collect all records more reliably.
DNS_A, DNS_CNAME, DNS_HINFO, DNS_MX, DNS_NS, DNS_PTR, DNS_SOA, DNS_TXT, DNS_AAAA, DNS_ALL or DNS_ANY.
The optional third and fourth arguments to this function, authns and addtl are passed by reference and, if given, will be populated with Resource Records for the Authoritative Name Servers, and any Additional Records respectively. See the example below.
IANA number designating the Operating System on the machine referenced by this record.
注意 Per DNS standards, email addresses are given in user.host format (for example: hostmaster.example.com as opposed to [email protected]), be sure to check this value and modify if necessary before using it with a functions such as mail().
SOA
A records will contain an 'ip' key providing their IPv4 address.
Email address of the administrative contain for this domain. serial:
MX records will conatin a 'pri' key indicating priority (preference). It will also have a 'target' key which lists the FQDN of the mail exchanger. See also dns_get_mx().
Refresh interval (seconds) secondary name servers should use when updating remote copies of this domain. retry:
CNAME, NS, and PTR records will each contain a 'target' key giving the particular location in the DNS namespace which they refer to.
Maximum length of time (seconds) a secondary DNS server should retain remote copies of the zone data without a successful refresh before discarding. minimum-ttl:
TXT records will have a 'txt' key containing the text data associated with the named resource record.
Can be overridden by individual resource records.
HINFO records have two parameters: 'cpu' and 'os' which describe the opperating environment of the specified host. The values are given as integers, see RFC 1010 for the meaning of these values.
Note:
例 1Using dns_get_record()
Prev
dns_get_mx(), および dns_check_record() も参照してください。
This function returns the name of the attribute.
(no version information, might be only in CVS)
Prev
This function returns the name of the attribute.
DomAttribute - specified
See also DomAttribute_value().
(no version information, might be only in CVS)
(no version information, might be only in CVS)
Prev
Check DOM standard for a detailed explanation.
This function returns the value of the attribute.
(no version information, might be only in CVS)
Prev
This function returns the value of the attribute.
DomDocument - add_root [deprecated]
See also DomAttribute_name().
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
The element name is given in the passed parameter.
Adds a root element node to a dom document and returns the new node. The element name is given in the passed parameter.
?php $doc = domxml_new_doc( "1.0"); $root = $doc - add_root("HTML"); $head = $root - new_child("HEAD", ""); $head - new_child("TITLE", "Hier der Titel"); echo htmlentities($doc - dump_mem());?
例 1Creating a simple HTML document header
This function returns a new instance of class DomAttribute.
(no version information, might be only in CVS)
The return value is FALSE if an error occured.
The return value is false if an error occured.
Prev
See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_cdata_section(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().
This function returns a new instance of class DomCData.
(no version information, might be only in CVS)
This node will not show up in the document unless it is inserted with e.g. domnode_append_child().
This function returns a new instance of class DomCData. The content of the cdata is the value of the passed parameter. This node will not show up in the document unless it is inserted with e.g. DomNode_append_child().
The return value is FALSE if an error occured.
The return value is false if an error occured.
Prev
See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_attribute(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().
This function returns a new instance of class DomComment.
(no version information, might be only in CVS)
This node will not show up in the document unless it is inserted with e.g. domnode_append_child().
This function returns a new instance of class DomComment. The content of the comment is the value of the passed parameter. This node will not show up in the document unless it is inserted with e.g. DomNode_append_child().
The return value is FALSE if an error occured.
The return value is false if an error occured.
Prev
See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_attribute(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().
This function returns a new instance of class DomElement.
(no version information, might be only in CVS)
This node will not show up in the document unless it is inserted with e.g. domnode_append_child().
This function returns a new instance of class DomElement. The tag name of the element is the value of the passed parameter. This node will not show up in the document unless it is inserted with e.g. DomNode_append_child().
The return value is FALSE if an error occured.
The return value is false if an error occured.
Prev
See also DomNode_append_child(), DomDocument_create_text(), DomDocument_create_comment(), DomDocument_create_attribute(), DomDocument_create_processing_instruction(), DomDocument_create_entity_reference(), DomNode_insert_before().
The tag name of the element is the value of the passed parameter name.
(no version information, might be only in CVS)
The return value is FALSE if an error occured.
The return value is FALSE if an error occured.
This function returns a new instance of class DomEntityReference.
(no version information, might be only in CVS)
This node will not show up in the document unless it is inserted with e.g. domnode_append_child().
This function returns a new instance of class DomEntityReference. The content of the entity reference is the value of the passed parameter. This node will not show up in the document unless it is inserted with e.g. DomNode_append_child().
The return value is FALSE if an error occured.
The return value is false if an error occured.
Prev
See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_cdata_section(), DomDocument_create_processing_instruction(), DomDocument_create_attribute(), DomNode_insert_before().
This function returns a new instance of class DomCData.
(no version information, might be only in CVS)
This node will not show up in the document unless it is inserted with e.g. domnode_append_child().
This function returns a new instance of class DomCData. The content of the pi is the value of the passed parameter. This node will not show up in the document unless it is inserted with e.g. DomNode_append_child().
The return value is FALSE if an error occured.
The return value is false if an error occured.
Prev
See also DomNode_append_child(), DomDocument_create_element(), DomDocument_create_text(), DomDocument_create_cdata_section(), DomDocument_create_attribute(), DomDocument_create_entity_reference(), DomNode_insert_before().
This function returns a new instance of class DomText.
(no version information, might be only in CVS)
This node will not show up in the document unless it is inserted with e.g. domnode_append_child().
This function returns a new instance of class DomText. The content of the text is the value of the passed parameter. This node will not show up in the document unless it is inserted with e.g. DomNode_append_child().
The return value is FALSE if an error occured.
The return value is false if an error occured.