OpenTechBook
  • Home
  • Open Books
    • All Open Books

    • Free eBooks
    • Free Magazines
    • Free Journals

    • Submit an Open Book
  • Quizzes
Home » Quiz » PHP Quiz

What is the result of the expression 5%35%3 in PHP?

Difficulty level
  • 1
  • 0
  • 2
  • 3
In PHP, the % operator is used for modulus. In this expression, 5%35 first results in 5, then 5%3 results in 2. So the answer is 2.
Add your answer
Loading...
Facebook Twitter Linkedin Reddit Pinterest
PHP Quiz
Quiz
In PHP, the ________ function can be used to return a part of a string.
Which PHP function can be used to write a string to a file?

Related Quiz

  • In PHP, a number with a decimal point or an exponential form is considered a float.
  • How do I check if a given variable is empty?
  • How do I escape data before storing it in the database?
  • What is the purpose of the array_reverse() function in PHP?
  • You are writing a PHP script and you need to check if a variable contains a numeric value. How would you do this?

Leave a commentCancel

Your email address will not be published. Required fields are marked *

Hot Quiz

PHP QuizMachine Learning QuizReact.js QuizCyber Security QuizPython QuizNode.js QuizASP.NET Core QuizData Science Statistics QuizCSS QuizADO.NET QuizCheckpoint QuizServlet QuizData Modelling QuizAPI Testing QuizDatabase Testing QuizBootstrap QuizAlgorithm QuizComputer Science QuizCommvault QuizJCL Quiz
Copyright © 2025 Open Tech Book
  • About
  • Contact
  • FAQ
  • DMCA
  • Disclaimer
  • Privacy Policy