這個符號'@'在php有什麼用處呢?
它有一個很好用的地方就是, 在變數前加上@,
那麼因這個變數而產生的一些警告訊息就不會
出現在頁面上了. 就好像拿ok绷將嘴巴貼上的感覺.
例如: $searchstr 若沒定義, 則會產生undefined
variable.... 等訊息在網頁上, 若在前面加上@,
變成 @$searchstr, 這樣那些undefined ...訊息就不會
出現了.
覺得蠻好用的~ :)
對不起. 請原諒我. 謝謝你. 我愛你.
I am sorry. Please forgive me. Thank you. I love you.
Lo siento. Perdóname, por favor. Gracias. Te amo.
"When we are willing to take 100% responsibility and let go, what is right and perfect unfolds." 當我們願意為我們所經歷的一切負百分之百的責任時, 適合我們的及完美的一切, 即為我們顯現.--http://www.self-i-dentity-through-hooponopono.com/index.htm
熱門文章
-
今天2008/01/21正式啟動實現夢想的機制! 我和家人的健康, 這是我會全心全力經營的事業, 我的事業說明網站 : http://msi-team.com/geniusleader/ 有了致富導師 Robert G. Allen 的背書, 我很放心. 而且我相信, 只要按照這...
-
"挽面"的英文怎麼說? 答案: "Threading"! 今天中午經過一家美容美髮沙龍時, 先看到圖片, 然後馬上會意是提供"挽面(threading)"的服務. 先前在VallyFair的走道上, 也看到...
-
What I read today from Abraham-Hicks' daily newsletter.. It's so true that I cite their words here to remind myself to always live i...
沒有留言:
張貼留言