Count memcache/apc debug lines
| | |
| | | */ |
| | | private function debug($type, $key, $data = null, $result = null) |
| | | { |
| | | $line = strtoupper($type) . ' ' . $key; |
| | | $line = '[' . (++$this->debug_count) . '] ' . strtoupper($type) . ' ' . $key; |
| | | |
| | | if ($data !== null) { |
| | | $line .= ' ' . ($this->packed ? $data : serialize($data)); |
| | |
| | | */ |
| | | private function debug($type, $key, $data = null, $result = null) |
| | | { |
| | | $line = strtoupper($type) . ' ' . $key; |
| | | $line = '[' . (++$this->debug_count) . '] ' . strtoupper($type) . ' ' . $key; |
| | | |
| | | if ($data !== null) { |
| | | $line .= ' ' . ($this->packed ? $data : serialize($data)); |