Home »
Unlabelled »
what is the return value of this substr function? <?php $rest = substr("abcdef", -1); $rest = substr("abcdef", 0, -1); ?>
what is the return value of this substr function? <?php $rest = substr("abcdef", -1); $rest = substr("abcdef", 0, -1); ?>
A. f,abcde
B. a,fedcb
C. b,abcdef
D. a,abcde
Ans: A
No comments:
Post a Comment