<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/spl/php_spl.c, branch php-7.2.6</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>year++</title>
<updated>2018-01-02T04:55:14+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@gmail.com</email>
</author>
<published>2018-01-02T04:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7a7ec01a4976e72971948a93ca9eafa5752a3f91'/>
<id>7a7ec01a4976e72971948a93ca9eafa5752a3f91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.1' into PHP-7.2</title>
<updated>2017-08-09T03:29:46+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@gmail.com</email>
</author>
<published>2017-08-09T03:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e7dd9c781b7ea4e428b479a4dd9de2ca93259f2d'/>
<id>e7dd9c781b7ea4e428b479a4dd9de2ca93259f2d</id>
<content type='text'>
* PHP-7.1:
  Update NEWS
  Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Update NEWS
  Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.0' into PHP-7.1</title>
<updated>2017-08-09T03:29:13+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@gmail.com</email>
</author>
<published>2017-08-09T03:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=307acb661856850371fb77fafcb4edb0c8f11bd9'/>
<id>307acb661856850371fb77fafcb4edb0c8f11bd9</id>
<content type='text'>
* PHP-7.0:
  Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.0:
  Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)</title>
<updated>2017-08-09T03:28:53+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@gmail.com</email>
</author>
<published>2017-08-09T03:28:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b06f8cb58bfb7310fff483cb739449e75cd90b79'/>
<id>b06f8cb58bfb7310fff483cb739449e75cd90b79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement spl_object_id(object $x) : int</title>
<updated>2017-08-02T15:54:07+00:00</updated>
<author>
<name>Tyson Andre</name>
<email>tysonandre775@hotmail.com</email>
</author>
<published>2017-06-23T06:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=5097e2ee13de12b4445b4123e1554c0733c6853c'/>
<id>5097e2ee13de12b4445b4123e1554c0733c6853c</id>
<content type='text'>
spl_object_id is a new function returning the object handle,
as a signed integer.

Discussion for this new function is ongoing on php-internals, see
https://marc.info/?t=143835274500003&amp;r=1&amp;w=2

The object id is unique for the lifetime of the object.
When the object is garbage collected,
different objects may &amp; will have the same object id.

- This is also the case for the string generated by spl_object_hash

It is always possible to cast the object handle to a **signed** zend_long
in php 7.2. _zend_object-&gt;handle is always of the type `uint32_t`.
(zend_long is 32 bits on 32 bit builds, 64 bits on 64 bit builds)

As of php 7.0, the object id uniquely identifies the object,
there can't be two objects with the same id but different handlers
(See the implementation of spl_object_hash)

Skip the pointless XORing, as discussed in internals.

- It was intended to avoid exposing in-memory addresses.
- The object handle is not a memory address.
- The output of var_dump() includes the object handle(id)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
spl_object_id is a new function returning the object handle,
as a signed integer.

Discussion for this new function is ongoing on php-internals, see
https://marc.info/?t=143835274500003&amp;r=1&amp;w=2

The object id is unique for the lifetime of the object.
When the object is garbage collected,
different objects may &amp; will have the same object id.

- This is also the case for the string generated by spl_object_hash

It is always possible to cast the object handle to a **signed** zend_long
in php 7.2. _zend_object-&gt;handle is always of the type `uint32_t`.
(zend_long is 32 bits on 32 bit builds, 64 bits on 64 bit builds)

As of php 7.0, the object id uniquely identifies the object,
there can't be two objects with the same id but different handlers
(See the implementation of spl_object_hash)

Skip the pointless XORing, as discussed in internals.

- It was intended to avoid exposing in-memory addresses.
- The object handle is not a memory address.
- The output of var_dump() includes the object handle(id)
</pre>
</div>
</content>
</entry>
<entry>
<title>"Countable" interface is moved from SPL to Core</title>
<updated>2017-05-25T09:47:43+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2017-05-25T09:47:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=27e7aea4124ffdecb6d40a2f5723e413a7b40562'/>
<id>27e7aea4124ffdecb6d40a2f5723e413a7b40562</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>spl_autoload_call() optimization</title>
<updated>2017-05-10T10:27:49+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2017-05-10T10:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c01afdb68cbee48aed3b5b0937ce5b469258d4f6'/>
<id>c01afdb68cbee48aed3b5b0937ce5b469258d4f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.0' into PHP-7.1</title>
<updated>2017-02-16T16:00:21+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2017-02-16T16:00:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a381b61f03ea5f22a513cf0f0d5dd4840dd81aa3'/>
<id>a381b61f03ea5f22a513cf0f0d5dd4840dd81aa3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix autoload_func_info destruction</title>
<updated>2017-02-16T15:59:17+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2017-02-16T15:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=708973c9bd4a34482d3d6b2921d4b9b1339bddf0'/>
<id>708973c9bd4a34482d3d6b2921d4b9b1339bddf0</id>
<content type='text'>
Can't reference the function ptr after the closure has been
destroyed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can't reference the function ptr after the closure has been
destroyed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.0' into PHP-7.1</title>
<updated>2017-01-09T12:12:22+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2017-01-09T12:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=5753a753c7d1bdd50e97ef30213b906cb513e2ed'/>
<id>5753a753c7d1bdd50e97ef30213b906cb513e2ed</id>
<content type='text'>
* PHP-7.0:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.0:
  Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
</pre>
</div>
</content>
</entry>
</feed>
