Skip to content
Quiz · Strings · lesson 3 of 9

Quiz — string literals

Question 1 of 3

What does the program print?

PHP
<?php

$name = 'Anna';
echo 'Hi, $name!', ' ', "Hi, $name!", ' ', "{$name}s", "\n";