Questions Related to php

Multiple choice php
  1. It converts them to a common compatible data type and then compares the resulting values

  2. It returns True only if they are both of the same type and value

  3. If the two values are strings, it performs a lexical comparison

  4. It bases its comparison on the C strcmp function exclusively

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice php
  1. function is_leap($year = 2000)
  2. function is_leap($year default 2000)
  3. function is_leap($year)
  4. is_leap($year default 2000)
Reveal answer Fill a bubble to check yourself
A Correct answer