一个遍历stdClass导致的死循环

$std = new stdClass();
$std->a = 1;
foreach ($std as $key => $item) {
    $name = "呵呵{$key}";
    $std->$name = $item + 1;
}