1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
    <title>References as Function Arguments</title>
 
 
<!--?php
 
    function ref_test(&$var) {
        $var = $var * 2;
    }
    $a = 10;
    ref_test($a);
    echo $a;
 
?-->


20

'개발관련 > PHP' 카테고리의 다른 글

[PHP]Dynamic Variable  (0) 2012.04.20
[PHP]References Returns  (0) 2012.04.20
[PHP]References  (0) 2012.04.20
[PHP]Parent  (0) 2012.04.20
[PHP]Inheritance  (0) 2012.04.20
Posted by 파노카페
: