[PHP] <<<

<<< (heredoc)

Sintassi

$var = <<< nome_heredoc
// stringhe
nome_heredoc;

Esempi

$var = <<< nome_heredoc
Questo e' un "testo"
con apici e doppi apici!
nome_heredoc;
echo $var;

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

interpunzione php, php

Related Articles

0 Comment

Rispondi