boolean System::&cat (
string $args
)
ファイルを連結します。このメソッドは fopen() を使用するので、URL でも動作します。
string $args
-
引数。
boolean
- 成功した場合に TRUE を返します。
This function can be called statically.
&cat() の使用
<?php
$var = System::cat('sample.txt test.txt');
System::cat('sample.txt test.txt > final.txt');
System::cat('sample.txt test.txt >> final.txt');
?>