What is the correct and the most two common way to start and finish a php block of code?



What is the correct and the most two common way to start and finish a php block of code?..

Answer / Rashmi Kumari

The PHP block starts with '<?php' and ends with '?>'. Alternatively, short tags can be used as '<?' and '?>', but they are less recommended due to potential compatibility issues.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Explain about the connective abilities of the PHP?

1 Answers  


What is the difference between runtime exception and compile time exception?

1 Answers  


What is strlen php?

1 Answers  


List some features of php that are deprecated in php

1 Answers  


What are the encryption techniques in php?

1 Answers  


How to insert an new array element in array?

1 Answers  


What is global variable php?

0 Answers  


Starting or restarting a computer is called

1 Answers  


How many data types are used by php?

1 Answers  


How to change the principal password?

1 Answers  


hi, i have knowledge about PHP/MYSQL,i am fresher M.Sc-IT 2009 pass out,any recruitment in PHP please let me know.

0 Answers  


Why overriding is called runtime polymorphism?

1 Answers  


Categories