<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/spl/php_spl.stub.php, branch master</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/'/>
<entry>
<title>Generate ext/spl class entries from stubs</title>
<updated>2021-02-18T12:01:51+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2021-02-18T10:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=4f4c031f62e28ed53869a57264535a8739a010e9'/>
<id>4f4c031f62e28ed53869a57264535a8739a010e9</id>
<content type='text'>
Closes GH-6709
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6709
</pre>
</div>
</content>
</entry>
<entry>
<title>Update ext/spl parameter names</title>
<updated>2020-10-07T10:26:46+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-10-06T12:58:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=68195bd481291922db666966334294a6faacab61'/>
<id>68195bd481291922db666966334294a6faacab61</id>
<content type='text'>
Closes GH-6284.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6284.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve a few parameter names in ext/spl</title>
<updated>2020-08-02T22:45:12+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-08-02T22:45:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=6ba24e96150fd0f536338c785412a19ab33792e1'/>
<id>6ba24e96150fd0f536338c785412a19ab33792e1</id>
<content type='text'>
Use the same names which are used by zend functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the same names which are used by zend functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #65006</title>
<updated>2020-06-10T09:30:32+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-06-10T08:25:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=94df2f697fa1434bfca0d729a14abd53f3e2586e'/>
<id>94df2f697fa1434bfca0d729a14abd53f3e2586e</id>
<content type='text'>
The "callable name" may be the same for multiple distinct callables.
The code already worked around this for the case of instance methods,
but there are other cases in which callable names clash, such as
the use of self:: reported in the referenced bug.

Rather than trying to generate a unique name for callables, compare
the content of the alfi structures. This is less efficient if there
are many autoload functions, but autoload *registration* does not
need to be particularly efficient.

As a side-effect, this no longer permits unregistering non-callables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "callable name" may be the same for multiple distinct callables.
The code already worked around this for the case of instance methods,
but there are other cases in which callable names clash, such as
the use of self:: reported in the referenced bug.

Rather than trying to generate a unique name for callables, compare
the content of the alfi structures. This is less efficient if there
are many autoload functions, but autoload *registration* does not
need to be particularly efficient.

As a side-effect, this no longer permits unregistering non-callables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup SPL autoload implementation</title>
<updated>2020-06-10T07:38:47+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-06-09T15:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=5b59d4915cfa7c12ddf65281e4f7f81d6985d27f'/>
<id>5b59d4915cfa7c12ddf65281e4f7f81d6985d27f</id>
<content type='text'>
Replace EG(autoload_func) with a C level zend_autoload hook.
This avoids having to do one indirection through PHP function
calls. The need for EG(autoload_func) was a leftover from the
__autoload() implementation.

Additionally, drop special-casing of spl_autoload(), and instead
register it just like any other autoloading function. This fixes
bug #71236 as a side-effect.

Finally, change spl_autoload_functions() to always return an array.
The distinction between false and an empty array no longer makes
sense here.

Closes GH-5696.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace EG(autoload_func) with a C level zend_autoload hook.
This avoids having to do one indirection through PHP function
calls. The need for EG(autoload_func) was a leftover from the
__autoload() implementation.

Additionally, drop special-casing of spl_autoload(), and instead
register it just like any other autoloading function. This fixes
bug #71236 as a side-effect.

Finally, change spl_autoload_functions() to always return an array.
The distinction between false and an empty array no longer makes
sense here.

Closes GH-5696.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ZPP callable check for spl_autoload_register.</title>
<updated>2020-05-30T11:59:06+00:00</updated>
<author>
<name>George Peter Banyard</name>
<email>girgias@php.net</email>
</author>
<published>2020-03-26T00:00:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=2302b14aab3bf01a9a87d2ee87951a13bc7752a0'/>
<id>2302b14aab3bf01a9a87d2ee87951a13bc7752a0</id>
<content type='text'>
This makes it always throw a TypeError, moreover this makes the
error message consistent.

Added a warning mentioning that the second parameter is now ignored
when passed false.

Closes GH-5301
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it always throw a TypeError, moreover this makes the
error message consistent.

Added a warning mentioning that the second parameter is now ignored
when passed false.

Closes GH-5301
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix UNKNOWN default values in ext/spl</title>
<updated>2020-05-06T17:15:39+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-05-03T11:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=650da66e2dbd5e20f956c225b4a5d423fb18ccbe'/>
<id>650da66e2dbd5e20f956c225b4a5d423fb18ccbe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate methods entries from stubs for ext/spl</title>
<updated>2020-04-25T21:54:56+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-04-25T17:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=d7f7080bb5b42a4dd2d08c91c02645b9d9a74a50'/>
<id>d7f7080bb5b42a4dd2d08c91c02645b9d9a74a50</id>
<content type='text'>
Closes GH-5458
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-5458
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark spl_autoload_register function arg as UNKNOWN</title>
<updated>2020-04-09T14:54:40+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-04-09T14:47:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=c10f30fdf9d7b7e03523e7266b2f0a5fc07595d9'/>
<id>c10f30fdf9d7b7e03523e7266b2f0a5fc07595d9</id>
<content type='text'>
Not passing any parameters to this function has magic behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not passing any parameters to this function has magic behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some stubs for SPL</title>
<updated>2020-03-10T10:41:48+00:00</updated>
<author>
<name>Máté Kocsis</name>
<email>kocsismate@woohoolabs.com</email>
</author>
<published>2020-03-06T09:01:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=d2b902f174b2e8c98bf5d4e257924a96b1323776'/>
<id>d2b902f174b2e8c98bf5d4e257924a96b1323776</id>
<content type='text'>
Closes GH-5245
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-5245
</pre>
</div>
</content>
</entry>
</feed>
