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

Is it possible multiple inheritance in php?

1 Answers  


what are the differents between 'action' and 'target' in form tag?

3 Answers  


What is the difference between == and === in php?

1 Answers  


What is indexing in mysql and how do we create indexing in mysql

4 Answers  


How to delete file in php?

1 Answers  


Can a trait extend a class php?

1 Answers  


What is the difference between print() and echo()?

1 Answers  


What is the value for this auto incremented field user_pri_id?

1 Answers  


What type of errors can be occurred in php?

1 Answers  


What is the importance of php?

1 Answers  


Explain about Type Juggling in PHP?

2 Answers  


Tell me how is it possible to parse a configuration file?

1 Answers  


Categories