1.<?php
echo'bsfjbsnmfbs';
?>
2.<?
ech'hjndfjkshf';
?>
3
<?
echo'naskfdjnask';


three programs are exected but which is beter why

Answers were Sorted based on User's Feedback



1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <..

Answer / soni

1.<?php
echo'bsfjbsnmfbs';
?>
It's beter to excuted.

Is This Answer Correct ?    31 Yes 2 No

1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <..

Answer / ritu

<?php
echo'bsfjbsnmfbs';
?>

this is better way to execute..

Is This Answer Correct ?    11 Yes 0 No

1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <..

Answer / sandhya

<?php
echo'bsfjbsnmfbs';
?>
is the correct way to execute.

Why because..
In asp also the tags will be <? ?> like this, some servers
don't know whether it is php or asp.

Is This Answer Correct ?    7 Yes 4 No

Post New Answer

More PHP Interview Questions

What is escaping to php?

0 Answers  


How to insert an new array element in array?

0 Answers  


What are the two main string operators?

0 Answers  


Which is better session or cookie?

0 Answers  


hi recently i had faced an interview in that they asked me that php have faced the problem of y2k so which one is that year like 2030,2059 not remember exact year anybody will tell me pls?

1 Answers  






What is php resource type?

0 Answers  


I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable

0 Answers  


Do you know what is use of count() function in php?

0 Answers  


How to make a file encrypt and decrypt?

4 Answers   3i Infotech,


Do you know how can php and html interact?

0 Answers  


how can i develop forum code? any one pleale help me on this question

0 Answers  


What is a controller in programming?

0 Answers  


Categories