{"id":6,"date":"2006-08-02T12:15:28","date_gmt":"2006-08-02T12:15:28","guid":{"rendered":"http:\/\/kera.name\/articles\/?p=6"},"modified":"2008-07-29T22:06:12","modified_gmt":"2008-07-29T22:06:12","slug":"array-numbers","status":"publish","type":"post","link":"https:\/\/kera.name\/articles\/2006\/08\/array-numbers\/","title":{"rendered":"Numbers"},"content":{"rendered":"<p>Here&#039;s an idea. When writing a script to track and tabulate advertising hits for a network synchronisation company, don&#039;t forget that the string &#034;01&#034; and the string &#034;1&#034; are different. It took me until the beginning of a new month to realise that my table refused to handle array keys &#034;01&#034;,&#034;02&#034;,&#034;03&#034;&#8230; because it was looking for &#034;1&#034;,&#034;2&#034;,&#034;3&#034;. Poor effort.<\/p>\n<p><textarea name=\"code\" class=\"php:nocontrols:nogutter\" cols=\"60\" rows=\"10\">$days[01] != $days[1];<\/textarea>\n<\/p>\n<p>Even without the quotes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#039;s an idea. When writing a script to track and tabulate advertising hits for a network synchronisation company, don&#039;t forget that the string &#034;01&#034; and the string &#034;1&#034; are different. It took me until the beginning of a new month to realise that my table refused to handle array keys &#034;01&#034;,&#034;02&#034;,&#034;03&#034;&#8230; because it was looking [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[5],"_links":{"self":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}