Created
August 5, 2015 19:08
-
-
Save jclapp23/0927bb1e95bd5251ba88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if($scheduleString){ | |
$formattedSchedule = json_decode($scheduleString); | |
could be shortened to this because json_decode will return false if string doesnt exist or is garbage | |
if($formattedSchedule = json_decode($scheduleString)){ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment