Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Social Networking And Marketing Interviews:Digital Marketing ManagerNews And Article WritersOnline Media OperatorPHP Community Marketing ExpertPublic Relations AssistantPublic Relations ManagerSMMSocial MediaSocial Media ExecutiveSocial Media Specialist
Copyright © 2018. All Rights Reserved
PHP Community Marketing Expert Interview Question:
Tell me what does the following code output?
$i = 016;
echo $i / 2;?
Submitted by: MuhammadThe Output should be 7. The leading zero indicates an octal number in PHP, so the number evaluates to the decimal number 14 instead to decimal 16.
Submitted by: Muhammad
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.