We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When doing a $tmdb->getMovie($movieId);, what is the best way to return false if said movie doesn't exist?
$tmdb->getMovie($movieId);
For example, $tmdb->getMovie(asdasdas); would return false as asdasdas wouldn't be a valid movie ID.
$tmdb->getMovie(asdasdas);
asdasdas
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 asasdasdas
wouldn't be a valid movie ID.The text was updated successfully, but these errors were encountered: