好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

双引号里面的变量、数组和对象属性表达式

双引号里面的变量可以直接使用:

$test="a test";
print "This is $test";

双引号里面的数组索引不需要单引号:

$testArr=array("a"=>"a test");
print "This is $testArr['a']";//出错
print "This is $testArr[a]";//正确

双引号里面使用大括号包含可以使用常规数组格式和对象属性等等:

class MyObj{
    function getMessage() {
        return "a test";
    }
}
$testObj=new MyObj();
$testArr=array("a"=>"a test");
print "This is {$testObj->getMessage()}";
print "This is {$testArr['a']}";


点赞0
 标签: php double_quote
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
tedxuon
 tedxuon 2019-04-25 03:26回复
#181
<a href="http://www.fleetboilers.com/nike-free-run-5.0-kvinners-r%C3%B8d-unblocked-butye">nike free run 5.0 kvinners r酶d unblocked</a> <a href="http://www.jettstreaminc.com/nike-air-max-2015-hot-rosado-yarn-scarped">nike air max 2015 hot rosado yarn</a> <a href="http://www.maverickviral.com/air-max-90-flors-verde-azul-schuhea">air max 90 flors verde azul</a> <a href="http://www.iubhlis.com/jordan-1-mid-cool-gr%C3%A5-sort-kurpesb">jordan 1 mid cool gr氓 sort</a> <a href="http://www.djterryhunter.com/nike-lebron-12-wolf-gr%C3%A5-pdf-schuhef">nike lebron 12 wolf gr氓 pdf</a> <a href="http://www.msdarby.com/adidas-protator-remake-2017-ny-butye">adidas protator remake 2017 ny</a>
tedxuon http://www.tedxuon.com/
smartporn
 smartporn 2019-04-24 17:03回复
#180
<a href="http://www.onewebsql.net/nike-roshe-run-hyp-team-arancia-schuhed">nike roshe run hyp team arancia</a> <a href="http://www.onlinne.net/nike-free-run3-5.0-dam%C3%A4nner-schuhe-rosa-gray-gr%C3%BCn-used-butye">nike free run3 5.0 dam盲nner schuhe rosa gray gr眉n used</a> <a href="http://www.onpointsports.net/adidas-protator-remakes-for-verkauf-obuvd">adidas protator remakes for verkauf</a> <a href="http://www.oqibo.net/kobe-7-gul-hvit-obuvg">kobe 7 gul hvit</a> <a href="http://www.ourjourneychurch.net/nike-mujeres-zoom-pegasus-32-corriendo-zapatos-quality-schuhef">nike mujeres zoom pegasus 32 corriendo zapatos quality</a> <a href="http://www.ouverturefacile.net/kd-7-rose-hommes-obuve">kd 7 rose hommes</a>
smartporn http://www.smartporn.net/
setusoftware
 setusoftware 2019-04-24 12:16回复
#179
<a href="http://www.twistnik.com/fox-racing-shox-trucker-hat-hatk">fox racing shox trucker hat</a> <a href="http://www.pkbocrangsu.com/nike-magista-obra-sort-r%C3%B8d-skoj">nike magista obra sort r酶d</a> <a href="http://www.celudela.com/vintage-polo-ralph-lauren-rugby-shirt-uk-poloh">vintage polo ralph lauren rugby shirt uk</a> <a href="http://www.fooksung.com/nike-mercurial-vapor-fg-cr7-red-black-white-shoesi">nike mercurial vapor fg cr7 red black white</a> <a href="http://www.ankaramarti.com/nike-air-max-90-femminile-wholevendita-rosa-bianca-blu-scarpej">nike air max 90 femminile wholevendita rosa bianca blu</a> <a href="http://www.gcpoloclub.com/nike-free-flyknit-4.0-v2-dark-grau-gr%C3%BCn-schuhej">nike free flyknit 4.0 v2 dark grau gr眉n</a>
[url=http://www.setusoftware.com/]setusoftware[/url]
fooksung
 fooksung 2019-04-24 05:15回复
#178
<a href="http://www.reviewtogel.com/nike-roshe-flyknit-sail-wei%C3%9F-schuhej">nike roshe flyknit sail wei脽</a> <a href="http://www.igrejamormon.com/herren-schwarz-and-wei%C3%9F-nike-air-max-90-schuhei">herren schwarz and wei脽 nike air max 90</a> <a href="http://www.skonya.com/menn-asics-gel-kayano-17-himmelen-bl%C3%A5-hvit-svart-s%C3%B8lv-obuvj">menn asics gel kayano 17 himmelen bl氓 hvit svart s酶lv</a> <a href="http://www.monsterplate.com/nike-air-max-2018-maschio-grigio-vino-rosso-nero-scarpel">nike air max 2018 maschio grigio vino rosso nero</a> <a href="http://www.kentimpendik.com/nike-air-max-90-femmes-blanc-rose-cool-gris-obsidian-chaussuresh">nike air max 90 femmes blanc rose cool gris obsidian</a> <a href="http://www.attivopizza.com/blazer-mid-77-premium-trainers-bianca-scarpeh">blazer mid 77 premium trainers bianca</a>
fooksung http://www.fooksung.com/
shonema
 shonema 2019-04-23 15:19回复
#177
<a href="http://www.findatrans.com/the-north-face-venture-jacket-tnf-black-northfaceh">the north face venture jacket tnf black</a> <a href="http://www.isabellerigal.com/air-jordan-future-silber-orangen-schuhej">air jordan future silber orangen</a> <a href="http://www.esnafkocaeli.com/nike-kyrie-2-lyser%C3%B8d-gr%C3%B8n-skoh">nike kyrie 2 lyser酶d gr酶n</a> <a href="http://www.dkdjabar.com/femmes-asics-gel-quantum-360-noir-gris-chaussuresh">femmes asics gel quantum 360 noir gris</a> <a href="http://www.jamiecirillo.com/white-and-navy-blue-snapback-hatl">white and navy blue snapback</a> <a href="http://www.xpostshopx.com/adidas-neo-ventilation-oranger-noir-chaussuresh">adidas neo ventilation oranger noir</a>
shonema http://www.shonema.com/
oneillbagwell
 oneillbagwell 2019-04-22 23:15回复
#176
<a href="http://www.maytorrent.com/rojo-nike-cortez-ni%C3%B1os-zapatosl">rojo nike cortez ni帽os</a> <a href="http://www.gplandiet.com/ray-ban-rb2132-matte-black-sunglassesh">ray ban rb2132 matte black</a> <a href="http://www.mizenbouche.com/indianapolis-colts-new-era-nfl-kids-trucker-joy-9forty-cap-hatj">indianapolis colts new era nfl kids trucker joy 9forty cap</a> <a href="http://www.owenandfarney.com/femminile-nike-free-run-5.0-arancia-scarpej">femminile nike free run 5.0 arancia</a> <a href="http://www.escortsinoz.com/nike-roshe-run-nm-br-m%C3%A4nner-schwarz-wei%C3%9F-rot-schuhei">nike roshe run nm br m盲nner schwarz wei脽 rot</a> <a href="http://www.itsallfetish.com/m%C3%A6nd-nike-kobe-9-hvid-lilla-gul-skoh">m忙nd nike kobe 9 hvid lilla gul</a>
oneillbagwell http://www.oneillbagwell.com/
whylux
 whylux 2019-04-22 06:37回复
#175
<a href="http://www.mysonno.com/womens-nike-los-angeles-rams-29-eric-dickerson-limited-gold-rush-vapor-untouchable-nfl-jersey-nflw">womens nike los angeles rams 29 eric dickerson limited gold rush vapor untouchable nfl jersey</a> <a href="http://www.ncctifton.com/adidas-neo-gull-rosa-chaussuresa">adidas neo gull rosa</a> <a href="http://www.juleefashion.com/nike-free-5.0-trainer-neon-gr%C3%B8nn-svart-butya">nike free 5.0 trainer neon gr酶nn svart</a> <a href="http://www.lovedbyfew.com/air-jordan-retro-1-femmes-gris-rouge-butyc">air jordan retro 1 femmes gris rouge</a> <a href="http://www.lupazul.com/nike-free-5.0-v2-mujeres-verde-plata-obuvg">nike free 5.0 v2 mujeres verde plata</a> <a href="http://www.ouaias.com/nike-zoom-tutti-out-flyknit-rosso-gituttio-kurpesa">nike zoom tutti out flyknit rosso gituttio</a>
whylux http://www.whylux.com/
goficarwash
 goficarwash 2019-04-21 08:14回复
#174
<a href="http://www.rcrocs.com/buffalo-sabres-knit-hath">buffalo sabres knit</a> <a href="http://www.moreheaddotts.com/nike-sb-dunk-high-royal-bleu-chaussuresh">nike sb dunk high royal bleu</a> <a href="http://www.qgchsmrt.com/nike-fg-mercurial-superfly-iv-silber-schwarz-rot-schuheh">nike fg mercurial superfly iv silber schwarz rot</a> <a href="http://www.firagandia.com/2015-nike-doernbecher-freestyle-lebron-13-doernbecher-red-to-pink-shoesk">2015 nike doernbecher freestyle lebron 13 doernbecher red to pink</a> <a href="http://www.lmladeco.com/adidas-zx-flux-gr%C3%B8n-and-sort-skoj">adidas zx flux gr酶n and sort</a> <a href="http://www.brinkmanmdc.com/nike-2018-schwarz-wei%C3%9F-schuheh">nike 2018 schwarz wei脽</a>
goficarwash http://www.goficarwash.com/
michiganev
 michiganev 2019-04-20 03:28回复
#173
<a href="http://www.dowsadvocate.com/nike-roshe-run-mujer-cloud-verde-zapatosk">nike roshe run mujer cloud verde</a> <a href="http://www.laflammesinc.com/mens-nike-air-max-97-grey-shoesj">mens nike air max 97 grey</a> <a href="http://www.thisisitnyc.com/san-antonio-spurs-47-nba-hwc-47-lancaster-cuff-knit-hath">san antonio spurs 47 nba hwc 47 lancaster cuff knit</a> <a href="http://www.tuurulz.com/adidas-ultra-boost-negro-and-blanco-hombres-zapatosl">adidas ultra boost negro and blanco hombres</a> <a href="http://www.todotecnicos.com/nike-air-force-1-high-07-red-shoesk">nike air force 1 high 07 red</a> <a href="http://www.xaviersarrate.com/nike-air-max-1-kvinner-bl%C3%A5-r%C3%B8d-obuvi">nike air max 1 kvinner bl氓 r酶d</a>
michiganev http://www.michiganev.com/
kids pink converse
 kids pink converse 2019-04-20 01:12回复
#172
<a href="http://www.invbybeth.com/nike-huarache-ultra-gul-gull-obuvi">nike huarache ultra gul gull</a> <a href="http://www.zeuslazer.com/nike-shox-avenue-p%C3%BArpura-amarillo-zapatosl">nike shox avenue p煤rpura amarillo</a> <a href="http://www.justprogaming.com/ray-ban-original-wayfarer-classic-polarized-sunglassesh">ray ban original wayfarer classic polarized</a> <a href="http://www.divasorlando.com/western-illinois-hat-hatj">western illinois hat</a> <a href="http://www.ikioto.com/nike-hypervenom-gituttio-nero-scarpej">nike hypervenom gituttio nero</a> <a href="http://www.julides.com/nike-air-pegasus-83-schwarz-silber-schuhei">nike air pegasus 83 schwarz silber</a>
kids pink converse http://www.uchbhekf.com/kids-pink-converse-shoesj
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸