Question:What will produce output for the following PHP code fragment?
$email1="admin@example.com";
$email2="ADMIN@example.com";

if(!strcasecmp($email1,$email2)){
  echo "The email address are identical!";
}

if(strcmp($email1,$email2)){
  echo "The email address are identical!";
}
 

A None outputting 

B Error 

C The email address are identical 

D The email address are identical! The email address are identical! 

+ Answer
+ Report
Total Preview: 736

Copyright © 2024. Powered by Intellect Software Ltd