Quick actions

cmd+k|ctrl+k

Navigation

Languages

test_copy

Snippet info

Language

Php

Visibility

public

Author

fenghestudio

Created

2019-09-12T07:02:50Z

Updated

2019-09-12T07:02:50Z

<?php

$file = 'example.txt';

$newfile = 'example.txt.bak';

if (!copy($file, $newfile)) {
    echo "failed to copy $file...\n";

}
?>
INFO