codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php function get_news($slug = FALSE) { var_dump($slug); } echo "With no arguments: "; get_news(); echo "With a slug (abc): "; get_news('abc');
Private
[
?
]
Run code
Submit