[ create a new paste ] login | about

Link: http://codepad.org/cwcb0RzU    [ raw code | output | fork ]

PHP, pasted on Feb 19:
1
2
3
4
5
6
7
<?php
$arr = array('id' => 1, 'name' => 'abc','address' => 'street abc');
extract($arr);
echo $id . "\n";
echo $name . "\n";
echo $address;
?>


Output:
1
2
3
1
abc
street abc


Create a new paste based on this one


Comments: