]> granicus.if.org Git - php/log
php
7 years agoImplement spl_object_id(object $x) : int
Tyson Andre [Fri, 23 Jun 2017 06:18:47 +0000 (23:18 -0700)]
Implement spl_object_id(object $x) : int

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&r=1&w=2

The object id is unique for the lifetime of the object.
When the object is garbage collected,
different objects may & 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->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)

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 2 Aug 2017 14:42:20 +0000 (16:42 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75002 Null Pointer Dereference in timelib_time_clone

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 2 Aug 2017 14:41:48 +0000 (16:41 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #75002 Null Pointer Dereference in timelib_time_clone

7 years agoFixed bug #75002 Null Pointer Dereference in timelib_time_clone
Derick Rethans [Wed, 2 Aug 2017 14:40:48 +0000 (16:40 +0200)]
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone

7 years agofix build with old system libsqlite (sqlite3_close_v2 may be missing)
Remi Collet [Wed, 2 Aug 2017 14:09:36 +0000 (16:09 +0200)]
fix build with old system libsqlite (sqlite3_close_v2 may be missing)

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Remi Collet [Wed, 2 Aug 2017 12:03:23 +0000 (14:03 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  fix build with old system libsqlite (sqlite3_errstr may be missing)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Wed, 2 Aug 2017 12:03:02 +0000 (14:03 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix build with old system libsqlite (sqlite3_errstr may be missing)

7 years agofix build with old system libsqlite (sqlite3_errstr may be missing)
Remi Collet [Wed, 2 Aug 2017 12:01:56 +0000 (14:01 +0200)]
fix build with old system libsqlite (sqlite3_errstr may be missing)

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Wed, 2 Aug 2017 07:35:51 +0000 (08:35 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  fixed #endif comments

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Wed, 2 Aug 2017 07:35:38 +0000 (08:35 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fixed #endif comments

7 years agofixed #endif comments
clwu [Wed, 2 Aug 2017 02:49:10 +0000 (10:49 +0800)]
fixed #endif comments

7 years agoUpdate NEWS
Christoph M. Becker [Tue, 1 Aug 2017 22:07:39 +0000 (00:07 +0200)]
Update NEWS

7 years agoUpdate NEWS for 7.2.0beta3
Sara Golemon [Tue, 1 Aug 2017 16:35:08 +0000 (16:35 +0000)]
Update NEWS for 7.2.0beta3

7 years agoUpdate NEWS for PHP 7.2.0beta2
Sara Golemon [Tue, 1 Aug 2017 16:13:38 +0000 (16:13 +0000)]
Update NEWS for PHP 7.2.0beta2

7 years agoUpdate to SQLite 3.20.0
Christoph M. Becker [Tue, 1 Aug 2017 16:26:14 +0000 (18:26 +0200)]
Update to SQLite 3.20.0

7 years agoOptimize array_unique()
Nikita Popov [Tue, 1 Aug 2017 16:07:26 +0000 (18:07 +0200)]
Optimize array_unique()

In SORT_STRING mode, instead of sorting the array, build a hash of
seen elements.

7 years agoUpdated NEWS
Julien Pauli [Tue, 1 Aug 2017 14:03:00 +0000 (16:03 +0200)]
Updated NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Julien Pauli [Tue, 1 Aug 2017 14:02:36 +0000 (16:02 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Updated NEWS
  Updated NEWS
  Fix #75015. Crash in SPL destructors

7 years agoUpdated NEWS
Julien Pauli [Tue, 1 Aug 2017 14:02:26 +0000 (16:02 +0200)]
Updated NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Julien Pauli [Tue, 1 Aug 2017 14:02:00 +0000 (16:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Updated NEWS
  Fix #75015. Crash in SPL destructors

7 years agoUpdated NEWS
Julien Pauli [Tue, 1 Aug 2017 14:01:43 +0000 (16:01 +0200)]
Updated NEWS

7 years agoFix #75015. Crash in SPL destructors
Julien Pauli [Tue, 1 Aug 2017 10:59:19 +0000 (12:59 +0200)]
Fix #75015. Crash in SPL destructors

7 years agoFix use of uninitialised value in uniqid() where more_entropy=0
Julien Pauli [Tue, 1 Aug 2017 12:42:15 +0000 (14:42 +0200)]
Fix use of uninitialised value in uniqid() where more_entropy=0

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 1 Aug 2017 10:51:20 +0000 (12:51 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Test to cover the change in ce1a0d97

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 1 Aug 2017 10:50:52 +0000 (12:50 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Test to cover the change in ce1a0d97

7 years agoTest to cover the change in ce1a0d97
Anatol Belski [Tue, 1 Aug 2017 10:49:45 +0000 (12:49 +0200)]
Test to cover the change in ce1a0d97

7 years agofix test
Anatol Belski [Tue, 1 Aug 2017 09:56:23 +0000 (11:56 +0200)]
fix test

7 years agofix NULL deref
Anatol Belski [Tue, 1 Aug 2017 09:55:32 +0000 (11:55 +0200)]
fix NULL deref

7 years agoUpdate NEWS
Xinchen Hui [Mon, 31 Jul 2017 03:52:23 +0000 (11:52 +0800)]
Update NEWS

7 years agoReq #74963 (Improved error message on fetching property of non-object)
Xinchen Hui [Thu, 27 Jul 2017 02:42:36 +0000 (10:42 +0800)]
Req #74963 (Improved error message on fetching property of non-object)

7 years agoReduce EXIF test image sizes, there is still one large image left that I will look...
Kalle Sommer Nielsen [Sun, 30 Jul 2017 19:49:02 +0000 (21:49 +0200)]
Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg)

The changes in phpts are due to exiftool, I verified that all the images still remain relevant for testing

7 years agoLowercase the file extension
Kalle Sommer Nielsen [Sun, 30 Jul 2017 19:30:33 +0000 (21:30 +0200)]
Lowercase the file extension

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sun, 30 Jul 2017 15:52:36 +0000 (17:52 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  remove dup of the binary file, rely on a test runtime copy instead

7 years agoremove dup of the binary file, rely on a test runtime copy instead
Anatol Belski [Sun, 30 Jul 2017 15:51:27 +0000 (17:51 +0200)]
remove dup of the binary file, rely on a test runtime copy instead

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sun, 30 Jul 2017 14:35:07 +0000 (16:35 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Shrink another large image

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sun, 30 Jul 2017 14:27:38 +0000 (16:27 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Shrink another large image

7 years agoShrink another large image
Christoph M. Becker [Sun, 30 Jul 2017 14:24:40 +0000 (16:24 +0200)]
Shrink another large image

This image is only used for testing `BITMAPV5HEADER` support in
`getimagesize()` (see bf9ad4e). Therefore it is not necessary to have
a big image; a single pixel is sufficient.

7 years agoMerge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
Frank Denis [Sun, 30 Jul 2017 13:42:24 +0000 (15:42 +0200)]
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2

* 'PHP-7.2' of git.php.net:php-src:
  Shrink test image

7 years agosodium ext: skip scrypt if it is not available
Frank Denis [Sun, 30 Jul 2017 13:05:41 +0000 (15:05 +0200)]
sodium ext: skip scrypt if it is not available

scrypt was removed from minimal libsodium builds in version 1.0.13

7 years agosodium ext: fix tests/pwhash_argon2i description
Frank Denis [Sun, 30 Jul 2017 13:05:21 +0000 (15:05 +0200)]
sodium ext: fix tests/pwhash_argon2i description

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sun, 30 Jul 2017 13:01:59 +0000 (15:01 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Shrink test image

7 years agosodium ext: check hash length for scrypt
Frank Denis [Sun, 30 Jul 2017 13:00:03 +0000 (15:00 +0200)]
sodium ext: check hash length for scrypt

7 years agoMerge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
Frank Denis [Sun, 30 Jul 2017 12:48:44 +0000 (14:48 +0200)]
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2

* 'PHP-7.2' of git.php.net:php-src:
  It's `--SKIPIF--`, not `--SKIP--`

7 years agosodium ext: no need for #ifdef crypto_aead_chacha20poly1305_IETF_NPUBBYTES
Frank Denis [Sun, 30 Jul 2017 12:46:10 +0000 (14:46 +0200)]
sodium ext: no need for #ifdef crypto_aead_chacha20poly1305_IETF_NPUBBYTES

chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we support.

7 years agosodium ext: check that message sizes are safe, to avoid hitting abort() in libsodium
Frank Denis [Sun, 30 Jul 2017 12:45:06 +0000 (14:45 +0200)]
sodium ext: check that message sizes are safe, to avoid hitting abort() in libsodium

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sun, 30 Jul 2017 12:44:52 +0000 (14:44 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Shrink test image

7 years agoShrink test image
Christoph M. Becker [Sun, 30 Jul 2017 12:43:37 +0000 (14:43 +0200)]
Shrink test image

The last (`IDAT`) chunk in this file starting at `0x5e265` reports to
have a length of `0x2000` bytes, but there are only `0x1D9B` bytes
left. Simply cutting the first `IDAT` chunk which starts at `0x31` and
also reports a length of `0x2000` at the same offset should produce the
same test results (while reducing the file size to 7.628 bytes).

7 years agosodium ext: use unexpand -t 4 --first-only to convert from spaces to tabs
Frank Denis [Sun, 30 Jul 2017 12:34:55 +0000 (14:34 +0200)]
sodium ext: use unexpand -t 4 --first-only to convert from spaces to tabs

No actual code changes.

Fun fact: macOS' unexpand(1) tool doesn't work as documented, and always
converts everything to tabs, regardless of the -a switch.

7 years agoIt's `--SKIPIF--`, not `--SKIP--`
Christoph M. Becker [Sun, 30 Jul 2017 12:01:51 +0000 (14:01 +0200)]
It's `--SKIPIF--`, not `--SKIP--`

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sun, 30 Jul 2017 11:37:36 +0000 (13:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Skip this test if ext/gd is not available

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Sun, 30 Jul 2017 11:30:18 +0000 (13:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Skip this test if ext/gd is not available

7 years agoSkip this test if ext/gd is not available
Christoph M. Becker [Sun, 30 Jul 2017 11:24:10 +0000 (13:24 +0200)]
Skip this test if ext/gd is not available

7 years agosodium ext: let crypto_pwhash() accept an optional algorithm identifier
Frank Denis [Sat, 29 Jul 2017 11:04:54 +0000 (13:04 +0200)]
sodium ext: let crypto_pwhash() accept an optional algorithm identifier

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 28 Jul 2017 11:03:11 +0000 (13:03 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 28 Jul 2017 11:02:52 +0000 (13:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #62934
Nikita Popov [Fri, 28 Jul 2017 11:02:25 +0000 (13:02 +0200)]
Fixed bug #62934

7 years agoadd missing makefile fragment for .w32
Anatol Belski [Fri, 28 Jul 2017 00:34:51 +0000 (02:34 +0200)]
add missing makefile fragment for .w32

ensure correct dir

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 27 Jul 2017 22:28:12 +0000 (00:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  relax test on travis

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 27 Jul 2017 22:27:52 +0000 (00:27 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  relax test on travis

7 years agorelax test on travis
Anatol Belski [Thu, 27 Jul 2017 22:27:11 +0000 (00:27 +0200)]
relax test on travis

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Thu, 27 Jul 2017 14:04:59 +0000 (10:04 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Simpler fix for #74974

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Thu, 27 Jul 2017 14:04:14 +0000 (10:04 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Simpler fix for #74974

7 years agoSimpler fix for #74974
Pedro Magalhães [Sun, 23 Jul 2017 12:41:50 +0000 (14:41 +0200)]
Simpler fix for #74974

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Thu, 27 Jul 2017 04:50:41 +0000 (12:50 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed test

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Thu, 27 Jul 2017 04:50:28 +0000 (12:50 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed test

7 years agoFixed test
Xinchen Hui [Thu, 27 Jul 2017 04:50:17 +0000 (12:50 +0800)]
Fixed test

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Thu, 27 Jul 2017 03:24:53 +0000 (11:24 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update NEWS
  Fixed bug #74949 (null pointer dereference in _function_string)

7 years agoUpdate NEWS
Xinchen Hui [Thu, 27 Jul 2017 03:24:26 +0000 (11:24 +0800)]
Update NEWS

7 years agoUpdate NEWS
Xinchen Hui [Thu, 27 Jul 2017 03:23:52 +0000 (11:23 +0800)]
Update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Thu, 27 Jul 2017 03:23:27 +0000 (11:23 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74949 (null pointer dereference in _function_string)

7 years agoFixed bug #74949 (null pointer dereference in _function_string)
Xinchen Hui [Thu, 27 Jul 2017 03:23:06 +0000 (11:23 +0800)]
Fixed bug #74949 (null pointer dereference in _function_string)

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Wed, 26 Jul 2017 22:56:06 +0000 (18:56 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Wed, 26 Jul 2017 22:55:46 +0000 (18:55 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods

7 years agoBugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
Sara Golemon [Wed, 26 Jul 2017 21:59:29 +0000 (17:59 -0400)]
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 15:31:57 +0000 (17:31 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 26 Jul 2017 15:31:10 +0000 (17:31 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] update NEWS
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 15:30:40 +0000 (17:30 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 26 Jul 2017 15:30:02 +0000 (17:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 15:29:37 +0000 (17:29 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 26 Jul 2017 11:21:20 +0000 (13:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #74833, SID constant created with wrong module number

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 26 Jul 2017 11:20:48 +0000 (13:20 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74833, SID constant created with wrong module number

7 years agoFixed bug #74833, SID constant created with wrong module number
Anatol Belski [Wed, 26 Jul 2017 11:19:41 +0000 (13:19 +0200)]
Fixed bug #74833, SID constant created with wrong module number

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Wed, 26 Jul 2017 09:47:32 +0000 (10:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Wed, 26 Jul 2017 09:47:02 +0000 (10:47 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoFix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR...
Benjamin W. Broersma [Wed, 26 Jul 2017 06:16:37 +0000 (08:16 +0200)]
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoUpdate NEWS
Christopher Jones [Wed, 26 Jul 2017 05:25:01 +0000 (15:25 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christopher Jones [Wed, 26 Jul 2017 05:24:26 +0000 (15:24 +1000)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoUpdate NEWS
Christopher Jones [Wed, 26 Jul 2017 05:23:58 +0000 (15:23 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Wed, 26 Jul 2017 05:23:17 +0000 (15:23 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoExpose oci_unregister_taf_callback()
Christopher Jones [Wed, 26 Jul 2017 05:22:44 +0000 (15:22 +1000)]
Expose oci_unregister_taf_callback()

7 years agoUpdate NEWS
Xinchen Hui [Wed, 26 Jul 2017 04:07:20 +0000 (12:07 +0800)]
Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Wed, 26 Jul 2017 04:06:55 +0000 (12:06 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #74980 (Narrowing occurred during type inference)

7 years agoFixed bug #74980 (Narrowing occurred during type inference)
Xinchen Hui [Wed, 26 Jul 2017 04:06:33 +0000 (12:06 +0800)]
Fixed bug #74980 (Narrowing occurred during type inference)

7 years agoRemove obsolete function names from CODING_STANDARDS file
Aleš Rebec [Fri, 14 Apr 2017 20:26:50 +0000 (22:26 +0200)]
Remove obsolete function names from CODING_STANDARDS file

Deprecated and removed function names used as examples in coding standards file.

- Mcrypt is deprecated and will be removed in 7.2
- Mysql functions are deprecated in 5.4 and removed in 7.0.

According to those changes, CODING_STANDARDS file should be updated.

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 25 Jul 2017 05:58:47 +0000 (06:58 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed finding CURL on systems with multiarch support

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 25 Jul 2017 05:58:23 +0000 (06:58 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed finding CURL on systems with multiarch support

7 years agoFixed finding CURL on systems with multiarch support
Carsten Brandt [Fri, 14 Jul 2017 11:45:33 +0000 (13:45 +0200)]
Fixed finding CURL on systems with multiarch support

fixes https://bugs.php.net/bug.php?id=74125

This commit makes the cURL config script aware of debian/ubuntu
[multiarch support][1] which installs architecture specific
headers in a different location.

It checks whether the `dpkg-architecture` script exists and is
executeable, if that is the case, the multiarch architecture is
detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as
documented in [debian multiarch implementation docs][2]:

> `/usr/include/<triplet>`: used for arch-varying headers

[1]: https://wiki.debian.org/Multiarch
[2]: https://wiki.debian.org/Multiarch/Implementation

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 25 Jul 2017 05:54:20 +0000 (06:54 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  minor loop optimizations, closes #2633

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 25 Jul 2017 05:51:44 +0000 (06:51 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  minor loop optimizations, closes #2633

7 years agominor loop optimizations, closes #2633
Joe Watkins [Tue, 25 Jul 2017 05:47:58 +0000 (06:47 +0100)]
minor loop optimizations, closes #2633