mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
a50f27d838
commit
3f1fce0616
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue