Question:What is the output of the following PHP code?
<?php

define('FOO', 10);
$array = array(10 => FOO, "FOO" => 20);
print $array[$array[FOO]] * $array["FOO"];

?>
 

A FOO 

B 100 

C 200 

D 20 

E 20 

+ Answer
+ Report
Total Preview: 1352

Copyright © 2024. Powered by Intellect Software Ltd