{"provider_url":"https://hatena.blog","title":"\u307e\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30c6\u30b9\u30c8\u3092\u89e3\u3044\u3066\u307f\u305f","blog_url":"https://serihiro.hatenablog.com/","version":"1.0","image_url":null,"description":"\u6687\u3064\u3076\u3057\u306b\u3053\u3053\u306e\u30ea\u30f3\u30af\u306b\u3042\u3063\u305f \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u554f\u984c\u3092\u89e3\u3044\u3066\u307f\u305f\u554f\u984c\uff1a Given a number, e.g., 2789, as an array [2,7,8,9]. Write a method that returns the array incremented by one: i.e. [2,7,9,0]. <?php print_r( arrayCalc( array(2,5,2,5) ) ); function arrayCalc($valueArray){ if( !is_array($valueArray) || (count($valueArray) == 0) ){ ret\u2026","published":"2012-04-28 02:43:41","width":"100%","categories":["\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30c6\u30b9\u30c8"],"author_name":"serihiro","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fserihiro.hatenablog.com%2Fentry%2F20120428%2F1335635021\" title=\"\u307e\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30c6\u30b9\u30c8\u3092\u89e3\u3044\u3066\u307f\u305f - seri::diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_title":"seri::diary","url":"https://serihiro.hatenablog.com/entry/20120428/1335635021","author_url":"https://blog.hatena.ne.jp/serihiro/","height":"190","provider_name":"Hatena Blog"}