mirror of
https://github.com/macintoshplus/doc-en.git
synced 2026-03-24 00:42:18 +01:00
new-features.xml: make the example live and add the heredoc variant (#3585)
This commit is contained in:
@@ -269,9 +269,18 @@ object(class@anonymous)#2 (0) {
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
echo "\u{aa}";
|
||||
echo "\u{0000aa}";
|
||||
echo "\u{9999}";
|
||||
<?php
|
||||
|
||||
echo "\u{aa}", PHP_EOL;
|
||||
echo "\u{0000aa}", PHP_EOL;
|
||||
|
||||
echo "\u{9999}", PHP_EOL;
|
||||
|
||||
echo <<<EOT
|
||||
\u{01f418}
|
||||
EOT;
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs;
|
||||
|
||||
Reference in New Issue
Block a user