• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 2 páginas
Examen

Php Interview Questions & Answers

Document preview thumbnail
Vista previa 1 fuera de 2 páginas

PHP INTERVIEW QUESTIONS & ANSWERS

Vista previa del contenido

PHP INTERVIEW QUESTIONS & ANSWERS


What is the use of "echo" in php? - Answers -It is used to print a data in the webpage

How to include a file to a php page? - Answers -include a file using "include() " or
"require()" function with file path as its parameter.

What's the difference between include and require? - Answers -If the file is not found by
require(), it will cause a fatal error and halt the execution of the script. If the file is not
found by include(), a warning will be issued, but execution will continue.

Differences between GET and POST methods ? - Answers -We can send 1024 bytes
using GET method but POST method can transfer large amount of data and POST is
the secure method than GET method

How to declare an array in php? - Answers -$arr = array('apple', 'grape', 'lemon');

What is use of in_array() function in php ? - Answers -in_array used to checks if a value
exists in an array

What is use of count() function in php ? - Answers -count() is used to count all elements
in an array, or something in an object

What is the difference between Session and Cookie? - Answers -The main difference
between sessions and cookies is that sessions are stored on the server, and cookies
are stored on the user's computers in the text file format.

How to set cookies in PHP? - Answers -Setcookie("sample", "ram", time()+3600);

what types of loops exist in php? - Answers -for,while,do while and foreach

How we can retrieve the data in the result set of MySQL using PHP? - Answers -1.
mysql_fetch_row
2. mysql_fetch_array
3. mysql_fetch_object
4. mysql_fetch_assoc

What is the difference between explode() and split() functions? - Answers -Split
function splits string into array by regular expression. Explode splits a string into array
by string.

How stop the execution of a php scrip ? - Answers -exit() function is used to stop the
execution of a page

Información del documento

Subido en
23 de enero de 2026
Número de páginas
2
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$9.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(376)
Vendido
2225
Seguidores
1451
Artículos
62880
Última venta
11 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes