System::&cat

System::&cat – ファイルを連結する

Synopsis

require_once "System.php";

boolean System::&cat ( string $args )

Description

ファイルを連結します。このメソッドは fopen() を使用するので、URL でも動作します。

Parameter

  • string $args - 引数。

Return value

boolean - 成功した場合に TRUE を返します。

Note

This function can be called statically.

Example

&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');
?>