81 of 110 menu

PHP Output a String

In the following example, we will assign a string to the variable $str and then output it to the screen:

<?php $str = 'text'; echo $str; ?>

Code execution result:

'text'
English
БеларускаяEspañolРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline