| PEAR Handbuch | ||
|---|---|---|
| Zurück | Nach vorne | |
Parameter
$args - the name of the files to concatenate
Returns
mixed - PEAR_Error ot the content of the concatenate files
// Dump the contents of sample.txt and test.txt into the $var var
$var = System::cat('sample.txt test.txt');
// Concatenate the contents of sample.txt and test.txt into final.txt
System::cat('sample.txt test.txt > final.txt');
// Same as above but will append the contents to final.txt instead
// of truncating it
System::cat('sample.txt test.txt >> final.txt'); |
| Zurück | Zum Anfang | Nach vorne |
| System::mkdir() | Nach oben | System::mkTemp() |