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

清空信息
关闭评论
parkcarlton
 parkcarlton 约 8 小时前回复
#76
<a href="http://www.lagerkompakt.com/nike-air-max-95-gr%C3%A5-and-hvid-z06-kurpesb">nike air max 95 gr氓 and hvid z06</a> <a href="http://www.rileyhunter.com/braves-8-jace-peterson-grey-new-cool-base-stitched-mlb-jersey-nflr">braves 8 jace peterson grey new cool base stitched mlb jersey</a> <a href="http://www.shaansoftware.com/asics-gel-noosa-tri-9-mennns-sko-outlet-butyg">asics gel noosa tri 9 mennns sko outlet</a> <a href="http://www.zanascuisine.com/mens-nike-buffalo-bills-28-phillip-gaines-limited-royal-blue-therma-long-sleeve-nfl-jersey-nflx">mens nike buffalo bills 28 phillip gaines limited royal blue therma long sleeve nfl jersey</a> <a href="http://www.giraffehubi.com/florence-blank-home-soccer-club-jersey-nflw">florence blank home soccer club jersey</a> <a href="http://www.gushandyman.com/roshe-run-brave-bl%C3%A5-chaussuresa">roshe run brave bl氓</a>
parkcarlton http://www.parkcarlton.com/
priverussia
 priverussia 约 11 小时前回复
#75
<a href="http://www.acforlessllc.com/lebron-12-ext-red-paisley-release-runninge">lebron 12 ext red paisley release</a> <a href="http://www.thehodostore.com/nike-hyperrev-2017-svart-and-hvit-schuhea">nike hyperrev 2017 svart and hvit</a> <a href="http://www.gandoff.com/nike-tanjun-all-gr%C3%A5-scarpeb">nike tanjun all gr氓</a> <a href="http://www.langbenlang.com/nike-air-max-2019-green-uk-shoeso">nike air max 2019 green uk</a> <a href="http://www.glennloovens.com/jordan-size-us14-us15-naranja-negro-kurpesb">jordan size us14 us15 naranja negro</a> <a href="http://www.kamilotomotiv.com/basketball-shoes-under-120-zapatost">basketball shoes under 120</a>
priverussia http://www.priverussia.com/
bonfanticare
 bonfanticare 2019-02-14 17:14回复
#74
<a href="http://www.seymourdugan.com/air-jordan-horizon-white-silver-shoesj">air jordan horizon white silver</a> <a href="http://www.dkstekstil.com/michael-kors-rhea-leather-backpack-mkh">michael kors rhea leather backpack</a> <a href="http://www.thegillssell.com/kvinners-nike-roshe-run-floral-gr%C3%A5-lilla-obuvi">kvinners nike roshe run floral gr氓 lilla</a>
bonfanticare http://www.bonfanticare.com/
akncmusic
 akncmusic 2019-02-12 09:23回复
#73
<a href="http://www.genevacollins.com/nfl-austin-blythe-mens-game-white-jersey-66-los-angeles-rams-nike-road-nflw">nfl austin blythe mens game white jersey 66 los angeles rams nike road</a> <a href="http://www.kuaconsulting.com/salomon-s-lab-xt-6-maschio-in-esecuzione-scarpe-for-vendita-chaussuresa">salomon s lab xt 6 maschio in esecuzione scarpe for vendita</a> <a href="http://www.ventaasesoria.com/mujeres-nike-lunarglide-7-gris-rojo-butya">mujeres nike lunarglide 7 gris rojo</a> <a href="http://www.yerutribe.com/nike-roshe-run-enfants-rose-jaune-butyd">nike roshe run enfants rose jaune</a> <a href="http://www.filleselfie.com/nike-flyknit-air-vapormax-2018-bianca-jade-obuvg">nike flyknit air vapormax 2018 bianca jade</a> <a href="http://www.fourhourgun.com/nike-free-5.0-kvinders-r%C3%B8d-gr%C3%A5-kurpesa">nike free 5.0 kvinders r酶d gr氓</a>
akncmusic http://www.akncmusic.com/
saskostomy
 saskostomy 2019-02-11 02:08回复
#72
<a href="http://www.agichipay.com/adidas-superstar-b%C3%B8rn-lyser%C3%B8d-hvid-kurpesb">adidas superstar b酶rn lyser酶d hvid</a> <a href="http://www.millsbulb.com/jordan-3-flyknit-zapatost">jordan 3 flyknit</a> <a href="http://www.hamshrd.com/converse-femme-all-star-blanche-shoesz">converse femme all star blanche</a> <a href="http://www.lroyroofing.com/air-yeezy-ii-2-sp-max-90-bianca-argento-schuheb">air yeezy ii 2 sp max 90 bianca argento</a> <a href="http://www.golfbodyshop.com/nfl-mens-nike-buffalo-bills-12-jim-kelly-stitched-black-anthracite-salute-to-service-player-performance-hoodie-nflu">nfl mens nike buffalo bills 12 jim kelly stitched black anthracite salute to service player performance hoodie</a> <a href="http://www.yufnsyb.com/mens-adidas-gazelle-trainers-burgundy-skou">mens adidas gazelle trainers burgundy</a>
saskostomy http://www.saskostomy.com/
prada leather clutch
 prada leather clutch 2019-02-10 23:20回复
#71
<a href="http://www.myclosetroom.com/flyknit-lunar-1-running-warehouse-coupon-footf">flyknit lunar 1 running warehouse coupon</a> <a href="http://www.creotronic.com/polo-hombres-zip-up-sweater-polo_m">polo hombres zip up sweater</a> <a href="http://www.evtiniprevodi.com/braves-blank-black-fashion-stitched-mlb-jersey-nflt">braves blank black fashion stitched mlb jersey</a> <a href="http://www.michaeljtsai.com/nike-air-max-90-custom-rare-trainersd">nike air max 90 custom rare</a> <a href="http://www.genovevagroup.com/asics-gel-noosa-tri-10-mens-gold-runninga">asics gel noosa tri 10 mens gold</a> <a href="http://www.bodingbaoyule.com/nike-air-max-90-premium-tape-qs-infrarot-wei%C3%9F-grau-kurpesc">nike air max 90 premium tape qs infrarot wei脽 grau</a>
prada leather clutch http://www.treeshaka.com/prada-leather-clutch-pradar
nomorbogor
 nomorbogor 2019-02-10 21:21回复
#70
<a href="http://www.strongtowercf.com/femmes-nike-zoom-structure-18-bleu-or-obuvg">femmes nike zoom structure 18 bleu or</a> <a href="http://www.weddshots.com/flyknit-roshe-run-tout-noir-hair-chaussuresa">flyknit roshe run tout noir hair</a> <a href="http://www.cakirgozoto.com/air-jordan-retro-4-hommesthe-verte-or-butya">air jordan retro 4 hommesthe verte or</a> <a href="http://www.createyrlife.com/nike-free-run-2-fl%C3%A5den-and-hvid-bedding-obuvc">nike free run 2 fl氓den and hvid bedding</a> <a href="http://www.hamiltonhunt.com/adidas-stan-smith-hvid-uk-scarpea">adidas stan smith hvid uk</a> <a href="http://www.interosells.com/dam%C3%A4nner-asics-gel-quantum-360-gr%C3%BCn-orange-scarpee">dam盲nner asics gel quantum 360 gr眉n orange</a>
nomorbogor http://www.nomorbogor.com/
intellalegal
 intellalegal 2019-02-10 14:32回复
#69
<a href="http://www.romoautocare.com/mujeres-nike-air-max-bw-amarillo-gris-zapatosk">mujeres nike air max bw amarillo gris</a> <a href="http://www.industrialegy.com/air-jordan-jumpman-purple-yellow-shoesi">air jordan jumpman purple yellow</a> <a href="http://www.bewustvitaal.com/dam%C3%A4nner-nike-air-max-tn-blau-schwarz-schuhei">dam盲nner nike air max tn blau schwarz</a> <a href="http://www.flushandhunt.com/air-jordan-retro-4-gamma-azul-hombresta-verde-zapatosp">air jordan retro 4 gamma azul hombresta verde</a> <a href="http://www.kendalfewster.com/air-jordan-retro-4-kvinders-guld-hvid-skoi">air jordan retro 4 kvinders guld hvid</a> <a href="http://www.gisusalon.com/adidas-zx-900-mennns-r%C3%B8d-obuvq">adidas zx 900 mennns r酶d</a>
[url=http://www.intellalegal.com/]intellalegal[/url]
mwsuperstore
 mwsuperstore 2019-02-10 12:40回复
#68
<a href="http://www.acforlessllc.com/nike-free-5.0-university-rouge-hair-kurpesa">nike free 5.0 university rouge hair</a> <a href="http://www.thehodostore.com/kd-7-calm-before-global-game-sneakerb">kd 7 calm before global game</a> <a href="http://www.gandoff.com/billig-nike-air-max-87-menns-r%C3%B8d-shoesg">billig nike air max 87 menns r酶d</a> <a href="http://www.langbenlang.com/philadelphia-flyers-hard-hat-hats">philadelphia flyers hard hat</a> <a href="http://www.glennloovens.com/new-balance-999-mens-green-white-sneakerf">new balance 999 mens green white</a> <a href="http://www.kamilotomotiv.com/air-jordan-30-blau-braun-obuvc">air jordan 30 blau braun</a>
mwsuperstore http://www.mwsuperstore.com/
mybancorphsa
 mybancorphsa 2019-02-09 05:08回复
#67
<a href="http://www.mumbaikichut.com/nike-lebron-13-blau-rosa-schuhej">nike lebron 13 blau rosa</a> <a href="http://www.ikmsdkravmaga.com/air-jordan-retro-7-lilla-br%C3%B8d-skoh">air jordan retro 7 lilla br酶d</a> <a href="http://www.themusinglens.com/air-jordan-retro-14-rose-gamma-bleu-chaussuresh">air jordan retro 14 rose gamma bleu</a> <a href="http://www.startagencia.com/47-brand-denver-broncos-throwback-hat-hatl">47 brand denver broncos throwback hat</a> <a href="http://www.drjennieward.com/adidas-neo-campus-jaune-bleu-chaussuresh">adidas neo campus jaune bleu</a> <a href="http://www.genievres.com/nike-air-max-thea-mujeres-oro-rojo-zapatosp">nike air max thea mujeres oro rojo</a>
mybancorphsa http://www.mybancorphsa.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸