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:
Pieter Hordijk 2017-10-11 13:20:05 +00:00
parent e5d58a06b7
commit 5e40a5a43d

View file

@ -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;