previousSystem::mkDir (Previous) (Next) System::mktempnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

System::&cat

System::&cat – concatenate files

Synopsis

require_once "System.php";

boolean System::&cat ( string $args )

Description

Concatenate files. The method uses fopen(), URLs should work too.

Parameter

  • string $args - the arguments

Return value

boolean - TRUE on success

Note

This function can be called statically.

Example

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');
?>
previousSystem::mkDir (Previous) (Next) System::mktempnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.