[dev] Reverse commit to FBView.php

Jason Rust jrust at rustyparts.com
Tue Oct 5 14:14:04 PDT 2004


On Tuesday 05 October 2004 02:04 pm, Jason Rust wrote:

> Perhaps a PHP bug (I am running 4.3.8)? 

Developed a test case that reproduces it in its simplest form.  If this 
doesn't occur with other people's PHP installs then it should probably be 
classified as a PHP bug:
<?php
function foo(&$a) {
    static $b;
    if (!isset($b)) {
        $b = array();
    }

    $b[] =& $a;
    var_dump($b);
}

$a = 'one';
foo($a);
$a = 'two';
foo($a);


More information about the dev mailing list