$a = array( 'foo' => 1 ); var_dump( isset( $a['foo'] ) ); # bool(true) var_dump( isset( $a['bar'] ) ); # bool(false)
a = { 'foo' => 1 } puts a.key?('foo') # true puts a.key?('bar') # false
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT