In PHP, integers can be specified in decimal (base 10), hexadecimal (base 16), octal (base 8), and ______ (base 2) format.

  • Binary
  • Ternary
  • Quaternary
  • Octal
In PHP, integers can be specified in decimal (base 10), hexadecimal (base 16), octal (base 8), and binary (base 2) format. Decimal is the most common format, while hexadecimal is denoted by the prefix "0x", octal by the prefix "0", and binary by the prefix "0b". These different formats provide flexibility in representing and working with integers in various numeric systems. Learn more: https://www.php.net/manual/en/language.types.integer.php
Add your answer
Loading...

Leave a comment

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