{"action":"closed","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/11322","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11322/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11322/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11322/events","html_url":"https://github.com/phalcon/cphalcon/issues/11322","id":127427758,"number":11322,"title":"Cannot store number 0 by file cache","user":{"login":"zxz054321","id":7540550,"avatar_url":"https://avatars.githubusercontent.com/u/7540550?v=3","gravatar_id":"","url":"https://api.github.com/users/zxz054321","html_url":"https://github.com/zxz054321","followers_url":"https://api.github.com/users/zxz054321/followers","following_url":"https://api.github.com/users/zxz054321/following{/other_user}","gists_url":"https://api.github.com/users/zxz054321/gists{/gist_id}","starred_url":"https://api.github.com/users/zxz054321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxz054321/subscriptions","organizations_url":"https://api.github.com/users/zxz054321/orgs","repos_url":"https://api.github.com/users/zxz054321/repos","events_url":"https://api.github.com/users/zxz054321/events{/privacy}","received_events_url":"https://api.github.com/users/zxz054321/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T11:46:28Z","updated_at":"2016-01-21T15:21:18Z","closed_at":"2016-01-21T15:21:18Z","body":"like these codes:\r\n\r\n    $cache = new BackFile(\r\n                new FrontOutput([\"lifetime\" => 6 * 3600]),\r\n                ['cacheDir' => $dir]\r\n    );\r\n    \r\n    $cache->save('counter', 0);\t\r\n\r\nPhalcon will only create an **empty** file named **counter**\r\nA **0** should be placed in the file!\r\n\r\nEnvironment\r\n - Windows 10\r\n - XAMPP\r\n - Phalcon 2.0.9\r\n"}}