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:18

http://php.net/manual/en/function.echo.php
echo is not actually a function (it is a language construct), so you are not required to use parentheses with it. echo (unlike some other language constructs) does not behave like a function, so it cannot always be used in the context of a function. Additionally, if you want to pass more than one parameter to echo, the parameters must not be enclosed within parentheses.

What in the name of fuck? Why does that exist?

And why there is http://php.net/manual/en/function.print.php
Returns 1, always.

what is the point of always returning 1?

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