Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Reddit.com: Less obvious PHP tricks?

Reddit.com: Less obvious PHP tricks?

On Reddit.com there’s a recent post with a question about some of the lesser known PHP tricks that other developers might have picked up out there. The post has pulled in quite a few suggestions including:

  • Using predefined interfaces
  • The streams API
  • Defining constant defaults
  • The speed differences in reading parts of arrays
  • Boolean attribution

There’s also a full discussion on closures/lambdas that no “features” post on PHP would be complete without. Have some tips to share? Add yours to the post too!

Source: http://www.phpdeveloper.org/news/15652

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Posted Grudzień 31st, 2010 in WEB and PHP Development.

Leave a response: