PHP 8.5.0 Beta 1 available for testing

Voting

: min(three, zero)?
(Example: nine)

The Note You're Voting On

vosechu at roman-fleuve dot com
21 years ago
If escapeshellarg() returned something on a null input it would probably break more programs than it helps. Even if it's two "'s or two ''s, this function wouldn't work the way it's supposed to (that is, returning nothing).

However, most people do not put "" into their commands but I can see where it might be useful at the same time.
Perhaps an option in the command that would return the type of null we want. I might want the null character to be returned, someone else might want '', and someone else might want nothing at all.

<< Back to user notes page

To Top