20 quizzes found.
For an arbitrary string $mystring, which of the following checks will correctly determine if the string PHP exists within it?
Which of the following functions could be used to break a string into an array?
If you wanted a variable containing the letters A through Z, that allowed you to access each letter independently, which of the following approaches could you use?
Which of the following are not valid ways to embed a variable into a string?
Given the two values below, which of the following possiblities will print 10 foos20 bars?
<?php $var1 = "10 foos"; $var2 = "20 bars"; print ???????; ?>