Get day most closely following today from list of days in PHP string
<p>I need to look at the contents of a string and determine what the day most closely following today would be. </p>

<p>For example. lets say I have a string called <code>$available_day_list</code> with the value "monday, thursday, friday, saturday,."</p>

<p>According to the list above, If today was tuesday, I would like to display "thursday."
If today was saturday, I would like to display "tuesday."</p>

<p>I am getting the value of today with:</p>

<pre><code>$current_day = date("l");
$current_day = strtolower($current_day);
</code></pre>

<p>Anyone know how I might be able to do this without an array? Thanks all!!</p>
