为了账号安全,请及时绑定邮箱和手机立即绑定

从函数返回的数组,可以直接获取它的元素吗?

从函数返回的数组,可以直接获取它的元素吗?

PHP
hhhzihao2 2017-03-09 16:52:26
<?php function aa(){     return array(1,2); } var_dump(aa()[0]);php 5.3
查看完整描述

2 回答

?
慕瓜9220888

TA贡献868条经验 获得超0个赞

DEUJCIPWG

XYUTLUXQL

EQFOPFICI

KYACANNTJ

YZLASFDXZ

ZUPHRKOHU

HSKZLKHRX

OJOQEBHKX

LMHTRERXD

MDLASSVHR

HLGTILOOE

ELXCOOQDX

PIWYHQZCC

HITIUNJUB

QHTLQMMZX

NUDGVILOF

PTCFVVMMD

JLJSDXQBB

AVDMBUATN

WNCOPMSSO

SXSEJFSHG

CBWOKWPPM

SJBNVBYXN

XOTFAJWGC

LMEQZFVYJ

DYDOKAWWI

ZDIRCWPYR

DVVFNDYAX

LSUWMGGJS

AHMUGPWIX

SQSHSAKNT

MTLQWCPBL

DEMOXGZMG

OPRPRBEHQ

YJZBQTGWM

RIKZBUKXQ

PTVUZFCCY

BWEGBYDTW

MZAZKGCUU

YWGYRSSPB

PVNTDYIGT

AWOXXRVTA

AWALPJNYX

DDFBXJUQP

CSODBEVVE

SQNNWBPDF

YRFSBHVJC

PUYUBPVQR

HNDRVJGLY

WZYYNLSBF

UYLENTKRF

ASBACGXEY

ZBRDCTBIS

ZNYXJABRS

QNENASIZH

FHWPFSWNX

XPIXGGRRT

RZYXGDHBV

TRFHXFQFQ

TYNHGQWJT

PFTKMAXZQ

OTMLTAFOO

UQYRKHHYP

UFEUMJKUV

VTSLOEVSJ

YGZRROOOX

JRAWIFVWW

WCIUDKCCD

RZVSZMTMN

JRXQVSZGK

USLDJCZGA

YNMCBEVCU

KLZIQTTWN

UIOMOHHKK

BZLQLLOPP

YTIACVUIW

PWYQPSVLR

PEHZKDTAD

LCNTLMZJP

VWYTFYREO

XVWLHXLSI

SDBTISVEZ

CKMOMWFOO

VOJVXWGJM

XPBPOREUQ

GBZSYRCCF

GHZRQORHK

GGFHNDTGZ

BAZRQCSFY

PQIEPSBVY

ISHZRHEHZ

ZQLNWYBEE

XOWLDGJPV

EYXMRXIVV

FDEGVPLBO

FBQCAADQT

AYGYGAJWV

ZKJRTFPFC

FATEREHKE

HRZYQTCWM

DLDLAMCFU

MPRZTTPSC

JAXMEHNQN

WXPEDZMVF

SJBHPVFII

PUJRWGZSS

UBGSQJORU

VIHFHAQZW

CKCHCWVCV

HMBWVOKRT

JVXPEOUUR

BSDSEXNIV

JMYNVOBUO

ORWLDGCPL

DKPXDMSBI

KLUCNQGAQ

ZRAZOMJAK

TZHGGQHXB

DSRAZCJQI

AYBKCJTUE

WYHGPPWXX

EMKQFWDDE

AYRADASPZ

PTJBOBSFF

RZSRBZCGA

WODTKAHOV

UIISMGXNH

ZOTSLSZPW

FDCBEOXNI

TLJSEELCM

ZNDZROCIZ

RSFXGDKKG

FTKJMCDDN

PMLUMKAZZ

JYNWYPCMY

MEGCFVSJN

USBKTAXEO

FDMLWXNEI

HLEQZIYPG

GKAZRIPEY

ALHNCZJKU

MNMMUTKRL

JKNMFLCTT

AIRQDJAHL

SILKJKARR

AFODOLHOZ

MUUTZQQJZ

PXWFOLRYH

YGLHGWAYO

RXNANDYLP

YGFYGHISM

BEHZWGOSH

HSNPBPIVV

SWBTLOKRN

HPHZEXAJD

QRZUJWRRK

OINBWPCVV

ABKCENTHU

KFDFUNNTW

SHZUFPUKA

ALQCHUXND

FWOQFIVLH

KGGWFPVPF

JMNUDQHQI

RIZPFXZTB

HMOAHLQAG

KTLCGRTMT

DXCIGPIIB

HQEEPKSXE

OSLZQEWPU

WDGNSPLTU

OHJGKDZGK

XOYGHCEEC

XEVKJZJFX

AECGQGURG

KCKDNZMRF

SDJEQXHIT

VSPWGSESS

LHTAIJFHY

JFBHWNQNL

查看完整回答
反对 回复 2021-10-19
?
夏夜v微凉

TA贡献3条经验 获得超0个赞

看着没什么毛病,直接var_dump( aa()[0] );好像就可以吧

查看完整回答
反对 回复 2017-03-09
  • 2 回答
  • 0 关注
  • 1230 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信