adding extra example for issue in bug #10022

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50264 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Beckham 2001-06-27 06:11:31 +00:00
parent a50f27d838
commit 3f1fce0616

View file

@ -82,6 +82,7 @@ class Cart {
var $todays_date = date("Y-m-d");
var $name = $firstname;
var $owner = 'Fred ' . 'Jones';
var $items = array("VCR", "TV");
}
/* This is how it should be done. */
@ -89,6 +90,7 @@ class Cart {
var $todays_date;
var $name;
var $owner;
var $items;
function Cart() {
$this->todays_date = date("Y-m-d");