{"id":1347,"date":"2004-09-21T00:24:57","date_gmt":"2004-09-21T00:24:57","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=1347"},"modified":"2004-09-21T00:24:57","modified_gmt":"2004-09-21T00:24:57","slug":"%eb%b0%b0%ec%97%b4%ec%9d%84-%ec%a7%80%ec%a0%95%eb%90%9c-%ec%88%9c%ec%84%9c%eb%b6%80%ed%84%b0-%eb%aa%a8%eb%91%90%ec%b6%9c%eb%a0%a5","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=1347","title":{"rendered":"\ubc30\uc5f4\uc744 \uc9c0\uc815\ub41c \uc21c\uc11c\ubd80\ud130 \ubaa8\ub450\ucd9c\ub825"},"content":{"rendered":"<p>\n\/**<br \/>\n\ubc30\uc5f4\uc6d0\uc18c\ub97c \uc9c0\uc815\ub41c \uc21c\uc11c\ubd80\ud130 \ub098\uc5f4\ud55c\ub2e4.<br \/>\n**\/<br \/>\nfunction array_sort ($array, $total_cnt, $start_cnt) {<br \/>\n  if($start_cnt!=0){<br \/>\n    $a_cnt = 0;<br \/>\n    for($i=$start_cnt; $i<$total_cnt; $i++){<br \/>\n      $array_test[$a_cnt] = $array[$i];<br \/>\n      $a_cnt++;<br \/>\n    }<\/p>\n<p>    for($i=0; $i<$start_cnt; $i++){<br \/>\n      $array_test[$a_cnt] = $array[$i];<br \/>\n      $a_cnt++;<br \/>\n    }<br \/>\n    return $array_test;<br \/>\n  }else{<br \/>\n    return $array;<br \/>\n  }<br \/>\n}<\/p>\n<p>$array = array (&#8220;four&#8221;, &#8220;three&#8221;, &#8220;twenty&#8221;, &#8220;ten&#8221;, &#8220;nine&#8221;, &#8220;five&#8221;, &#8220;eight&#8221;);<\/p>\n<p>$array_test = array_sort($array, sizeof($array), 3);<\/p>\n<p>while (list ($key, $value) = each ($array_test)) {<br \/>\n   echo &#8220;$key: $value<\/p>\n<p>&#8220;;<br \/>\n} <\/p>\n<p> 9\uc6d4 \ucf54\ub4dc\ub97c \uc9dc\ub2e4\ubcf4\uba74 \uac00\ub2a5\ud55c \ub8e8\ud504\ub97c \uc548\uc4f0\ub294\uac8c \uc88b\ub354\uad70\uc694.. <br \/>\n\uc2dc\uac04\uc774\ub098 \ub9ac\uc18c\uc2a4\ub098.. \ub418\ub3c4\ub85d php\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \ud3b8\uc785\ub2c8\ub2e4.<br \/>\n\ubb3c\ub860.. php \uc81c\uacf5\ud568\uc218\ub3c4 \ub0b4\ubd80\uc801\uc73c\ub85c \ub8e8\ud504\ub97c \ub3cc\ub9ac\uaca0\uc8e0..<\/p>\n<p>\uadf8\ub798\ub3c4;; \uc704 \ucf54\ub4dc\ub97c \ub8e8\ud504\uc5c6\uc774 \ud55c\ubc88 \ubc14\uafd4\ubd24\uc2b5\ub2c8\ub2e4..<\/p>\n<p><?<br \/>\n$array = array (&#8220;four&#8221;, &#8220;three&#8221;, &#8220;twenty&#8221;, &#8220;ten&#8221;, &#8220;nine&#8221;, &#8220;five&#8221;, &#8220;eight&#8221;);<\/p>\n<p>function array_remerge($arArray, $nNum)<br \/>\n{<br \/>\nif(!is_array($arArray)) return false;<br \/>\nif($nNum <1 || $nNum > count($arArray)) return $arArray;<\/p>\n<p>return array_merge(array_slice($arArray, $nNum),array_slice($arArray, 0, $nNum));<br \/>\n}<\/p>\n<p>$arReMerge = array_remerge($array, 3);<br \/>\nprint_r($arReMerge);<br \/>\n?>  09\/20 12:52:47  <\/p>\n<p> 9\uc6d4 \uc704 \ucf54\ub4dc\uc5d0\uc11c <br \/>\nif($nNum <1 || $nNum > count($arArray)) return $arArray;<br \/>\n\uac00 \ube60\uc9c0\ub2c8.. \uc880\ub354 \uc7ac\ubbf8\uc788\ub294 \ud6a8\uacfc(?)\uac00 \ub098\uc624\ub124\uc694..<br \/>\n$arReMerge = array_remerge($array, -3);<br \/>\n\uac19\uc740\uac8c \uac00\ub2a5\ud574\uc9c0\ub124\uc694&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/** \ubc30\uc5f4\uc6d0\uc18c\ub97c \uc9c0\uc815\ub41c \uc21c\uc11c\ubd80\ud130 \ub098\uc5f4\ud55c\ub2e4. **\/ function array_sort ($array, $total_cnt, $start_cnt) { if($start_cnt!=0){ $a_cnt = 0; for($i=$start_cnt; $i 09\/20 12:52:47 9\uc6d4 \uc704 \ucf54\ub4dc\uc5d0\uc11c if($nNum count($arArray)) return $arArray; \uac00 \ube60\uc9c0\ub2c8.. \uc880\ub354 \uc7ac\ubbf8\uc788\ub294 \ud6a8\uacfc(?)\uac00 \ub098\uc624\ub124\uc694.. $arReMerge = array_remerge($array, -3); \uac19\uc740\uac8c \uac00\ub2a5\ud574\uc9c0\ub124\uc694&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-1347","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/1347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1347"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/1347\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}