codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php $arr = array( 0.10 => 'true' ); foreach ($arr as $key => $val) { var_dump($key); if (is_int($key)) { echo 'is int'; } echo "\n"; if (is_numeric($key)) { echo 'is numeric'; } } ?>
Private
[
?
]
Run code
Submit