PHP Interview Questions

PHP Interview questions: Read Best interview questions, tips, news, and tutorials on PHP. Find PHP Questions asked in various companies interview, Get Career advice & Interview Procedures from PHP experts.

  • What is mvc in PHP?
    Php

    Posted By: bookermontenegro

  • Write a program to upload files using curl
    Php

    Posted By: Abercormlen

  • What is name of max execution time constant in php?
    Php

    Posted By: Winfred

  • What is difference between echo and print in PHP?
    Php

    Posted By: Vincent

  • What is HTML DOM?
    Php

    Posted By: Oran

  • Explian the difference between cookie and session?
    Php

    Posted By: Akhil Joy

  • How to create cookies via Ajax in PHP?
    Php

    Posted By: Sim

  • What is sql injection? What you do to prevent SQL Injection in PHP?
    Php

    Posted By: Lyman

  • Explain scope levels in PHP.
    Php

    Posted By: Jignesh

  • Find the longest palindrome in a string
    Php

    Posted By: Bud

  • What is difference between session and cookie?
    Php

    Posted By: Eddierot

  • How to get IP address of user in PHP
    Php

    Posted By: Jose

  • What is the full form of PHP?
    Php

    Posted By: Mohammed Vajhullah

  • How to create object of Interface?
    Php

    Posted By: Asbury

  • What is cross site scripting and how it can be prevented?
    Php

    Posted By: Allen

  • Write pyramid structure without using PHP function ?
    Php

    Posted By: Winfield

  • What is difference between XAMPP, WAMP, and LAMP
    Php

    Posted By: Gardner

  • Tell me few diffrence between GET & POST
    Php

    Posted By: Faisal alamgir

  • How to connect MongoDB using PHP?
    Php

    Posted By: Hunter

  • What is default session time in PHP? How to increase It?
    Php

    Posted By: Leon

  • How can you connect a web page data with mysql ?
    Php

    Posted By: Michael

  • Explian the difference between preg_Match and preg_replace?
    Php

    Posted By: luciomontague9

  • List the HTTP methods avalable in PHP?
    Php

    Posted By: SMK

  • What is Interface? Why we use it?
    Php

    Posted By: Hayden

  • What is difference betwwen PHP 4, 5 and 7?
    Php

    Posted By: B.V.Sravani

  • What is difference between the include(), require(),require_once() functions in PHP?
    Php

    Posted By: Krishna Kushwaha

  • What are design patterns in PHP? Can you list few.
    Php

    Posted By: Enoch

  • What are Super Global variables in PHP?
    Php

    Posted By: Rollin

  • What is Php ini?
    Php

    Posted By: Elvis

  • Code to send a mail with attachment using phpmailer?
    Php

    Posted By: Lambert

  • What is difference between CURL and AJAX?
    Php

    Posted By: Henderson

  • How to set and Get a value in PHP Session.
    Php

    Posted By: Antone

  • What is the usage of link() in PHP?
    Php

    Posted By: Jignesh

  • ;