[ create a new paste ] login | about

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

PHP, pasted on Sep 4:
1
2
3
4
5
6
7
8
9
10
11
12
<?php
    $row = array(
        'a' => 1,
        'b' => 2,
        'c' => 3,
    );
    extract($row, EXTR_SKIP);
    var_dump($a, $b, $c);

    $name = 'd';
    $$name = 4;
    var_dump($d);


Output:
1
2
3
4
int(1)
int(2)
int(3)
int(4)


Create a new paste based on this one


Comments: