cvs: presentations /slides/intro php5_refclone.xml

From: Date: Tue, 03 Feb 2004 17:58:34 +0000
Subject: cvs: presentations /slides/intro php5_refclone.xml
Groups: php.pres 
Request: Send a blank email to pres+get-962@lists.php.net to get a copy of this message
rasmus Tue Feb 3 12:58:34 2004 EDT Modified files: /presentations/slides/intro php5_refclone.xml Log: New clone operator http://cvs.php.net/diff.php/presentations/slides/intro/php5_refclone.xml?r1=1.1&r2=1.2&ty=u Index: presentations/slides/intro/php5_refclone.xml diff -u presentations/slides/intro/php5_refclone.xml:1.1 presentations/slides/intro/php5_refclone.xml:1.2 --- presentations/slides/intro/php5_refclone.xml:1.1 Tue Jan 20 13:37:15 2004 +++ presentations/slides/intro/php5_refclone.xml Tue Feb 3 12:58:34 2004 @@ -32,7 +32,7 @@ } $linux = new OS('linux'); - $win = $linux->__clone(); + $win = clone $linux; changeName($win, 'windows'); echo $linux->name. "\n"; echo $win->name;

« previous php.pres (#962) next »