Voting

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

The Note You're Voting On

reuben dot helms at gmail dot com
19 years ago
Helmuts programming example is incorrect.

PHP arrays start from zero, so your first entry is $entry[0] and your last entry is $entry[$entry["count"] - 1].

$entry[$entry["count"]] will never exist, thus his usage of is_null.

Helmuts usage of is_null is not elegant, its just poor understanding of arrays.

Save some confusion and remove Helmuts entry and this one.

<< Back to user notes page

To Top