V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
keys
V2EX  ›  PHP

在看typecho的源码,源码中的Typecho_xxx::version之类的两个冒号的是什么意思?刚学php,大神嫌麻烦给个关键词也行,先拜谢

  •  
  •   keys · Aug 27, 2012 · 4335 views
    This topic created in 4998 days ago, the information mentioned may be changed or developed.
    7 replies    1970-01-01 08:00:00 +08:00
    yesmeck
        2
    yesmeck  
       Aug 27, 2012
    不是 namespace 额。。。
    是静态变量或方法。
    http://php.net/manual/en/language.oop5.static.php
    messense
        3
    messense  
       Aug 27, 2012
    PHP 静态变量、成员和方法
    http://lok.me/a/183.html
    reus
        4
    reus  
       Aug 27, 2012
    初学就好好看书,看什么源码
    AlfredZhao
        6
    AlfredZhao  
       Aug 28, 2012
    @reus 正解
    ElmerZhang
        7
    ElmerZhang  
       Aug 28, 2012
    初学时,要么结合源码看书,要么结合书来看源码,只看书或者只看源码都是浪费时间。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2704 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 03:29 · PVG 11:29 · LAX 20:29 · JFK 23:29
    ♥ Do have faith in what you're doing.