ARTICLE AD BOX
I don't think there is a PHP function which do it directly, but you may use system or exec to execute a command on the underlying system:
<?php system('cp --reflink=always <path1> <path2>', $result_code); // $result_code holds command execution return status if ($result_code == 0) { // Success }Sign up to request clarification or add additional context in comments.
Comments
Your Answer
Post as a guest
Name
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
