php latest interview questions asked by mnc company
Hi guys , welcome back on alexawork.com website which is top class place for outsourcing every thing.
Alexawork.com is really great help full for freshers and experience developer who want to learn online.
This is following php questions , which is asked by mnc company-
- Difference between interface class and abstract class.
- How to call non static methods from static methods.
- What is final class.please explain
- Can private and protected inherited ?
- What is contstruct and des construct
- What is late static binding.
- What is difference between array_merge and array_combine.
- What difference between array_walk and array_merge.
- What is in_array.
- What is strpos function.
- What is difference between explode and str_split.
- How many parameters can pass in explode function.
- What is dependency between sessions and cookies .
- What is step for secure php code.
- What is cross site script . Please explain.
- If disable cookies , sessions will be work.
- What is difference between delete and truncated .
- How rollback data .
- What is right order of limit, order and group by in same query.
- How many joins in mysql database.
- Explain self join.
- Difference between innodb and myisam engine.
- What row level locking .
- What is table locking.
- What is full text search in mysql.
- What is mysql injection.
27. How to optimize databases.
28. what is index and how this help ?
–get second highest salary in mysql database
Php logical programmes questions —
29. Write a programme for factorial .
30. Write a programme for find summation of diagonal nxn matrix.
31. Write a programme for following output –
32. Write a programme to interchange the value of a and b
a = 20
b = 10
33. Write a programme for sort array without any php inbuilt function.
$ arrVl = array ( 3,4,1,10,5,2)
34. Write a programme to find only duplicate values from array.
$ arrvl = array ( 2,4,2,8)
For More …Subscription here — firstname.lastname@example.org