- hi
- hihellohi
- hihi
- no output
Answer: Option 1 Uninitialized x is set to 0, thus if condition fails.
1 Answers 1 viewsAnswer: Option 1 # is a single line comment.
1 Answers 1 viewsAnswer: Option 4 You can not have php tags inside a php tag.
1 Answers 1 viewsAnswer: Option 1 The print statement will print what ever is present inside the double-quotes.
1 Answers 1 viewsAnswer: Option 1 Since there is a semi-colon in between $hello and $bye, the line ends at $hello. However $bye would have printed if a echo was present before “$bye”.
1 Answers 1 viewsAnswer: Option 2 Empty string is evaluated to 0.
1 Answers 1 viewsAnswer: Option 1 The . operator appends a string and returns true.
1 Answers 3 viewsAnswer: Option The function strlen($a) gives the length of the string,5, which is considered true.
1 Answers 1 viewsAnswer: Option 1 While accept does not accept anything other than a 0 or any other number as false and true.
1 Answers 1 viewsAnswer: Option 2 The stripos() function finds the position of the first occurrence of a string inside another string.
1 Answers 1 views