×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

What will be the output of the following PHP code (8)?

39. What will be the output of the following PHP code?

<?php
$value1 = NULL;
$value2 = null;

var_dump($value1);
var_dump($value2);
?>  
  1. Error
  2. NULL undefined
  3. NULL object
  4. NULL NULL

Answer: D) NULL NULL

Explanation:

Both of the values "NULL" and "null" are NULL. Thus, the output will be "NULL NULL".

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.