Skip to main content
deleted 1 character in body
Source Link
Seer
  • 5.2k
  • 5
  • 37
  • 55

You should use a prefix test using isset method.

The call would look like that:

if (isset ($items[ $count + 1 ])) { //do stuffs} 

You should use a prefix test using isset method.

The call would look like that:

if (isset ($items[ $count + 1 ])) { //do stuffs} 

You should use a prefix test using isset method.

The call would look like that:

if (isset($items[ $count + 1 ])) { //do stuffs} 
Source Link

You should use a prefix test using isset method.

The call would look like that:

if (isset ($items[ $count + 1 ])) { //do stuffs}