好!欢迎访问迷津渡口 现在时间是: 天气 °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
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
hiyawigs
 hiyawigs 2019-05-22 05:36回复
#222
<a href="http://www.poppiesdelray.com/nike-roshe-run-high-cut-menn-gr%C3%A5-bl%C3%A5-obuvk">nike roshe run high cut menn gr氓 bl氓</a> <a href="http://www.soundsofbuzz.com/kvinner-nike-flyknit-lunar-3-lilla-rosa-gull-obuvi">kvinner nike flyknit lunar 3 lilla rosa gull</a> <a href="http://www.hozloli.com/mujeres-nike-sb-blanco-negro-stefan-janoski-max-trainers-zapatosl">mujeres nike sb blanco negro stefan janoski max trainers</a> <a href="http://www.privetaustria.com/nike-free-run-3-rosa-gituttio-scarpeh">nike free run 3 rosa gituttio</a> <a href="http://www.goodnnasty.com/nike-w-roshe-two-si-black-black-ivory-bei-kickz-shoesk">nike w roshe two si black black ivory bei kickz</a> <a href="http://www.ankarasanal.com/oakleys-dispatch-ii-white-frame-gray-lens-sunglassesh">oakleys dispatch ii white frame gray lens</a>
hiyawigs http://www.hiyawigs.com/
bunqdesktop
 bunqdesktop 2019-05-21 21:23回复
#221
<a href="http://www.showboxi.com/mennns-nike-marinen-gr%C3%A5-air-max-tavas-trainers-obuvi">mennns nike marinen gr氓 air max tavas trainers</a> <a href="http://www.erzincanet.com/salomon-mujer-speedcross-3-iii-rosado-p%C3%BArpura-negro-zapatosl">salomon mujer speedcross 3 iii rosado p煤rpura negro</a> <a href="http://www.hoyerequip.com/nike-air-max-1-nero-and-argento-scarpeh">nike air max 1 nero and argento</a> <a href="http://www.oreandacasino.com/women-nike-roshe-run-slip-on-orange-grey-shoesk">women nike roshe run slip on orange grey</a> <a href="http://www.floraroja.com/oakley-mph-dispatch-ii-sunglasses-sunglassesh">oakley mph dispatch ii sunglasses</a> <a href="http://www.dazedkayla.com/nike-hypervenom-phantom-ii-tf-vert-noir-chaussuresl">nike hypervenom phantom ii tf vert noir</a>
bunqdesktop http://www.bunqdesktop.com/
onlysidekick
 onlysidekick 2019-05-21 15:11回复
#220
<a href="http://www.wuxiangtaichi.com/air-jordan-retro-2-oro-blanco-zapatosl">air jordan retro 2 oro blanco</a> <a href="http://www.culdesacmag.com/herre-nike-air-presto-hvid-sort-skoj">herre nike air presto hvid sort</a> <a href="http://www.livinggreedy.com/kvinners-nike-roshe-run-speckle-r%C3%B8d-gr%C3%B8nn-obuvi">kvinners nike roshe run speckle r酶d gr酶nn</a> <a href="http://www.clickstroy.com/adidas-neo-campus-p%C3%BArpura-negro-zapatosp">adidas neo campus p煤rpura negro</a> <a href="http://www.zotorrent.com/kvinders-asics-gel-quantum-360-bl%C3%A5-gr%C3%B8n-skol">kvinders asics gel quantum 360 bl氓 gr酶n</a> <a href="http://www.viptarimas.com/maschio-nike-flyknit-lunar-2-arancia-gituttio-scarpeh">maschio nike flyknit lunar 2 arancia gituttio</a>
onlysidekick http://www.onlysidekick.com/
soopsip
 soopsip 2019-05-20 09:19回复
#219
<a href="http://www.chocopictures.com/jordan-1-flight-low-blanco-cehombrest-zapatosh">jordan 1 flight low blanco cehombrest</a> <a href="http://www.baluntan.com/nike-air-max-95-sort-and-gr%C3%B8n-skok">nike air max 95 sort and gr酶n</a> <a href="http://www.anderonedream.com/nike-air-force-1-flyknit-high-bl%C3%A5-svart-obuvi">nike air force 1 flyknit high bl氓 svart</a> <a href="http://www.variaponsel.com/nike-roshe-two-todas-gris-zapatosl">nike roshe two todas gris</a> <a href="http://www.allmydibs.com/ray-ban-clubmaster-sunglasses-sizes-sunglassesh">ray ban clubmaster sunglasses sizes</a> <a href="http://www.macusaa.com/cincinnati-bengals-new-era-2018-nfl-training-golfer-a-frame-snapback-cap-hatj">cincinnati bengals new era 2018 nfl training golfer a frame snapback cap</a>
soopsip http://www.soopsip.com/
cammaara
 cammaara 2019-05-19 20:34回复
#218
<a href="http://www.hopitalhayek.com/nike-lebron-13-bl%C3%A5-skol">nike lebron 13 bl氓</a> <a href="http://www.cheapartsale.com/menn-nike-lebron-12-low-oransje-svart-obuvk">menn nike lebron 12 low oransje svart</a> <a href="http://www.xjdscnuh.com/nike-kyrie-2-oro-and-nero-scarpei">nike kyrie 2 oro and nero</a> <a href="http://www.cybcarusa.com/air-jordan-retro-6-negro-blanco-rojo-angry-bird-zapatosh">air jordan retro 6 negro blanco rojo angry bird</a> <a href="http://www.drfoxxdds.com/sort-s%C3%B8lv-herre-nike-shox-2016-sko-skok">sort s酶lv herre nike shox 2016 sko</a> <a href="http://www.hagemannlaw.com/nike-air-max-90-volt-gr%C3%B8nn-obuvi">nike air max 90 volt gr酶nn</a>
cammaara http://www.cammaara.com/
alterwina
 alterwina 2019-05-19 17:26回复
#217
<a href="http://www.videogue.com/nike-flyknit-3.0-blue-shoesk">nike flyknit 3.0 blue</a> <a href="http://www.actuelvet.com/michael-kors-blue-clutch-mkh">michael kors blue clutch</a> <a href="http://www.jstreetdoc.com/all-r%C3%B8d-kvinners-nike-air-max-obuvi">all r酶d kvinners nike air max</a> <a href="http://www.rightcardeals.com/nike-air-max-2015-blu-and-nero-scarpek">nike air max 2015 blu and nero</a> <a href="http://www.wearesmashed.com/nike-air-force-1-mid-grey-black-shoesi">nike air force 1 mid grey black</a> <a href="http://www.icecardonline.com/adidas-zx-flux-blanco-reflective-zapatosi">adidas zx flux blanco reflective</a>
alterwina http://www.alterwina.com/
lindadent
 lindadent 2019-05-19 16:20回复
#216
<a href="http://www.newinfit.com/roy-halladay-34-white-authentic-jersey-sale-nflh">roy halladay 34 white authentic jersey sale</a> <a href="http://www.thebedguide.com/nike-air-force-1-ac-premium-vente-shoese">nike air force 1 ac premium vente</a> <a href="http://www.lisastrnad.com/ralph-lauren-cotton-crewneck-sweater-poloh">ralph lauren cotton crewneck sweater</a> <a href="http://www.plangivethank.com/adidas-zx-900-gr%C3%A5-orange-color-foota">adidas zx 900 gr氓 orange color</a> <a href="http://www.sikisfilim.com/nike-free-trainer-5.0-nkg-orange-schwarz-runninga">nike free trainer 5.0 nkg orange schwarz</a> <a href="http://www.boajewlery.com/nike-air-max-tailwind-8-lilla-items-scarpef">nike air max tailwind 8 lilla items</a>
lindadent http://www.lindadent.com/
smartiesland
 smartiesland 2019-05-18 06:17回复
#215
<a href="http://www.koreazp.com/adidas-harden-green-sky-blue-shoesj">adidas harden green sky blue</a> <a href="http://www.hiltonskyshop.com/nike-lebron-ambassador-9-guld-r%C3%B8d-skoi">nike lebron ambassador 9 guld r酶d</a> <a href="http://www.lavaforchange.com/maschio-nike-roshe-yeezy-boost-nero-blu-scarpel">maschio nike roshe yeezy boost nero blu</a> <a href="http://www.lifeonfilms.com/nike-free-run-3-light-blue-shoesj">nike free run 3 light blue</a> <a href="http://www.midlandroofer.com/michael-kors-black-and-silver-crossbody-bag-mkh">michael kors black and silver crossbody bag</a> <a href="http://www.pearsonchool.com/air-jordan-retro-7-kvinners-svart-gul-obuvi">air jordan retro 7 kvinners svart gul</a>
smartiesland http://www.smartiesland.com/
eisenhards
 eisenhards 2019-05-18 04:25回复
#214
<a href="http://www.poppiesdelray.com/women-air-jordan-retro-12-low-white-blue-shoesk">women air jordan retro 12 low white blue</a> <a href="http://www.soundsofbuzz.com/nike-air-trainer-huarache-triple-sort-nice-kicks-skoj">nike air trainer huarache triple sort nice kicks</a> <a href="http://www.hozloli.com/m%C3%A4nner-nike-air-max-tailwind-5-grau-gr%C3%BCn-schwarz-schuheh">m盲nner nike air max tailwind 5 grau gr眉n schwarz</a> <a href="http://www.privetaustria.com/adidas-tubular-primeknit-grey-shoesk">adidas tubular primeknit grey</a> <a href="http://www.goodnnasty.com/michael-michael-kors-jet-set-large-east-west-crossbody-mkh">michael michael kors jet set large east west crossbody</a> <a href="http://www.ankarasanal.com/air-jordan-eclipse-lilla-gr%C3%B8nn-obuvi">air jordan eclipse lilla gr酶nn</a>
eisenhards http://www.eisenhards.com/
dbievents
 dbievents 2019-05-18 04:07回复
#213
<a href="http://www.lvnailbar.com/airmax-2017-herren-cold-grau-rot-schuheh">airmax 2017 herren cold grau rot</a> <a href="http://www.eisenhards.com/adidas-blue-wrestling-shoes-shoesk">adidas blue wrestling shoes</a> <a href="http://www.martinmakeup.com/michael-kors-jet-set-travel-tote-bag-mkh">michael kors jet set travel tote bag</a> <a href="http://www.dgrabovsky.com/vibram-fivefingers-sprint-menn-dark-bl%C3%A5-obuvi">vibram fivefingers sprint menn dark bl氓</a> <a href="http://www.madeinmyindia.com/converse-tutti-star-low-nero-scarpek">converse tutti star low nero</a> <a href="http://www.manglammovers.com/predator-f50-adidas-shoesi">predator f50 adidas</a>
dbievents http://www.dbievents.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸