Adblocker Detected
Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.
Learn and practice your skills with our MCQ question answers to improve your knowledge. MCQs list
Start Practice with MCQsQuizack 10 minutes test will assess your knowledge and give you comprehensive results along feedback.
Start QuizDownload Free LAMP MCQ questions answers PDF to practice and learn while are offline.
Download PDF
Used by 100s of Jobseekers and students
Focused questions for skill assessment
Premium questions with correct answers
How would you convert the date set in the following format into a PHP timestamp?
$date = "Monday, July 28, 2008 @ 12:15 am";
$date = replace("@ ","",$date); $date = strtotimestamp($date);
$date = replace("@ ","",$date); $date = strtotime($date);
$date = str_replace("@ ","",$date); $date = strtotime($date);
$date = str_replace("@ ","",$date); $date = strtotimestamp($date);
Answer:
$date = str_replace("@ ","",$date);
$date = strtotime($date);
Which of the following special variables of a shell script holds the number of arguments passed onto the script?
$~
$*
$#
$@
Answer:
$@