boolean System::&cat (
string $args
)
Concatenate files. The method uses fopen(), URLs should work too.
string $args
-
the arguments
boolean
- TRUE on success
This function can be called statically.
Using &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');
?>