Recent changes

2013-04-14 2013-04-02 2013-02-17 2013-01-29 2013-01-20 2013-01-18 2012-12-08 2012-11-06 2012-09-04 2012-08-02

php/gomi

一時期これでセグっていたようです

<?php
$bug = new BugBug;
$bug->hoge();

class Bug
{
    function Bug()
    {
        $this->hoge();
    }

    function hoge() {
       include_once 'bug.php';
    }
}

class BugBug extends Bug
{
}

show_source(__FILE__);
?>
<?php
class ClassA { }

function FuncA($obj) {
    return $obj;
}

function FuncB($obj) {
    $dummy = &FuncA($obj);
}

$obj = new ClassA();
FuncB($obj);

$a = 'This is a string';

var_dump($obj);

show_source(__FILE__);
?>