Zend Studio Tips: Automatically generate version information _php tutorial

Source: Internet
Author: User
When looking at some of the PHP source code, you can often see some very standard annotation information
$Id: database.php 4343 2009-05-08 17:04:48z Jheathco $
This information includes the file name, SVN version, submission date, author, then how this information is generated, and today finally found that the original is SVN provides a auto-props function.

In the Zend Studio 6.1.2 that we used, the items checked out from SVN, right-click, select Team->set keyword, and then select the ID, which opens the functionality of the SVN auto-props.
Next, as long as we add $id$ in the written PHP file, when submitting SVN, the client will automatically replace this with the standard format above, how to feel very convenient.

In addition, there are several other properties that can be set, respectively: Lastchangeddate,lastchangedrevision,lastchangedby,headurl.

Using this feature, when we write our own code, we can generate a uniform format of file information without the need to manually maintain it.

Transferred from: http://www.cnblogs.com/cocowool/

http://www.bkjia.com/PHPjc/364306.html www.bkjia.com true http://www.bkjia.com/PHPjc/364306.html techarticle when looking at some of the PHP source code, you can often see some very standard annotation information $Id: database.php 4343 2009-05-08 17:04:48z Jheathco $ This information includes the file name, S ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.