link

  • The link function in PHP creates a hard link.

    PHP

    link('/path/to/source', '/path/to/target');

    Ruby’s File.link class method is equivalent.

    Ruby

    File.link('/path/to/source', '/path/to/target')

    see also

levenshtein list

Looking for Rails or PHP web application development, integration, and training?

Rails for PHP is brought to you by Maintainable Software. Get custom web applications and personalized training from the authors of the book and website.