<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/tests, branch master</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>run-tests: use the EXTENSIONS section for skipping</title>
<updated>2021-03-22T08:53:38+00:00</updated>
<author>
<name>Max Semenik</name>
<email>maxsem.wiki@gmail.com</email>
</author>
<published>2021-03-18T11:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=6c9a05667b72c6420eb21269ffaffbd93178923c'/>
<id>6c9a05667b72c6420eb21269ffaffbd93178923c</id>
<content type='text'>
Currently, most skip checks are just for making sure an extension is
available. Even with recent addition of skip caching, this makes tests
needlessly slow:
* Checks for the same extension in its tests can have small differences
  impacting cacheability.
* Even identical skip checks in two tests can still be executed twice if
  they're run by different workers.

To remedy this, I'm repurposing the existing --EXTENSIONS-- section of
.phpt files to specify wjich extensions are required for current test to
run. Current behavior:
1) If the extension is already visible to PHP, all is good
2) If it isn't, assume it's present as a shared module and attempt to add
   it via a command line parameter
3) If that works, all is good
4) If it doesn't, PHP fails with a cryptic error message trying to
   execute the test itself

After this commit:
1) and 2) are kept unchanged
3) Check if shared extension file from 2) is actually present
4) Skip the test if it isn't

Other benefits include clear skip reasons (vs. sometimes none in many
current skip checks) and moving test information from code to metadata,
opening more opportunities for search and analysis.

Since --EXTENSIONS-- is barely ever used, this change poses no risk of
hidden failures.

As a demonstration of the new approach, this commit migrates one
extension to it. If merged, I will migrate other extensions in
subsequent PRs.

Closes GH-6787.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, most skip checks are just for making sure an extension is
available. Even with recent addition of skip caching, this makes tests
needlessly slow:
* Checks for the same extension in its tests can have small differences
  impacting cacheability.
* Even identical skip checks in two tests can still be executed twice if
  they're run by different workers.

To remedy this, I'm repurposing the existing --EXTENSIONS-- section of
.phpt files to specify wjich extensions are required for current test to
run. Current behavior:
1) If the extension is already visible to PHP, all is good
2) If it isn't, assume it's present as a shared module and attempt to add
   it via a command line parameter
3) If that works, all is good
4) If it doesn't, PHP fails with a cryptic error message trying to
   execute the test itself

After this commit:
1) and 2) are kept unchanged
3) Check if shared extension file from 2) is actually present
4) Skip the test if it isn't

Other benefits include clear skip reasons (vs. sometimes none in many
current skip checks) and moving test information from code to metadata,
opening more opportunities for search and analysis.

Since --EXTENSIONS-- is barely ever used, this change poses no risk of
hidden failures.

As a demonstration of the new approach, this commit migrates one
extension to it. If merged, I will migrate other extensions in
subsequent PRs.

Closes GH-6787.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement enums</title>
<updated>2021-03-17T18:08:03+00:00</updated>
<author>
<name>Ilija Tovilo</name>
<email>ilija.tovilo@me.com</email>
</author>
<published>2020-06-10T21:10:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=269c8dac1d56ee85d71ae94d9b28dd7d8e8de7b7'/>
<id>269c8dac1d56ee85d71ae94d9b28dd7d8e8de7b7</id>
<content type='text'>
RFC: https://wiki.php.net/rfc/enumerations

Co-authored-by: Nikita Popov &lt;nikita.ppv@gmail.com&gt;

Closes GH-6489.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: https://wiki.php.net/rfc/enumerations

Co-authored-by: Nikita Popov &lt;nikita.ppv@gmail.com&gt;

Closes GH-6489.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the order of properties used for var_dump(), serialize(), comparison, etc.</title>
<updated>2021-03-01T10:29:49+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2021-02-26T16:27:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=72c3ededed45fc8f2ce6f98d11f82adedc5e9763'/>
<id>72c3ededed45fc8f2ce6f98d11f82adedc5e9763</id>
<content type='text'>
Now properties are ordered according to their layout in zend_object structure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now properties are ordered according to their layout in zend_object structure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove quicktester</title>
<updated>2021-02-25T17:39:31+00:00</updated>
<author>
<name>George Peter Banyard</name>
<email>girgias@php.net</email>
</author>
<published>2021-02-20T10:55:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=3a4b89661e4b68b3de8ae337a82684bcfeb7dc48'/>
<id>3a4b89661e4b68b3de8ae337a82684bcfeb7dc48</id>
<content type='text'>
This is barely used and more of a hinderence than anything else

Closes GH-6712
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is barely used and more of a hinderence than anything else

Closes GH-6712
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-8.0'</title>
<updated>2021-01-19T10:44:49+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-01-19T10:44:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=9be0ee4309e0f967c187ae59d326e11ae3da9cc5'/>
<id>9be0ee4309e0f967c187ae59d326e11ae3da9cc5</id>
<content type='text'>
* PHP-8.0:
  Fixed bug #42560
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-8.0:
  Fixed bug #42560
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.4' into PHP-8.0</title>
<updated>2021-01-19T10:44:22+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-01-19T10:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=1bdd8f7ae43874876368d97dd89d88a517a2e80b'/>
<id>1bdd8f7ae43874876368d97dd89d88a517a2e80b</id>
<content type='text'>
* PHP-7.4:
  Fixed bug #42560
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.4:
  Fixed bug #42560
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #42560</title>
<updated>2021-01-19T10:41:58+00:00</updated>
<author>
<name>sj-i</name>
<email>shinji.igarashi@gmail.com</email>
</author>
<published>2020-12-20T06:57:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=5d31ee302db073d5e99cf307315d2d631eaa34a5'/>
<id>5d31ee302db073d5e99cf307315d2d631eaa34a5</id>
<content type='text'>
Check open_basedir after the fallback to the system's temporary
directory in tempnam().

In order to preserve the current behavior of upload_tmp_dir
(do not check explicitly specified dir, but check fallback),
new flags are added to check open_basedir for explicit dir
and for fallback.

Closes GH-6526.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check open_basedir after the fallback to the system's temporary
directory in tempnam().

In order to preserve the current behavior of upload_tmp_dir
(do not check explicitly specified dir, but check fallback),
new flags are added to check open_basedir for explicit dir
and for fallback.

Closes GH-6526.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement Explicit octal notation for integers RFC</title>
<updated>2021-01-04T20:09:23+00:00</updated>
<author>
<name>George Peter Banyard</name>
<email>girgias@php.net</email>
</author>
<published>2020-10-19T14:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=589bdf30b2bea10172a49bcad26d44b18f192556'/>
<id>589bdf30b2bea10172a49bcad26d44b18f192556</id>
<content type='text'>
RFC: https://wiki.php.net/rfc/explicit_octal_notation

Add an extensive test suits for other variants of integer literals

Closes GH-6360
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: https://wiki.php.net/rfc/explicit_octal_notation

Add an extensive test suits for other variants of integer literals

Closes GH-6360
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-8.0'</title>
<updated>2020-12-23T12:53:19+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-12-23T12:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=89d4b6b790472ca4081f61b8e6fbbea170ea00ad'/>
<id>89d4b6b790472ca4081f61b8e6fbbea170ea00ad</id>
<content type='text'>
* PHP-8.0:
  Fix #80384: limit read buffer size
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-8.0:
  Fix #80384: limit read buffer size
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.4' into PHP-8.0</title>
<updated>2020-12-23T12:52:45+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-12-23T12:52:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=7d9ddd61ecc2c99be8709cfa6b51e716343ad5da'/>
<id>7d9ddd61ecc2c99be8709cfa6b51e716343ad5da</id>
<content type='text'>
* PHP-7.4:
  Fix #80384: limit read buffer size
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.4:
  Fix #80384: limit read buffer size
</pre>
</div>
</content>
</entry>
</feed>
