mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added missing PHP open tags to examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343230 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e5d58a06b7
commit
5e40a5a43d
1 changed files with 2 additions and 0 deletions
|
@ -276,6 +276,7 @@ echo (new DateTime())->format('Y');
|
|||
<title>Property access vs. method call</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class Foo
|
||||
{
|
||||
public $bar = 'property';
|
||||
|
@ -308,6 +309,7 @@ method
|
|||
<title>Calling an anonymous function stored in a property</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
class Foo
|
||||
{
|
||||
public $bar;
|
||||
|
|
Loading…
Reference in a new issue