codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<? $string = 'string'; $arrayWithOneElement = array('one'); $arrayWithTwoElements = array('one', 'two'); echo "string : ".count($string)." - ". implode(', ', $string) ."\n"; echo "array with one element : ".count($arrayWithOneElement )." - ". implode(', ', $arrayWithOneElement ) ."\n"; echo "array with 2 elements : ".count($arrayWithTwoElements )." - ". implode(', ', $arrayWithTwoElements ) ."\n";
Private
[
?
]
Run code
Submit