fork(3) download
  1. <?php
  2.  
  3. $windows = "F:\Program Files\SSH Communications Security\SSH Secure Shell\Output.map";
  4.  
  5. /* str_replace(find, replace, string, count) */
  6. $unix = str_replace("\\", "/", $windows);
  7.  
  8. print_r(pathinfo($unix, PATHINFO_BASENAME));
  9.  
  10. ?>
Success #stdin #stdout 0s 82944KB
stdin
Standard input is empty
stdout
Output.map