<?php
class sheep {
    var $name;
}

$start = new sheep;
$start->name = "Dolly";
$new = $start->__clone();
$new->name = "Molly";
var_dump($start);
?>

BOOM!

-Sterling
-- 
Good judgement comes from experience, and experience comes from 
bad judgement. 
    - Fred Brooks


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to