{"id":77,"date":"2010-02-07T16:34:25","date_gmt":"2010-02-07T21:34:25","guid":{"rendered":"http:\/\/signaturewebmedia.com\/blog\/?p=77"},"modified":"2010-02-07T16:51:14","modified_gmt":"2010-02-07T21:51:14","slug":"t_paamayim_nekudotayim","status":"publish","type":"post","link":"http:\/\/signaturewebmedia.com\/blog\/77\/t_paamayim_nekudotayim\/","title":{"rendered":"T_PAAMAYIM_NEKUDOTAYIM?"},"content":{"rendered":"<p><a href=\"http:\/\/getfreeipad.us\/info\/offer1\/\" target=\"_blank\" rel=\"nofollow\"><img src=\"http:\/\/getfreeipad.us\/images\/ipad-tester-wanted.jpg\" border=\"0\"><\/a><\/p><p>What the heck is &#8220;T_PAAMAYIM_NEKUDOTAYIM&#8221; ???<\/p>\n<p>When you are programming classes in PHP, you might encounter this error.<\/p>\n<blockquote><p><strong>Parse error<\/strong>: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in <strong>xxxxxx <\/strong>on line <strong>nn<\/strong><\/p><\/blockquote>\n<p>Well, basically you screwed up some static scope reference somewhere. The origin of this error is something to do with the origin of PHP. According to <a title=\"PHP : wikipedia\" rel=\"nofollow\" href=\"http:\/\/en.wikipedia.org\/wiki\/PHP\" target=\"_blank\">wiki<\/a>, the language was once worked on by two Israeli developers:<\/p>\n<blockquote><p>paam &#8211;&gt; One<\/p>\n<p>ayim &#8211;&gt; Doubled<\/p>\n<p>nekudot &#8211;&gt; Dot<\/p>\n<p>ayim &#8211;&gt; Doubled<\/p><\/blockquote>\n<p>Seems like it means  &#8220;double-colon&#8221; in Hebrew.\u00a0 (static class reference)<\/p>\n<p>The easiest way to reproduce is:<\/p>\n<blockquote><p>&lt;?php<\/p>\n<p>$test::bogus();<\/p>\n<p>?&gt;<\/p><\/blockquote>\n<p>For many ways, the above reference method is wrong&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What the heck is &#8220;T_PAAMAYIM_NEKUDOTAYIM&#8221; ???<br \/>\nWhen you are programming classes in PHP, you might encounter this error.<br \/>\nParse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in xxxxxx on line nn<br \/>\nWell, basically you screwed up some static scope reference somewhere. The origin of this error is something to do with the origin of PHP. According to wiki, the language was once worked on by two Israeli developers:<br \/>\npaam &#8211;&gt; One<br \/>\nayim &#8211;&gt; Doubled<br \/>\nnekudot &#8211;&gt; Dot<br \/>\nayim &#8211;&gt; Doubled<\/p>\n<p>Seems like it means  &#8220;double-colon&#8221; in Hebrew.\u00a0 (static class reference)<br \/>\nThe easiest way to reproduce is:<br \/>\n&lt;?php<br \/>\n$test::bogus();<br \/>\n?&gt;<br \/>\nFor many ways, the above reference method is wrong&#8230;<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/getfreeipad.us\/info\/offer2\/\" target=\"_blank\" rel=\"nofollow\">\r\n<IMG SRC=\"http:\/\/www.mb01.com\/getimage.asp?m=1753&o=2883&i=39158.dat\" width=300 height=250 border=0>\r\n<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[38],"tags":[39,198,43,44,42,40,41],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts\/77"}],"collection":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":5,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":80,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/posts\/77\/revisions\/80"}],"wp:attachment":[{"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/signaturewebmedia.com\/blog\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}