codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $a = array( '1' => 12, '3' => 14, '6' => 11 ); $b = array( '1' => 12, '3' => 14, '6' => 11 ); echo ($a === $b) ? 'they\'re same' : 'they\'re different'; echo "\n"; $b['1'] = 11; echo ($a === $b) ? 'they\'re same' : 'they\'re different';
Private
[
?
]
Run code
Submit