mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
A typo and a formatting fix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63314 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
15cf6121d3
commit
905916889a
1 changed files with 8 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.21 $ -->
|
||||
<!-- $Revision: 1.22 $ -->
|
||||
<chapter id="language.basic-syntax">
|
||||
<title>Basic syntax</title>
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
|||
</script>
|
||||
|
||||
4. <% echo ("You may optionally use ASP-style tags"); %>
|
||||
<%= $variable; # This is a shortcut for "<%echo .." %>
|
||||
<%= $variable; # This is a shortcut for "<% echo . . ." %>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
@ -136,16 +136,15 @@
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
if (boolean-expression) {
|
||||
if ($expression) {
|
||||
?>
|
||||
<strong>This is true.</strong>
|
||||
<?php
|
||||
} else {
|
||||
<strong>This is true.</strong>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<strong>This is false.</strong>
|
||||
<?php
|
||||
<strong>This is false.</strong>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue