fork(84) download
  1. <?php
  2.  
  3. $path = 'path/to/file.ext';
  4. echo pathinfo($path, PATHINFO_FILENAME);
Success #stdin #stdout 0.02s 24472KB
stdin
Standard input is empty
stdout
file