what is the output ?
Top Questions
<?php
echo "www.w3answers.com";
if ((string)'-1') { print 'ouch'; } else { print 'echo'; }
?>a. ouch
b. echo
c. none
d. Parse error
ANS: a
<?php
echo "www.w3answers.com";
if ((string)'-1') { print 'ouch'; } else { print 'echo'; }
?>a. ouch
b. echo
c. none
d. Parse error
ANS: a
Post new comment