note 108494 deleted from keyword.class by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 16:53:55 +0000 |
| Subject: | note 108494 deleted from keyword.class by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187608@lists.php.net to get a copy of this message | ||
Note Submitter: support at blackkitesoftware dot com
----
recently we did the cart checking method php version 5.3.1,
Code:
<?php
Cart::justCheck();
exit;
class Cart{
var $items;
function add_item($artnr,$num){
$this->items[$artnr]+=$num;
}
function remove_item($artnr,$num){
}
function justCheck(){
echo "<br>Checking is done....";
}
}
?>
OutPut:
Checking is done....