summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2021-03-22 16:00:09 +1300
committerOlly Betts <olly@survex.com>2021-03-23 11:47:19 +1300
commite54d44c4be45fec4580b2a0ad2932bd329ecd003 (patch)
treed590ceff3da22e5478d13e2a7149ab88b557640c /Doc
parent00fa844352469665f45cd166d58c4b87ee2e94bb (diff)
downloadswig-e54d44c4be45fec4580b2a0ad2932bd329ecd003.tar.gz
php: Omit closing ?> in manual and examples
PSR-12 says "The closing ?> tag MUST be omitted from files containing only PHP".
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Manual/Php.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html
index 4b9195889..1752168b2 100644
--- a/Doc/Manual/Php.html
+++ b/Doc/Manual/Php.html
@@ -476,7 +476,6 @@ $result=new_intp();
add( $in1, $in2, $result );
echo "The sum " . intp_value($in1) . " + " . intp_value($in2) . " = " . intp_value( $result) . "\n";
-?&gt;
</pre></div>
<p>
@@ -508,7 +507,6 @@ $in2 = 5;
$result= add($in1, $in2); # Note using variables for the input is unnecessary.
echo "The sum $in1 + $in2 = $result\n";
-?&gt;
</pre></div>
<p>
@@ -547,7 +545,6 @@ $result = 0;
add($in1, $in2, $result);
echo "The sum $in1 + $in2 = $result\n";
-?&gt;
</pre></div>
<p>
@@ -622,7 +619,6 @@ Would be used in the following way from PHP:
$c-&gt;im = 0;
# $c destructor called when $c goes out of scope.
-?&gt;
</pre></div>
<p>