Question | Likes! | Dislikes! | Answers! |
---|
Questions of this subject!.
1)Write a PHP functions that reads contents from a file and write into a file? | 0 | 0 | 2 |
2)What is the use of "echo" in php? | 0 | 0 | 7 |
3)How to include a file to a php page?
| 0 | 0 | 1 |
4)Differences between GET and POST methods ? | 0 | 0 | 1 |
5)How to declare an array in php? | 0 | 0 | 1 |
6)What is the use of print in php? | 0 | 0 | 2 |
7)Which of the following is the correct syntax to write a PHP code? | 0 | 0 | 1 |
8) Explain PHP variable length argument function. | 0 | 0 | 2 |
9)Write syntax to open a file in PHP? | 0 | 0 | 3 |
10)How to write in a file in PHP? | 0 | 0 | 2 |
11)What are constructors in php? | 0 | 0 | 1 |
12)How to register a variable in php session? | 0 | 0 | 1 |
13)What is the purpose of @ in php? | 0 | 0 | 1 |
14)What is namespaces in php? | 0 | 0 | 1 |
15)What is a composer in php? | 0 | 0 | 1 |
16)What is cURL in php? | 0 | 0 | 1 |
17)How to get length of an array in php? | 0 | 0 | 2 |
18)How to increase execution time of a php script? | 0 | 0 | 1 |
19)Code to open file download dialog in php? | 0 | 0 | 1 |
20)Which of the following is used for concatenation in PHP? | 0 | 0 | 1 |
21)Write a PHP program to get data from XML file in PHP | 0 | 0 | 1 |
22)How to lock a file using PHP?PHP | 0 | 0 | 1 |
23)What is the difference between “echo” and “print” in PHP?PHP | 0 | 0 | 1 |
24)What is the output of the following code: $a = 1; $b = &$a; $b = "2$b"; echo $a.", ".$b; | 0 | 0 | 1 |
25)Describe how inheritance works with PHP. | 0 | 0 | 1 |
26)What does $_COOKIE mean (php programming) ? | 0 | 0 | 1 |
27)What is a PHP File? What extension does php uses? | 0 | 0 | 1 |
28)What is spaceship operator in PHP? | 0 | 0 | 2 |
29)Give examples of single and multiple line comments in PHP. | 0 | 0 | 1 |
30)How can you declare a PHP variable? | 0 | 0 | 1 |
31)Are variable names case sensitive in PHP? | 0 | 0 | 1 |
32)In PHP what are the different types of variable scopes? | 0 | 0 | 1 |
33)Give example of Local Scope variable in PHP. | 0 | 0 | 1 |
34)Give example of Global Scope variable in PHP. | 0 | 0 | 1 |
35)Give example of Static Scope variable in PHP. | 0 | 0 | 2 |
36)In PHP, an integer data type is a non-decimal number between range _____ and _____ ? | 0 | 0 | 1 |
37)What is the PHP var_dump() function? | 0 | 0 | 1 |
38)What does __construct() function in PHP do? | 0 | 0 | 1 |
39)What are constants in PHP? State the syntax. | 0 | 0 | 1 |
40)Why is define function used in PHP? | 0 | 0 | 1 |
41)Are constants global in PHP? | 0 | 0 | 1 |
42)How are classes loaded in PHP? | 0 | 0 | 1 |
43)Explain how we handle exceptions in PHP? | 0 | 0 | 1 |
44)What are the differences between die() and exit() functions in PHP? | 0 | 0 | 1 |
45)What is PDO in PHP? PHP INTERVIEW QUESTIONS | 0 | 0 | 1 |
46)Prior to which version of PHP did constructors took the name of the enclosing class. | 0 | 0 | 1 |
47)Which of the following statements is/are true about Constructors in PHP? i) PHP 4 introduced class constructors. ii) Constructors can accept parameters. iii) Constructors can call class methods or other functions. iv) Class constructors can call on other constructors. | 0 | 0 | 1 |
48)PHP recognizes constructors by the name _________ | 0 | 0 | 1 |
49)Which one of the following keyword is used to inherit our subclass into a superclass? | 0 | 0 | 1 |
50)Which keyword is used to refer to properties or methods within the class itself? | 0 | 0 | 1 |
51)How many functions does PHP offer for searching strings using POSIX style regular expression? a) 7 b) 8 c) 9 d) 10 | 0 | 0 | 1 |
52)How do I pass variables and data from PHP to JavaScript? | 0 | 0 | 1 |
53)How would you create a Singleton class using PHP? interview questions | 0 | 0 | 1 |
54)Is there a function to make a copy of a PHP array to another? PHP question | 0 | 0 | 1 |
55)How to add UTF-8 support to your PHP file? | 0 | 0 | 2 |
56)How can I get my variable from PHP to JavaScript? | 0 | 0 | 1 |
57)Returning JSON from a PHP Script. | 0 | 0 | 1 |
58)PHP Pass variable to next page | 0 | 0 | 1 |
59)Formatting a number with leading zeros in PHP? | 0 | 0 | 1 |
60)How to convert an array to object in PHP? | 0 | 0 | 1 |
61)How can I get the MAC and the IP address of a connected client in PHP? | 0 | 0 | 1 |
62)What is difference between AND vs && as operator - php question? | 0 | 0 | 1 |
63)Why does PHP consider 0 to be equal to a string? | 0 | 0 | 1 |
64)php - Should I call exit() after calling Location: header? | 0 | 0 | 1 |
65)How To Run PHP From Windows Command Line in WAMPServer? | 0 | 0 | 1 |
66)How can I compare two dates in PHP? | 0 | 0 | 1 |
67)PHP: How to send HTTP response code? | 0 | 0 | 1 |
68)Using braces with dynamic variable names in PHP. | 0 | 0 | 1 |
69)PHP random string generator. | 0 | 0 | 1 |
70)What is the use of the @ symbol in PHP? | 0 | 0 | 1 |
71)How to read a large file line by line?- PHP | 0 | 0 | 1 |
72)How to validate an email address in PHP? | 0 | 0 | 1 |
73)Curly braces in string in PHP? | 0 | 0 | 1 |
74)What are the ways to comment the code in LESS? | 0 | 0 | 1 |
75)How to send email using php script? | 0 | 0 | 1 |
76)PHP7 has some new features, what are its new advantages? | 0 | 0 | 2 |
77)Which function is used in PHP to count words in string? | 0 | 0 | 1 |
78)In PHP, whether is_Numeric() function depicts the variable is a numberic or not? | 0 | 0 | 1 |
79)In PHP, explain about php Math uses? | 0 | 0 | 1 |
80)Explain about Min and Max functions() under PHP Math? | 0 | 0 | 1 |
81)Explain about PHP Constant() and which function is used to declare constants? | 0 | 0 | 1 |
82)Which is the right way of declaring a variable in PHP? | 0 | 0 | 1 |