PrepAway - Latest Free Exam Questions & Answers

What is the output of the following code?

What is the output of the following code?
str_pad(‘PHP’, 10, ‘P’, STR_PAD_BOTH);

PrepAway - Latest Free Exam Questions & Answers

A.
H

B.
PHPPPPPPPP

C.
PPPPHPPPPP

D.
PPPPPPPPHP

One Comment on “What is the output of the following code?


Leave a Reply

Your email address will not be published. Required fields are marked *