Skip to content

IT Notes

IT Notes

  • Home
  • Privacy Policy
  • Sample Page
    • Home
    • Interview Questions
    • PHP Interview Questions
    • Page 2
PHP Interview Questions

What are the three classes of errors that can occur in PHP?

The three basic classes of errors are notices (non-critical), warnings (serious errors) and fatal errors (critical errors).

PHP Interview Questions

Is it possible to protect special characters in a query string?

Yes, we use the urlencode() function to be able to protect special characters.

PHP Interview Questions

What is the difference between ereg_replace() and eregi_replace()?

The function eregi_replace() is identical to the function ereg_replace() except that it ignores case distinction when matching alphabetic characters.

PHP Interview Questions

Is it possible to submit a form with a dedicated button?

It is possible to use the document.form.submit() function to submit the form. For example: <input type=button value="SUBMIT" onClick="document.form.submit()">

PHP Interview Questions

What is the difference between for and foreach?

for is expressed as follows: for (expr1; expr2; expr3) statement The first expression is executed once at the beginning. In each iteration, expr2 is evaluated. If it is TRUE, the…

PHP Interview Questions

What is the difference between the functions strstr() and stristr()?

The string function strstr(string allString, string occ) returns part of allString from the first occurrence of occ to the end of allString. This function is case-sensitive. stristr() is identical to…

PHP Interview Questions

How can we determine whether a variable is set?

The boolean function isset determines if a variable is set and is not NULL.

PHP Interview Questions

How is it possible to parse a configuration file?

The function parse_ini_file() enables us to load in the ini file specified in filename and returns the settings in it in an associative array.

PHP Interview Questions

What does the expression Exception::__toString means?

Exception::__toString gives the String representation of the exception.

PHP Interview Questions

what is the difference between Exception::getMessage and Exception:: getLine?

Exception::getMessage lets us getting the Exception message and Exception::getLine lets us getting the line in which the exception occurred.

Posts navigation

1 2 3 … 11

« Previous Page — Next Page »

Recent Posts

  • What is Blade?
  • What are the features of Laravel?
  • What is Laravel?
  • Explain the for keyword
  • Explain the enum keyword

Recent Comments

No comments to show.

Archives

  • June 2025
  • November 2024
  • August 2024
  • July 2024
  • April 2024
  • September 2023
  • May 2023

Categories

  • Android Interview Questions
  • Angular JS interview Questions
  • C Programming
  • C Programs
  • C++ Programming
  • Codeigniter Interview Questions
  • Computer Network
  • CSS Interview Questions
  • HTML Interview Questions
  • Java
  • Java Interview Questions
  • Javascript Interview Questions
  • jQuery interview Questions
  • Laravel Interview Questions
  • Mobile Application Development
  • MySQL Interview Questions
  • PHP
  • PHP Interview Questions
  • Python
  • Python Interview Questions
  • React JS Interview Questions
  • Software Engineering
  • System Analysis and Design (SAAD)
  • Uncategorized
  • Vtiger CRM

You Missed

Laravel Interview Questions

What is Blade?

Laravel Interview Questions

What are the features of Laravel?

Laravel Interview Questions

What is Laravel?

C Programming

Explain the for keyword

IT Notes

Copyright © All rights reserved | Blogus by Themeansar.