Sostituisci la riga:

if (!isset($start) OR $start<0)

con:

if (!isset($start) || $start<0)