<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/reflection, branch php-7.4.12</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fix leak on consteval exception in ReflectionClass::__toString()</title>
<updated>2020-08-31T13:10:09+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-08-31T13:10:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1f6f9c70cb4e82ca9fbbf3153173e3d73a0f9170'/>
<id>1f6f9c70cb4e82ca9fbbf3153173e3d73a0f9170</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check update constant failure in ReflectionClassConstant::__toString()</title>
<updated>2020-08-31T12:50:20+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-08-31T12:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8bb2f406def958671e7719966a4c015dfe1e448b'/>
<id>8bb2f406def958671e7719966a4c015dfe1e448b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #79820</title>
<updated>2020-07-15T08:58:56+00:00</updated>
<author>
<name>Christopher Broadbent</name>
<email>chris-broadbent@zencontrol.com</email>
</author>
<published>2020-07-15T04:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ee7c7a8e26b99e3b25a7d41abfe1a2c37b3f6968'/>
<id>ee7c7a8e26b99e3b25a7d41abfe1a2c37b3f6968</id>
<content type='text'>
Similar to what is done for ReflectionType itself, copy the
type name stored inside ReflectionProperty. Also make sure the
type field is always initialized for dynamic properties.

This is a non-issue in PHP 8, because we store a pointer to the
property_info there, rather than a copy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to what is done for ReflectionType itself, copy the
type name stored inside ReflectionProperty. Also make sure the
type field is always initialized for dynamic properties.

This is a non-issue in PHP 8, because we store a pointer to the
property_info there, rather than a copy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #69804: ::getStaticPropertyValue() throws on protected props</title>
<updated>2020-06-24T09:17:36+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-04-15T13:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=26aefb750a614391cdb8ee3f63d66f46ed57bd55'/>
<id>26aefb750a614391cdb8ee3f63d66f46ed57bd55</id>
<content type='text'>
`ReflectionClass` allows reading of the values of private and protected
constants, and also to get private and protected static methods.
Therefore getting the values of private and protected static properties
is also permissible, especially since `::getStaticProperties()` already
allows to do so.

We also allow ::setStaticPropertyValue() to modify private and
protected properties, because otherwise this method is useless, as
modifying public properties can be done directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`ReflectionClass` allows reading of the values of private and protected
constants, and also to get private and protected static methods.
Therefore getting the values of private and protected static properties
is also permissible, especially since `::getStaticProperties()` already
allows to do so.

We also allow ::setStaticPropertyValue() to modify private and
protected properties, because otherwise this method is useless, as
modifying public properties can be done directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #79487: ::getStaticProperties() ignores property modifications</title>
<updated>2020-06-24T08:05:51+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-06-24T08:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ef2130db88e3a1038c485eea9708cb2677dc9adc'/>
<id>ef2130db88e3a1038c485eea9708cb2677dc9adc</id>
<content type='text'>
When retrieving the static class properties via reflection, we have to
cater to possible modifications.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When retrieving the static class properties via reflection, we have to
cater to possible modifications.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Fix #79487: ::getStaticProperties() ignores property modifications"</title>
<updated>2020-06-23T17:28:51+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-06-23T17:28:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f3cccfde9e895a8760a94b87c6516e66eda05761'/>
<id>f3cccfde9e895a8760a94b87c6516e66eda05761</id>
<content type='text'>
This reverts commit a895bb6885fbceea3e8375816969d5510d8d082e.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a895bb6885fbceea3e8375816969d5510d8d082e.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #79487: ::getStaticProperties() ignores property modifications</title>
<updated>2020-06-23T16:48:54+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-06-23T16:34:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a895bb6885fbceea3e8375816969d5510d8d082e'/>
<id>a895bb6885fbceea3e8375816969d5510d8d082e</id>
<content type='text'>
When retrieving the static class properties via reflection, we have to
cater to possible modifications.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When retrieving the static class properties via reflection, we have to
cater to possible modifications.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #79683</title>
<updated>2020-06-09T13:51:05+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-06-09T13:51:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2447fd9f84a484fbce8cd79e8e85b1fdf6ad7431'/>
<id>2447fd9f84a484fbce8cd79e8e85b1fdf6ad7431</id>
<content type='text'>
Reset fake_scope during __toString() call.

I'll check if we can solve this more globally in master, by
resetting fake_scope in zend_call_function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reset fake_scope during __toString() call.

I'll check if we can solve this more globally in master, by
resetting fake_scope in zend_call_function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2020-02-28T16:07:36+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-02-28T16:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=375191aae7d4d066367c751727bcd37bb862827b'/>
<id>375191aae7d4d066367c751727bcd37bb862827b</id>
<content type='text'>
* PHP-7.3:
  Fixed bug #79062
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fixed bug #79062
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #79062</title>
<updated>2020-02-28T16:06:05+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-02-28T16:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=6c48da9a50a68cbb27873ead6bf936494c006236'/>
<id>6c48da9a50a68cbb27873ead6bf936494c006236</id>
<content type='text'>
Back up the doc comment when performing heredoc scanahead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Back up the doc comment when performing heredoc scanahead.
</pre>
</div>
</content>
</entry>
</feed>
