PHP Interview Questions
Questions Answers Views Company eMail

What is helper function?

534

What is baseurl?

556

What is config file in php?

562

How do I stop a php script?

533

What are the functions used in php?

537

What does php exit do?

558

What is prepare in php?

544

How do I know my xampp version?

547

What do you mean by core php?

516

What is php built on?

536

What is difference between core php and framework?

488

What is composer json?

522

What is composer phar?

523

What is composer install?

620

What is composer used for?

542


Post New PHP Questions

Un-Answered Questions { PHP }

What is the difference between apache and tomcat?

558


What is the value for this auto incremented field user_pri_id?

534


What are the functions of string?

553


How do we get the current session id?

581


What is the main difference between asp net and php?

560






Is it difficult to learn php?

562


What is the use of hooks?

561


What are the encryption functions in php?

588


Explain how we can get the number of elements in an array?

544


Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

564


Which is useful for method overloading?

655


Is PHP an open source software?

604


armstrong number by using php while number is given by the keyboard.?

1723


What is a namespace in php?

507


Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.

1541