Question | Likes! | Dislikes! | Answers! |
---|
Questions of this subject!.
1)What is the difference between $_FILES['userfile']['name'] and $_FILES['userfile']['tmp_name']? | 0 | 0 | 3 |
2)How is it possible to cast types in PHP? | 0 | 0 | 4 |
3) When is a conditional statement ended with endif? | 0 | 0 | 2 |
4)How is the ternary conditional operator used in PHP? | 0 | 0 | 4 |
5)What is the meaning of a final class and a final method? | 0 | 0 | 4 |
6)How is the comparison of objects done in PHP | 0 | 0 | 1 |
7)What is the meaning of a Persistent Cookie? | 0 | 0 | 2 |
8)When do sessions end? | 0 | 0 | 3 |
9)What does $_FILES means? | 0 | 0 | 1 |
10)How to initiate a session in PHP? | 1 | 0 | 3 |
11)How can you propagate a session id? | 0 | 0 | 2 |
12)What does $GLOBALS mean? | 0 | 0 | 2 |
13)What does $_SERVER mean | 0 | 0 | 3 |
14) What is the function func_num_args() used for | 0 | 0 | 3 |
15)If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2? | 0 | 0 | 2 |
16)What does accessing a class via :: means? | 0 | 0 | 3 |
17)In PHP, objects are they passed by value or by reference | 0 | 0 | 3 |
18)Are Parent constructors called implicitly inside a class constructor | 0 | 0 | 2 |
19) What's the difference between __sleep and __wakeup | 0 | 0 | 2 |
20)What is faster? | 0 | 0 | 1 |
21) what is the definition of a session? | 0 | 0 | 4 |
22)How can we check the value of a given variable is a number? | 0 | 0 | 3 |
23)How do I check if a given variable is empty? | 0 | 0 | 3 |
24)What does the unlink() function mean? | 0 | 0 | 4 |
25) What does the unset() function mean? | 0 | 0 | 2 |
26) How do I escape data before storing it in the database? | 0 | 0 | 1 |
27) How is it possible to remove escape characters from a string? | 0 | 0 | 4 |
28) How can we automatically escape incoming data? | 0 | 0 | 3 |
29)What does the function get_magic_quotes_gpc() means? | 0 | 0 | 2 |
30) Is it possible to remove the HTML tags from data? | 0 | 0 | 2 |
31)what is the static variable in function useful for? | 0 | 0 | 3 |
32)How can we define a variable accessible in functions of a PHP script? | 0 | 0 | 2 |
33) How is it possible to return a value from a function? | 0 | 0 | 1 |
34)What is the most convenient hashing method to be used to hash passwords? | 0 | 0 | 2 |
35)Which cryptographic extension provide generation and verification of digital signatures? | 0 | 0 | 1 |
36)How is a constant defined in a PHP script? | 0 | 0 | 1 |
37)How can you pass a variable by reference? | 0 | 0 | 3 |
38)Will a comparison of an integer 12 and a string "13" work in PHP? | 0 | 0 | 1 |
39)What is the function file_get_contents() useful for? | 0 | 0 | 1 |
40)How can we connect to a MySQL database from a PHP script? | 0 | 0 | 6 |
41) What is the function mysql_pconnect() useful for? | 0 | 0 | 1 |
42)How be the result set of Mysql handled in PHP? | 0 | 0 | 3 |
43)How is it possible to know the number of rows returned in the result set? | 0 | 0 | 3 |
44)Which function gives us the number of affected entries by a query? | 0 | 0 | 1 |
45)What is the difference between mysqli_fetch_object() and mysqli_fetch_array()? | 0 | 0 | 3 |
46)How can we access the data sent through the URL with the GET method? | 0 | 0 | 3 |
47)How can we access the data sent through the URL with the POST method? | 0 | 0 | 3 |
48)How can I display text with a PHP script | 0 | 0 | 2 |
49) How can we display information of a variable and readable by a human with PHP | 0 | 0 | 2 |
50)What should we do to be able to export data into an Excel file? | 0 | 0 | 1 |
51)How can PHP and HTML interact? | 0 | 0 | 4 |
52)What type of operation is needed when passing values through a form or an URL? | 0 | 0 | 3 |
53)How can PHP and Javascript interact | 0 | 0 | 5 |
54)What is needed to be able to use image function? | 0 | 0 | 1 |
55) What is the use of the function 'imagetypes()'? | 0 | 0 | 3 |
56)What are the functions to be used to get the image's properties (size, width, and height)? | 0 | 0 | 2 |
57)Is multiple inheritance supported in PHP | 0 | 0 | 2 |
58)How can we display the output directly to the browser? | 0 | 0 | 2 |
59)What is the main difference between PHP 4 and PHP 5? | 0 | 0 | 4 |
60)What is the actually used PHP version | 0 | 0 | 2 |
61)How do you execute a PHP script from the command line? | 0 | 0 | 9 |
62)How to run the interactive PHP shell from the command line interface? | 0 | 0 | 4 |
63)What do the initials of PHP stand for? | 0 | 0 | 4 |
64)What is PHP? | 0 | 0 | 2 |
65)Which programming language does PHP resemble? | 0 | 0 | 7 |
66)How is it possible to parse a configuration file? | 0 | 0 | 1 |
67)How can we determine whether a variable is set? | 0 | 0 | 1 |
68)What is the difference between the functions strstr() and stristr()? | 0 | 0 | 1 |
69)what is the difference between for and foreach | 0 | 0 | 3 |
70)Is it possible to submit a form with a dedicated button? | 0 | 0 | 2 |
71)Is it possible to protect special characters in a query string? | 0 | 0 | 1 |
72)What are the three classes of errors that can occur in PHP? | 0 | 0 | 4 |
73)How can we pass the variable through the navigation between the pages | 0 | 0 | 2 |
74)What is the difference between Exception::getMessage and Exception:: getLine? | 0 | 0 | 3 |
75)What does the expression Exception::__toString means? | 0 | 0 | 1 |
76)What is the goto statement useful for? | 0 | 0 | 2 |
77)How can we get the error when there is a problem to upload a file? | 0 | 0 | 3 |
78)What does $_ENV mean? | 0 | 0 | 1 |
79)what the difference between the 'BITWISE AND' operator and the 'LOGICAL AND' operator? | 0 | 0 | 3 |
80)What are the two main string operators? | 0 | 0 | 3 |
81)What does the array operator '===' means? | 0 | 0 | 2 |
82)What is the differences between $a != $b and $a !== $b? | 0 | 0 | 1 |
83)How can we determine whether a PHP variable is an instantiated object of a certain class? | 0 | 0 | 1 |
84)How is the comparison of objects done in PHP? | 1 | 0 | 1 |
85)How failures in execution are handled with include() and require() functions? | 0 | 0 | 3 |
86)How is it possible to set an infinite execution time for PHP script? | 0 | 0 | 3 |
87)What does the PHP error Parse error in PHP - unexpected T_variable at line x means? | 0 | 0 | 1 |
88)What should we do to be able to export data into an Excel file? | 0 | 0 | 1 |
89)What is the function file_get_contents() useful for? | 0 | 0 | 1 |
90)What is the function mysql_pconnect() useful for? | 0 | 0 | 1 |
91)Which function gives us the number of affected entries by a query? | 0 | 0 | 1 |
92)How can we check the value of a given variable is alphanumeric? | 0 | 0 | 4 |
93)How do I escape data before storing it in the database? | 0 | 0 | 2 |
94)How is it possible to return a value from a function? | 0 | 0 | 2 |
95)Which cryptographic extension provide generation and verification of digital signatures? | 0 | 0 | 2 |
96)What is the difference between session_unregister() and session_unset()? | 0 | 0 | 1 |
97)What does $_FILES means? | 0 | 0 | 1 |
98)How can we change the maximum size of the files to be uploaded? | 0 | 0 | 1 |
99)What does $_ENV mean? | 0 | 0 | 1 |
100)What does $_COOKIE mean? | 0 | 0 | 1 |
101)What does the scope of variables mean? | 0 | 0 | 1 |
102)What does the array operator '===' means? | 0 | 0 | 1 |
103)What is the differences between $a != $b and $a !== $b? | 0 | 0 | 1 |
104)How can we determine whether a PHP variable is an instantiated object of a certain class? | 0 | 0 | 2 |
105)What is the goto statement useful for? | 0 | 0 | 1 |
106)What does the expression Exception::__toString means? | 0 | 0 | 1 |
107)How is it possible to parse a configuration file? | 0 | 0 | 1 |
108)How can we determine whether a variable is set? | 0 | 0 | 1 |
109)What is the difference between the functions strstr() and stristr()? | 0 | 0 | 1 |
110)Is it possible to submit a form with a dedicated button? | 0 | 0 | 1 |
111)What is the difference between ereg_replace() and eregi_replace()? | 0 | 0 | 1 |
112)Is it possible to protect special characters in a query string? | 0 | 0 | 1 |
113)What is the difference between characters \034 and \x34? | 0 | 0 | 1 |
114)How can we pass the variable through the navigation between the pages? | 0 | 0 | 1 |
115)Is it possible to extend the execution time of a PHP script? | 0 | 0 | 2 |
116)Is it possible to destroy a cookie? | 0 | 0 | 1 |
117)What is the name of scripting engine in PHP? | 0 | 0 | 2 |
118)Explain the difference between PHP4 and PHP5. | 0 | 0 | 6 |
119)What are the popular Content Management Systems (CMS) in PHP? | 0 | 0 | 2 |
120)What are the popular frameworks in PHP? | 0 | 0 | 4 |
121)What are some featuers introduced in php7? | 0 | 0 | 2 |
122)What is the difference between $message and $$message? | 0 | 0 | 4 |
123)What are the ways to define a constant in PHP? | 0 | 0 | 5 |
124)What are magic constants in PHP? | 0 | 0 | 2 |
125)How many data types are there in PHP? | 0 | 0 | 4 |
126)How to do single and multi line comment in PHP? | 0 | 0 | 1 |
127)What are the different loops in PHP? | 0 | 0 | 2 |
128)What is the use of count() function in PHP? | 0 | 0 | 2 |
129)What is the use of header() function in PHP? | 0 | 0 | 1 |
130)What does isset() function? | 0 | 0 | 1 |
131)Explain PHP parameterized functions. | 0 | 0 | 2 |
132)Explain PHP variable length argument function | 0 | 0 | 1 |
133)How many types of array are there in PHP? | 0 | 0 | 4 |
134)What is the difference between indexed and associative array? | 0 | 0 | 2 |
135)How to get the length of string? | 0 | 0 | 2 |
136)Explain some of the PHP string functions? | 0 | 0 | 1 |
137)What are the ways to include file in PHP? | 0 | 0 | 1 |
138)Explain setcookie() function in PHP? | 0 | 0 | 1 |
139)How can you retrieve a cookie value? | 0 | 0 | 2 |
140)What are the encryption functions in PHP? | 0 | 0 | 1 |
141)Explain PHP split() function. | 0 | 0 | 2 |
142)What is Cookies? How to create cookies in PHP? | 0 | 0 | 1 |
143)What is the Importance of Parser in PHP? | 0 | 0 | 1 |
144)How can we create a database using PHP and MySQL? | 0 | 0 | 3 |
145)Is PHP a strongly typed language? | 0 | 0 | 1 |
146)What are the uses of explode() and implode() functions? | 0 | 0 | 1 |
147)Which function can be used to exit from the script after displaying the error message? | 0 | 0 | 4 |
148)How can you increase the maximum execution time of a script in PHP? | 0 | 0 | 1 |
149)What is meant by ‘passing the variable by value and reference' in PHP? | 0 | 0 | 3 |
150)How can you retrieve data from the MySQL database using PHP? | 0 | 0 | 1 |
151)What are the differences between mysqli_connect and mysqli_pconnect? | 0 | 0 | 1 |
152)Which function is used in PHP to count the total number of rows returned by any query? | 0 | 0 | 4 |
153)Which function you can use in PHP to open a file for reading or writing or for both? | 0 | 0 | 1 |
154)Which function is used in PHP to delete a file? | 0 | 0 | 3 |
155)What is the use of strip_tags() method? | 0 | 0 | 1 |
156)What is the difference between substr() and strstr()? | 0 | 0 | 1 |
157)How can you declare a constant variable in PHP? | 0 | 0 | 1 |
158)Which function is used in PHP to search a particular value in an array? | 0 | 0 | 1 |
159)Is PHP a strongly typed language? | 0 | 0 | 1 |
160)What are the uses of explode() and implode() functions? | 0 | 0 | 2 |
161)Explain type casting and type juggling. | 0 | 0 | 2 |
162)What are the differences between mysqli_connect and mysqli_pconnect? | 0 | 0 | 1 |
163)What is the use of imagetypes() method? | 0 | 0 | 2 |
164)Which function you can use in PHP to open a file for reading or writing or for both? | 0 | 0 | 1 |
165)What is the use of strip_tags() method? | 0 | 0 | 1 |
166)How can you send HTTP header to the client in PHP? | 0 | 0 | 2 |
167)What is the difference between substr() and strstr()? | 0 | 0 | 1 |
168)How can you upload a file using PHP? | 0 | 0 | 2 |
169)How can you declare a constant variable in PHP? | 0 | 0 | 1 |
170)What is the use of $_REQUEST variable? | 0 | 0 | 1 |
171)What is PEAR? | 0 | 0 | 1 |
172)Does PHP support multiple inheritances? | 0 | 0 | 1 |
173)What is the use of mysqli_real_escape_string() function? | 0 | 0 | 2 |
174)Which functions are used to remove whitespaces from the string? | 0 | 0 | 1 |
175)What is a persistence cookie? | 0 | 0 | 1 |
176)How can a cross-site scripting attack be prevented by PHP? | 0 | 0 | 1 |
177)Which PHP global variable is used for uploading a file? | 0 | 0 | 1 |
178)What is meant by public, private, protected, static and final scopes? | 0 | 0 | 2 |
179)How can image properties be retrieved in PHP? | 0 | 0 | 2 |
180)What is the difference between abstract class and interface? | 0 | 0 | 2 |
181)What is garbage collection? | 0 | 0 | 2 |
182)Which library is used in PHP to do various types of Image work? | 0 | 0 | 1 |
183)What is URL rewriting? | 0 | 0 | 2 |
184)What is PDO? | 0 | 0 | 1 |
185)What are the common uses of PHP? | 0 | 0 | 4 |
186)What is the difference between static and dynamic websites? | 0 | 0 | 8 |
187)What is the meaning of ‘escaping to PHP’? | 0 | 0 | 3 |
188)What are the characteristics of PHP variables? | 0 | 0 | 3 |
189)What are the different types of PHP variables? | 0 | 0 | 3 |
190)What are the rules for naming a PHP variable? | 0 | 0 | 4 |
191)What are the rules to determine the “truth” of any value which is not already of the Boolean type? | 0 | 0 | 1 |
192)What is NULL? | 0 | 0 | 2 |
193)What is the purpose of constant() function? | 0 | 0 | 1 |
194)What are the differences between PHP constants and variables? | 0 | 0 | 5 |
195)Name some of the constants in PHP and their purpose. | 0 | 0 | 1 |
196)What is the purpose of break and continue statement? | 0 | 0 | 2 |
197)What are the two most common ways to start and finish a PHP block of code? | 0 | 0 | 6 |
198)How can you compare objects in PHP? | 0 | 0 | 2 |
199)What are constructor and destructor in PHP? | 0 | 0 | 2 |
200)Explain the syntax for ‘foreach’ loop with example. | 0 | 0 | 1 |
201)What is needed to be able to use image function? | 0 | 0 | 2 |
202)What should we do to be able to export data into an Excel file? | 0 | 0 | 1 |
203)What is the function file_get_contents() useful for? | 0 | 0 | 1 |
204)Basic interview questions - PHP | 0 | 0 | 2 |
205)Which function gives us the number of affected entries by a query? | 0 | 0 | 1 |
206)What is the difference between mysqli_fetch_object() and mysqli_fetch_array()? | 0 | 0 | 1 |
207)How do I check if a given variable is empty? | 0 | 0 | 2 |
208)what is PHP ? (interview) | 0 | 0 | 2 |
209)What is the basic Basic PHP Syntax? | 0 | 0 | 1 |
210)What is HIDS? Bug Bounty Questions | 0 | 0 | 1 |
211)Do you have any experience with LAMP? - PHP interview based questions | 0 | 0 | 1 |
212)What are PHP sessions and how do they work?PHP INTERVIEW QUESTIONS | 0 | 0 | 2 |
213)What are some of your favorite PHP design patterns?-Php interview questions | 0 | 0 | 1 |
214)What is “Vulnerability”? Bug Bounty Questions | 0 | 0 | 1 |
215)What is Var_dump? interview | 0 | 0 | 1 |
216)What is a lambda function in PHP? interview questions | 0 | 0 | 1 |
217)What is the use of post in PHP? interview questions | 0 | 0 | 1 |
218)Multiple returns from a function- PHP interview question? | 0 | 0 | 1 |
219)When should I use self over $this?- PHP interview | 0 | 0 | 1 |
220)What is MVC? php interview | 0 | 0 | 1 |