Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP WTFs

Name: Anonymous 2013-03-20 18:58

http://php.net/manual/en/function.shuffle.php
This function shuffles (randomizes the order of the elements in) an array.
Returns TRUE on success or FALSE on failure.


How can a shuffle fail?

Name: Anonymous 2013-03-21 16:41

http://en.wikipedia.org/wiki/PHP#Functions
True anonymous functions are supported using the following syntax:
function($y) use ($x) {

Wut? Isn't the whole point of lexical closures is to automate variable capture process?

http://www.tuxradar.com/practicalphp/18/1/10
PHP performs garbage collection ... When you tell it to
that is just WTF?!!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List