sayori
V2EX  ›  问与答

PHP代码里有时写两个分号?

  •  
  •   sayori · Dec 9, 2011 · 4727 views
    This topic created in 5294 days ago, the information mentioned may be changed or developed.
    最近在看WP源码。
    发现很多地方调用一个函数后加两个分号 test_demo();;
    为什么要这么做呢?
    1 replies    1970-01-01 08:00:00 +08:00
    darasion
        1
    darasion  
       Dec 9, 2011
    没见过,估计是某种标记吧。
    比如搜索;; 就找到了这一行。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4219 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 04:13 · PVG 12:13 · LAX 21:13 · JFK 00:13
    ♥ Do have faith in what you're doing.