<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/standard/basic_functions.stub.php, 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>Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend</title>
<updated>2021-02-22T14:24:03+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2021-02-17T12:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=4c6533c257cfabd5dd78988bb277f410b2778140'/>
<id>4c6533c257cfabd5dd78988bb277f410b2778140</id>
<content type='text'>
Closes GH-6706
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6706
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow all scalar types in ini_set()</title>
<updated>2021-02-11T14:01:16+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-11T09:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=070e24d7a91a49fce56b5ee4d5a102d022d3e724'/>
<id>070e24d7a91a49fce56b5ee4d5a102d022d3e724</id>
<content type='text'>
This changes ini_set() to accept all scalar types
(string|int|float|bool|null) for the new value. The idea here is
that while the INI system ultimately works with strings, its value
interpretation is designed to be consistent with PHP's casting rules,
e.g. "1" and "" are interpreted as boolean true and false respectively.

I personally believe that writing ini_set('precision', 10) makes more
sense than ini_set('precision', '10'), and find strict_types to be
unnecessarily pedantic here.

Closes GH-6680.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes ini_set() to accept all scalar types
(string|int|float|bool|null) for the new value. The idea here is
that while the INI system ultimately works with strings, its value
interpretation is designed to be consistent with PHP's casting rules,
e.g. "1" and "" are interpreted as boolean true and false respectively.

I personally believe that writing ini_set('precision', 10) makes more
sense than ini_set('precision', '10'), and find strict_types to be
unnecessarily pedantic here.

Closes GH-6680.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-8.0'</title>
<updated>2021-02-11T09:23:09+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-11T09:23:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=bfbac70ec5d2380adbf88211da313554d0058af9'/>
<id>bfbac70ec5d2380adbf88211da313554d0058af9</id>
<content type='text'>
* PHP-8.0:
  Don't return null from password_get_info()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-8.0:
  Don't return null from password_get_info()
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't return null from password_get_info()</title>
<updated>2021-02-11T09:21:31+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-11T09:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=cec5e308899febe5692d34c8c5b78e6773284e45'/>
<id>cec5e308899febe5692d34c8c5b78e6773284e45</id>
<content type='text'>
The get_info() handler should never fail, but even if it does,
we should still return a proper info array -- it doesn't make
sense that a completely incorrect hash returns an info array,
but a hash that is recognized but for which the options can't
be extracted would return null.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The get_info() handler should never fail, but even if it does,
we should still return a proper info array -- it doesn't make
sense that a completely incorrect hash returns an info array,
but a hash that is recognized but for which the options can't
be extracted would return null.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add array_is_list(array $array) function</title>
<updated>2021-01-20T23:53:48+00:00</updated>
<author>
<name>Dusk</name>
<email>dusk@woofle.net</email>
</author>
<published>2019-11-04T02:51:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=13c430b1db0ca1595122ce552ce76f84b32795f4'/>
<id>13c430b1db0ca1595122ce552ce76f84b32795f4</id>
<content type='text'>
This function tests if an array contains only sequential integer keys. While
list isn't an official type, this usage is consistent with the community usage
of "list" as an annotation type, cf.
https://psalm.dev/docs/annotating_code/type_syntax/array_types/#lists

Rebased and modified version of #4886

- Use .stub.php files
- Add opcache constant evaluation when argument is a constant
- Change from is_list(mixed $value) to array_is_list(array $array)

RFC: https://wiki.php.net/rfc/is_list

Co-Authored-By: Tyson Andre &lt;tysonandre775@hotmail.com&gt;
Co-Authored-By: Dusk &lt;dusk@woofle.net&gt;

Closes GH-6070
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function tests if an array contains only sequential integer keys. While
list isn't an official type, this usage is consistent with the community usage
of "list" as an annotation type, cf.
https://psalm.dev/docs/annotating_code/type_syntax/array_types/#lists

Rebased and modified version of #4886

- Use .stub.php files
- Add opcache constant evaluation when argument is a constant
- Change from is_list(mixed $value) to array_is_list(array $array)

RFC: https://wiki.php.net/rfc/is_list

Co-Authored-By: Tyson Andre &lt;tysonandre775@hotmail.com&gt;
Co-Authored-By: Dusk &lt;dusk@woofle.net&gt;

Closes GH-6070
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ENT_QUOTES|ENT_SUBSTITUTE default for HTML encoding and decoding functions</title>
<updated>2021-01-18T14:45:28+00:00</updated>
<author>
<name>Craig Francis</name>
<email>craig@craigfrancis.co.uk</email>
</author>
<published>2021-01-06T17:44:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=50eca61f68815005f3b0f808578cc1ce3b4297f0'/>
<id>50eca61f68815005f3b0f808578cc1ce3b4297f0</id>
<content type='text'>
htmlspecialchars() etc now use ENT_QUOTES | ENT_SUBSTITUTE rather
than ENT_COMPAT by default.

Closes GH-6583.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
htmlspecialchars() etc now use ENT_QUOTES | ENT_SUBSTITUTE rather
than ENT_COMPAT by default.

Closes GH-6583.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix parameter name</title>
<updated>2021-01-01T22:04:28+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2021-01-01T16:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=cae0bcbab53aa1011e1e54b368a1394b9a2066b7'/>
<id>cae0bcbab53aa1011e1e54b368a1394b9a2066b7</id>
<content type='text'>
Levenshtein is about insertion, replacement and deletion.

Closes GH-6560.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Levenshtein is about insertion, replacement and deletion.

Closes GH-6560.
</pre>
</div>
</content>
</entry>
<entry>
<title>getlastmod() can return false</title>
<updated>2020-11-04T14:53:08+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-11-04T14:49:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=73321bc300c808346b2d00ec1bc513447a5d579b'/>
<id>73321bc300c808346b2d00ec1bc513447a5d579b</id>
<content type='text'>
At least this can happen during preloading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least this can happen during preloading.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parameter type and name fixes in ext/standard</title>
<updated>2020-10-27T10:27:25+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-10-24T12:15:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=76e4bf3068bc7f92a2ece604344a92fd4d6c683d'/>
<id>76e4bf3068bc7f92a2ece604344a92fd4d6c683d</id>
<content type='text'>
Closes GH-6382
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6382
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #80229: assert_options should have int and bool for parameter PHPDoc</title>
<updated>2020-10-17T10:01:07+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-10-17T09:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=f076ab0c0cd352cdd70040ba50d40cd229a463ad'/>
<id>f076ab0c0cd352cdd70040ba50d40cd229a463ad</id>
<content type='text'>
Closes GH-6348
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6348
</pre>
</div>
</content>
</entry>
</feed>
