{"id":8,"date":"2009-02-21T22:15:54","date_gmt":"2009-02-21T22:15:54","guid":{"rendered":"http:\/\/syarman.com\/soft\/?p=8"},"modified":"2009-02-21T22:18:16","modified_gmt":"2009-02-21T22:18:16","slug":"echo-print","status":"publish","type":"post","link":"http:\/\/syarman.com\/soft\/2009\/02\/21\/echo-print\/","title":{"rendered":"Echo &#038; Print"},"content":{"rendered":"<p>Dalam PHP, echo dan print digunakan untuk menghasilkan output pada pelayar(<em>browser<\/em>). Sebagai contoh<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\necho 'Hello World';\r\n\/\/Hasilnya ialah Hello World\r\n?&gt;\r\n<\/pre>\n<p>Satu lagi contoh ialah penggunaan print yang mana mempunyai fungsi yang sama.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\nprint 'Hello World';\r\n?&gt;\r\n<\/pre>\n<p>Pilih sahaja yang mana kamu berkenan.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dalam PHP, echo dan print digunakan untuk menghasilkan output pada pelayar(browser). Sebagai contoh &lt;?php echo &#8216;Hello World&#8217;; \/\/Hasilnya ialah Hello World ?&gt; Satu lagi contoh ialah penggunaan print yang mana mempunyai fungsi yang sama. &lt;?php print &#8216;Hello World&#8217;; ?&gt; Pilih sahaja yang mana kamu berkenan.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-code","category-php"],"_links":{"self":[{"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":14,"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":136,"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/posts\/8\/revisions\/136"}],"wp:attachment":[{"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/syarman.com\/soft\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}