What is constructors and destructors?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

What is the difference between single quoted string and double quoted string?

0 Answers  


Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()

0 Answers  


<?php include ("db.php"); $result = mysql_query("SELECT ques_id FROM questionbank order by ques_id limit 5 "); while($obj=mysql_fetch_array($result)) { $ad1[$obj['ques_id']]++;//Used an array and inserted the database query results into it. } $rand_keys=array_rand($ad1,1); //Did a random array function echo "First random id = ".$ad1[$rand_keys[0]]; echo "<br>Second random id = ".$ad1[$rand_keys[1]]; ?> <!--Its not working. Have any solution for this. -->

1 Answers  


What are classes in php?

0 Answers  


What is difference between static and constant?

0 Answers  






How to Pass JSON Data in a URL using CURL in PHP?

0 Answers  


What is reference variable php?

0 Answers  


how to get server date and time?

10 Answers  


What is the importance of parser in php?

0 Answers  


explain php variable length argument function.

0 Answers  


How to reset/destroy a cookie in php?

0 Answers  


How to check if a string contains a character or word in php?

0 Answers  


Categories