Question:The following php variables are declared:
<?php
$company = 'ABS Ltd';
$$company = ',Sydney';
?>
Which of the following is not a correct way of printing 'ABS Ltd, Sydney'? 

A echo "$company $$company"; 

B echo "$company ${$company}"; 

C echo "$company ${'ABS Led'}"; 

D echo "$company {$$company}"; 

+ Answer
+ Report
Total Preview: 275

Copyright © 2024. Powered by Intellect Software Ltd