Home >Backend Development >PHP Tutorial >What is the use of the short opening tag '

What is the use of the short opening tag '
青灯夜游
青灯夜游Original
2019-03-02 13:35:279394browse

In PHP, "1accf1f2137b1f98bab5b036313c5a4d, or you can output it through PHP. For example: 20108d454401f66459729cd4367334a8

Let's take a look at how "

Example 1: Normal way output

<?php 
    $username = "php中文网"; 
    echo "$username"; 
?>

Output:

php中文网

Example 2: Use: "

<?php 
    $username = "php中文网"; 
?> 
<?= $username ?>

Improvement Click:

<?= 
$username = "GeeksforGeeks"; 
?>

Output:

php中文网

The above is the entire content of this article, I hope it will be helpful to everyone's study. For more exciting content, you can pay attention to the relevant tutorial columns of the PHP Chinese website! ! !

The above is the detailed content of What is the use of the short opening tag '

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn