in

Find 2nd largest value in an array. or Max array value?

Find the index of any element in an array.

How to remove first two elements from an array.

Remove Duplicate Array

What is the difference between indexed and associative array?

Why we use array_flip

How to Delete an element from an array?

How to get a random value from a PHP array?

How to find first array elements which are missing in second array.

Which in-built function will add a value to the end of an array?

What is the difference between array_merge and array_combine

How to remove first two elements from an array.

What is the difference between indexed and associative array?

AllSort Functions For Arrays

Write a program to print Reverse of any number

how to find last number of array?

if and switch diffrence?

const Vs define?

Print any table without any loop?

Explain PHP explode() and Implode ?

Find a word in a string and replace it.

Find a position of a word in a string.

Find last 4 letter of the string.

Write a program to print Factorial of any number?

Write a program in PHP to print Fibonacci series . 0, 1, 1, 2, 3, 5, 8, 13, 21, 34?

Swap 2 numbers using two variable?

Write a program to print Reverse of any number?

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

What is difference between single quotes and double quotes in php

Why we use extract() in PHP?

Missing number in array

Compare two array missing value what?

What is a ternary operator?

Difference between overloading and overriding?

Write a program to print Reverse of any number?

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

What is the difference between == and === operator in PHP?

Magic function()?

What is NULL?

How preg_match() function works?

What is the use of this keyword?

Why we use extract() in PHP ?

What is difference between var_dump and print_r

Define json_encode() function ? Define json_decode() Function?

Unset function?

Explode and implode function?

How to convert a JSON string to an array in PHP?

Use of these array?

  • do_array()
  • in_array()
  • is_array()
  • array_flip()
  • array_merge()
  • array_rand()
  • array_replace()
  • array_reverse()
  • array_search()
  • array_slice()
  • array_splice()
  • compact()
  • next()
  • array_chunk()
  • array_chunk()
  • array_chunk()
  • array_chunk()
  • array_key()

Rest API?

Diffrence between $ and $$ ?

recurion function()

Autherntication programms

Calculators?

How to find primary numbers between two numbers?

Get Vs Post ?

Programme to print table without using loop?

if vs switch?

Pattern All type

Mysql

What are HEAP Tables?

What are the different types of strings in Database columns in MySQL?

What is the difference between primary key and candidate key?

What are the different types of tables in MySQL?

What is the use of ENUM in MySQL?

What are the TRIGGERS that can be used in MySQL tables?

What is the difference between LIKE and REGEXP operators in MySQL?

How to use the MySQL slow query log?

How can you change the root password if the root password is lost?

How to resolve the problem of data disk that is full?

What is the difference between DELETE TABLE and TRUNCATE TABLE commands in MySQL?

What are types of joins in MySQL?

What is the difference between primary key and unique key?

What is the difference between BLOB and TEXT?

What is the difference between MySQL and SQL?

Why do we use the MySQL database server?

What is the difference between FLOAT and DOUBLE?

What is the difference between MySQL_connect and MySQL_pconnect?

What is difference between ORDER BY and GROUP BY in SQL?

How to get second maximum salary in an organization

How to get the two max salary of an organization?

How to get the student name got maximum marks in a class?

How many TRIGGERS are possible in MySql?

How to get current date in MySql?

How to concatenate two fields in MySql?

How to get comma seperated values in a given column for each group. If we have a table that contains StudentId and subject ID and we need to get subject id\’s in comma seperated values for each student Id?

How to access all employees name who are getting the second highest salary?

How to delete only the repeated records from a USER table ?

Find records from employee table who joined between 01-06-2015 and 1-10-2015 where employees name have NULL?

How to get records from first table which does not exist in second table?

Offset in mysql to get salary?

Find a word in a string and replace it.

<@php $string = "Array99 has good blog for PHP programming.";
$newString = str_replace(“good”, “nice”, $string);
echo $newString; //Output: Array99 has nice blog for PHP programming.”
@>

Find a position of a word in a string.

<@php
$string = “Array99 has good blog for PHP programming.”;
$pos = strpos($string, “good”);
echo $pos; //Output: 12
@>

Find last 4 letter of the string.

<@php $string = "Array99 has good blog for PHP programming";
$substring = substr($string, -4);
echo $substring; //Output: ming
@>

Program to find whether a year is LEAP year or not

What is the difference between session and cookies

1 : Session are temporary and Cookies are parmanent.

2 : Session data is store on server while Cookies are store on user\’s computer.

3 :Cookies contents can be easily modify but to modify Session contents is very hard.

4 :Cookies could be save for future reference but Session couldn\’t when user close the browser Session data also lost.

What is difference between echo() and print()

echo() and print() function both are used to show the output on the visitors screen but in echo we can take one or more parameters.

print() has a return value of true or false whereas echo has a void return type.

echo() is slightly faster than print.

How many types of errors in PHP

(1) Notice error

(2) Warning error

(3) Fatal error

What is a .htacces file

.htaccess is a configuration file running on Apache server.These .htaccess file used to change the functionality and features of apache web server .

e.g .htaccess file used for url rewrite

.htaccess file used to make the site password protected.

.htaccess file can restrict some ip addresses ,so that on restricted ip adresses site will not open.

What is type hinting in PHP

Type hinting means the function specifies what type of parameters must be and if it is not of the correct type an error will occur.PHP 5 introduces type hinting and the functions are able to force the parameters to be objects, interfaces ,array .

Is multiple inheritance supported in PHP

No, multiple inheritance is not supported by PHP

OPP

Write basic concepts of OOPS?

In oops concentp everything is object. variables are attributes, and function is called as behaviour, class is keywords, and base things like blueprint,

What is a class?

What is an object?

What is Encapsulation?

What is Polymorphism?

What is Inheritance?

What are manipulators?

What is constructor?

What is function overloading?

What is a ternary operator?

What is method overriding?

Difference between overloading and overriding?

Difference between class and an object?

What are access modifiers?

What is the difference between new and override?

What is ‘this’ pointer?

What is the difference between structure and a class?

What is Namespace?

Laravel – Namespaces. Advertisements. Namespaces are used in various programming languages to create a separate group of variable, functions and classes. A program may contain various functions and this may result in conflict with existing functions. Namespaces play a key role in avoiding such conflicts.

Layman Way : same name function can not be created, but by namespace it is possible, same class can be created in diffrent diffrent namespace. namespace has to be start from the top it is important. in one page multiple namespace can be created but if you are creating one namespace then all classes all code would be assign in that one namespace, otherwise error will be comming. if you are not giving any name to namespace then it would be called as “Global Namespace”. with namespace will have to use forward “\”,

What is ajax and how it is useful to us

Ajax is termed as Asynchronus javascript and XML .It is used for creating fast and dynamic web pages.With ajax it is possible to be update part of web page asynchronously (in the background) without refreshing the whole page.It is used on client side to create asynchronus web appliation

What is differnce between HTML and XHTML

1 : HTML stands for HyperText Markup Language and an application of SGML(Standard Gneralized Markup Language ).
Whereas XHTML (Extensible Hyper text Markup Language) is an application of XML .

2 :HTML permit the omission of certain tags and use attribute minimization whereas XHTML does not permit the omission of any tag .A XML document must be well formed ,means there must be an end tag for every start tag.

What are magic methods in PHP.

Magic methods are very easy to identify, that every magical method name is started with double underscore( __)sign. We can not declare any user-defined functions with __ sign.

Some magic methods are :

__construct() , __destruct() , __call() , __callStatic() , __get(), __set() , __isset() ,__unset()

, __sleep() , __wakeup(), __toString() , __invoke() , __set_state() , __clone().

What are access control modifiers in php

Keywords public,protected and private are the three types of access control modifiers in php.With the help of these keywords we can manage the accessing of a method or property of a class in php

What is difference between public, private and protected in php

Public :
The items which are declared public can be access from everywhere ie access from inside the class ,access in inherited class and access from outside the class.

Protected :
The items which are declared protected can be access inside the class that defines the item and can acess in its child classes (ie access in its inherited class)

Private :
The items which are declared private can only be access inside its class that defines the item.

How to get number of days between two given dates using PHP ?

What does isset() function?

The isset() function checks if the variable is defined and not null.

What is difference between single quotes and double quotes in php

When string is in single quotes php will not evaluate it . If there is a string with single quotes and if we place a variable in that it would not substitute its value in string, whereas double quotes support variable expansion. If we place variable in double quotes it would substitute its value in string.

Why we use extract() in PHP ?

The extract() function imports variables into the local symbol table from an array.
extract function uses array keys as variable names and array values as variable values. For each element of array it will create a variable in the current symbol table.

What is difference between var_dump and print_r

What is JSON

JSON stands for JavaScript Notation and has extended from JavaScript scripting language . JSON format used for serializing and transmitting data over network connection. A common use of JSON is to read data from a web server, and display the data in a web page.

What is the default maximum execution time for php ?

The default execution time for php is 30 second.

Define json_encode() function

PHP json_encode() function used for converting value(Objects, array) to JSON format. Its returns the JSON representation of a value on success or FALSE on failure.

Define json_decode() Function

What is default script execution time in php ?

By default, the maximum execution time for PHP scripts is set to 30 seconds. If a script runs for longer than 30 seconds, PHP stops the script and reports an error. You can control the amount of time PHP allows scripts to run by changing the max_execution_time directive in your php.ini file.

What is the difference between == and === operator in PHP ?

What is session in PHP. How to remove data from a session?

How to register a variable in PHP session ?

What is the difference between unset and unlink ?

What is Cross-site scripting?

Leave a comment

Your email address will not be published. Required fields are marked *

How it works for an SEO

As we are into digital marketing for the past many years and we have worked on many web project to achieve the our goal so that we can provide the quality work for our clients, so we have few steps which we have mention below, so these are the steps on which we work to make our client happy.

Find Keywords

On page Optimization

Off page Optimization

Reach Target

How it works for Web Development

Web Designing and Development is very creative and logical things for this we have creative designer who understands our client requirements, as per that designing and development done by our developer who loves to play with code.


Designing

Development

Testing

Delivery

Why Choose Rank Lift Technologies

Rank Lift Technologies is a global information technology & seo company and well known as SEO Services India, we are very focused and committed to empowering business transformation of our client and we love seo marketing. These are facts that you will choose us as we are best seo company We work on our Client satisfaction which full filled their business goal, as we are very dedicated towards our work respect the punctuality of time delivery the project before deadline, full our commitment so that our client would not get disappointed.



Focus on Result

Strong Technical Team

Client Satisfaction

Trustworthy

No Hidden Cost

Contact us here