tmdb_v3-PHP-API-
tmdb_v3-PHP-API- copied to clipboard
Error Handler
When doing a $tmdb->getMovie($movieId);
, what is the best way to return false if said movie doesn't exist?
For example, $tmdb->getMovie(asdasdas);
would return false as asdasdas
wouldn't be a valid movie ID.