<mySearch ⁄>
<myBlog show="last" ⁄>
<myPhoto order="random" ⁄>
<mySnippets order="rand" ⁄>
<mySnippets type="lang" ⁄>
<myQuote order="random" ⁄>Nada se pode esculpir sobre a madeira podre
<myContacts ⁄><email ⁄>
<windows live messenger ⁄>
<myCurriculum type="pdf" ⁄>
<myVisitorsMap ⁄>After I did my own research, I discovered that someone had beat me to it. As early as September last year Fredrik Holmström wrote about Javascript-OO & Python-DuckTyping in PHP5.3.
I've done the same thing independently and somewhat differently, so it's interesting to compare. Unlike Holmström, I'm defining the closures inside the constructor for the class that's using them. That makes the code that uses the class a little more similar to what we're used to.
este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:
http://blog.agilephp.com/2009/03/31/real-programming-with-php-53-part-...
<myNews show="rand" cat="programacao" ⁄>