-
Pet Projects
Tag Archives: ternary operator
This is one my favorites. Sometimes I use this when I come around “short” conditions in variable assignments. Instead of writing something like this: if (isset($myvar)) { $temp = $myvar; } else { $temp = ""; //i need to set … Continue reading