]> granicus.if.org Git - php/log
php
7 years agoAdapt test
Anatol Belski [Thu, 21 Dec 2017 17:35:02 +0000 (18:35 +0100)]
Adapt test

7 years agoAdd info about thread API used
Anatol Belski [Thu, 21 Dec 2017 16:54:31 +0000 (17:54 +0100)]
Add info about thread API used

7 years agoUpdate libmagic.patch, also reflecting PCRE2 changes
Anatol Belski [Thu, 21 Dec 2017 14:47:07 +0000 (15:47 +0100)]
Update libmagic.patch, also reflecting PCRE2 changes

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 21 Dec 2017 14:46:35 +0000 (15:46 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update libmagic.patch

7 years agoUpdate libmagic.patch
Anatol Belski [Thu, 21 Dec 2017 14:43:04 +0000 (15:43 +0100)]
Update libmagic.patch

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 21 Dec 2017 14:42:16 +0000 (15:42 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  fileinfo: fix misleading indentation in libmagic

7 years agofileinfo: fix misleading indentation in libmagic
Riccardo Magliocchetti [Wed, 20 Dec 2017 18:07:30 +0000 (19:07 +0100)]
fileinfo: fix misleading indentation in libmagic

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 21 Dec 2017 12:49:55 +0000 (13:49 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix segfault. Compile param --with-tsrm-pth=yes

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 21 Dec 2017 12:49:05 +0000 (13:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix segfault. Compile param --with-tsrm-pth=yes

7 years agoFix segfault. Compile param --with-tsrm-pth=yes
Evgeny Kalashnikov [Thu, 21 Dec 2017 12:48:10 +0000 (13:48 +0100)]
Fix segfault. Compile param --with-tsrm-pth=yes

7 years agoTell the diff by returning NULL, if system has no ODBC data sources
Anatol Belski [Wed, 20 Dec 2017 21:32:10 +0000 (22:32 +0100)]
Tell the diff by returning NULL, if system has no ODBC data sources

7 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 20 Dec 2017 18:45:06 +0000 (21:45 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Templatize driver name in the expected string
  Bump libcurl requirement to 7.12.1
  Avoid strlen call
  NEWS
  display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)

7 years agoFixed possible local assembler labels conflicts.
Dmitry Stogov [Wed, 20 Dec 2017 18:44:24 +0000 (21:44 +0300)]
Fixed possible local assembler labels conflicts.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 20 Dec 2017 17:50:52 +0000 (18:50 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Templatize driver name in the expected string

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 20 Dec 2017 17:50:10 +0000 (18:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Templatize driver name in the expected string

7 years agoTemplatize driver name in the expected string
Anatol Belski [Wed, 20 Dec 2017 17:46:56 +0000 (18:46 +0100)]
Templatize driver name in the expected string

7 years agoBump libcurl requirement to 7.12.1
Nikita Popov [Tue, 19 Dec 2017 22:16:06 +0000 (23:16 +0100)]
Bump libcurl requirement to 7.12.1

The existence of the following functions is now guaranteed:
 * curl_reset()
 * curl_strerror()
 * curl_multi_strerror()
 * curl_share_strerror()

libcurl 7.12.1 has been released more than 13 years ago and is
available even in RHEL 4.

7 years agoAvoid strlen call
Anatol Belski [Tue, 19 Dec 2017 12:12:20 +0000 (13:12 +0100)]
Avoid strlen call

7 years agoMerge branch 'PHP-7.2'
Remi Collet [Tue, 19 Dec 2017 13:48:21 +0000 (14:48 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  NEWS
  display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)

7 years agoNEWS
Remi Collet [Tue, 19 Dec 2017 13:47:59 +0000 (14:47 +0100)]
NEWS

7 years agodisplay headers (buildtime) and library (runtime) versions in phpinfo (libzip >=...
Remi Collet [Tue, 19 Dec 2017 13:46:32 +0000 (14:46 +0100)]
display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)

7 years agoCompile the blacklist pattern with JIT
Anatol Belski [Tue, 19 Dec 2017 11:51:38 +0000 (12:51 +0100)]
Compile the blacklist pattern with JIT

There are certain limitations on the pattern size. Should the JIT
compilation fail, the interpreter code is still usable.

7 years agoAvoid strlen call
Anatol Belski [Tue, 19 Dec 2017 11:14:50 +0000 (12:14 +0100)]
Avoid strlen call

7 years agoRemove opcache.inherited_hack
Nikita Popov [Mon, 18 Dec 2017 20:57:23 +0000 (21:57 +0100)]
Remove opcache.inherited_hack

This ini directive has already been ignored since PHP 5.3.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Mon, 18 Dec 2017 20:45:04 +0000 (21:45 +0100)]
Merge branch 'PHP-7.2'

[ci skip]

7 years agoDocument removal of opcache.fast_shutdown
Nikita Popov [Mon, 18 Dec 2017 20:44:36 +0000 (21:44 +0100)]
Document removal of opcache.fast_shutdown

[ci skip]

7 years agoPut interned strings into regular SHM memory if there is no space in shared interned_...
Dmitry Stogov [Mon, 18 Dec 2017 18:04:41 +0000 (21:04 +0300)]
Put interned strings into regular SHM memory if there is no space in shared interned_strings_buffer.

7 years agofixed "unused function" compilation warning
Dmitry Stogov [Mon, 18 Dec 2017 08:43:12 +0000 (11:43 +0300)]
fixed "unused function" compilation warning

7 years agoFix warning in the proper place
Dmitry Stogov [Mon, 18 Dec 2017 08:28:59 +0000 (11:28 +0300)]
Fix warning in the proper place

7 years agoUse cheaper API
Xinchen Hui [Mon, 18 Dec 2017 03:55:14 +0000 (11:55 +0800)]
Use cheaper API

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sun, 17 Dec 2017 11:57:40 +0000 (12:57 +0100)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #75616
Jaromír Doleček [Sun, 17 Dec 2017 11:56:37 +0000 (12:56 +0100)]
Fixed bug #75616

PDO can be built shared on Darwin nowadays. There used to be issues
relating to symbol references between dynamically loaded shared
objects.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sun, 17 Dec 2017 11:48:11 +0000 (12:48 +0100)]
Merge branch 'PHP-7.2'

7 years agoFix bug #75615
Jaromír Doleček [Sun, 17 Dec 2017 11:46:28 +0000 (12:46 +0100)]
Fix bug #75615

Remove -I without argument in pdo_mysql config.m4.

7 years agoAdded integrity check before dfa
Xinchen Hui [Sun, 17 Dec 2017 01:48:27 +0000 (09:48 +0800)]
Added integrity check before dfa

7 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Sun, 17 Dec 2017 01:42:18 +0000 (09:42 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Updated NEWS

7 years agoUpdated NEWS
Xinchen Hui [Sun, 17 Dec 2017 01:42:01 +0000 (09:42 +0800)]
Updated NEWS

7 years agoTransmit phpdbg webdata len in little-endian
Sebastian Ramadan [Sat, 16 Dec 2017 23:21:47 +0000 (00:21 +0100)]
Transmit phpdbg webdata len in little-endian

Rather than using machine-endianness through a UB cast.

7 years agoImprove explicit_bzero implementation
David Carlier [Sat, 9 Dec 2017 22:28:21 +0000 (22:28 +0000)]
Improve explicit_bzero implementation

Using the weak symbol explicit_bzero_hook does not work if LTO is
enabled. Instead avoid memset optimizations using an asm memory
barrier.

Use a fallback implementation where the memory is zeroed through
volatile.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 16 Dec 2017 21:33:06 +0000 (22:33 +0100)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #75614
Nikita Popov [Sat, 16 Dec 2017 21:31:10 +0000 (22:31 +0100)]
Fixed bug #75614

Replace non-standard == with = in shell scripts.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 16 Dec 2017 21:04:38 +0000 (22:04 +0100)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #75698
Nikita Popov [Sat, 16 Dec 2017 21:04:18 +0000 (22:04 +0100)]
Fixed bug #75698

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 16 Dec 2017 20:25:49 +0000 (21:25 +0100)]
Merge branch 'PHP-7.2'

7 years agoAdd test for bug #75681
Nikita Popov [Sat, 16 Dec 2017 20:24:26 +0000 (21:24 +0100)]
Add test for bug #75681

The issue itself has been fixed by 8a4532319dfae83ff16b2d2bbfeed062924c3c27.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 16 Dec 2017 20:12:57 +0000 (21:12 +0100)]
Merge branch 'PHP-7.2'

7 years agoImprove fix for bug #75687
Nikita Popov [Sat, 16 Dec 2017 20:11:40 +0000 (21:11 +0100)]
Improve fix for bug #75687

Adding an (incorrect) UNDEF here may cause subsequent narrowing in
other places.

Instead, let's try to handle this edge-case once for all
instructions...

7 years agoFix duplicate NEWS entry
Nikita Popov [Sat, 16 Dec 2017 16:40:32 +0000 (17:40 +0100)]
Fix duplicate NEWS entry

Also add an UPGRADING note while at it, as this is potentially
BC breaking.

[ci skip]

7 years agoFixed bug #75355: preg_quote() does not quote # control character
Michael Moravec [Tue, 10 Oct 2017 17:00:29 +0000 (19:00 +0200)]
Fixed bug #75355: preg_quote() does not quote # control character

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 16 Dec 2017 16:21:06 +0000 (17:21 +0100)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 16 Dec 2017 16:21:01 +0000 (17:21 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMove includes in ps_title.c
David Carlier [Mon, 2 Oct 2017 13:42:58 +0000 (13:42 +0000)]
Move includes in ps_title.c

The HAVE_UNISTD_H check has to be after including config.h.

Also include sys/types.h, which may be needed for setproctitle.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 16 Dec 2017 16:10:09 +0000 (17:10 +0100)]
Merge branch 'PHP-7.2'

7 years agoFix #75607 - Check if existing static trait property is a ref before comparing
Pedro Magalhães [Fri, 1 Dec 2017 16:08:11 +0000 (16:08 +0000)]
Fix #75607 - Check if existing static trait property is a ref before comparing

7 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Sat, 16 Dec 2017 15:59:44 +0000 (23:59 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #75687 (var 8 (TMP) has array key type but not value type)

7 years agoFixed bug #75687 (var 8 (TMP) has array key type but not value type)
Xinchen Hui [Sat, 16 Dec 2017 15:59:10 +0000 (23:59 +0800)]
Fixed bug #75687 (var 8 (TMP) has array key type but not value type)

7 years agoFix some format specificers
David Carlier [Sat, 9 Dec 2017 10:37:41 +0000 (10:37 +0000)]
Fix some format specificers

time_t is of 64 bits type on some systems as well.

7 years agoUse known string "file" in stream layer
Markus Staab [Sat, 16 Dec 2017 12:25:05 +0000 (13:25 +0100)]
Use known string "file" in stream layer

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Fri, 15 Dec 2017 21:04:40 +0000 (22:04 +0100)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 15 Dec 2017 21:04:24 +0000 (22:04 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFix bug #69727: Support SOURCE_DATE_EPOCH for Build Date
Jelle van der Waa [Fri, 8 Dec 2017 18:19:22 +0000 (19:19 +0100)]
Fix bug #69727: Support SOURCE_DATE_EPOCH for Build Date

When checking for reproducible builds php is build twice, once with the
current date and once with a date in the future. To keep the build date
supported and reproducible builds possible, SOURCE_DATE_EPOCH is
introduced which can be set to the same epoch value for both builds.

7 years agoFix const qualifier warning
Nikita Popov [Fri, 15 Dec 2017 20:58:52 +0000 (21:58 +0100)]
Fix const qualifier warning

7 years agoFix bug #75677: Drop fastcall attribute on variadic function
Li-Wen Hsu [Wed, 13 Dec 2017 19:19:43 +0000 (03:19 +0800)]
Fix bug #75677: Drop fastcall attribute on variadic function

Fastcall generally doesn't make sense on variadic functions. For
clang in particular this eliminates a "fastcall calling convention
ignored on variadic function" warning.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 15 Dec 2017 15:27:10 +0000 (16:27 +0100)]
Merge branch 'PHP-7.2'

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

7 years ago[ci skip] update NEWS
Anatol Belski [Fri, 15 Dec 2017 15:26:40 +0000 (16:26 +0100)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 15 Dec 2017 15:26:21 +0000 (16:26 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Fri, 15 Dec 2017 15:25:36 +0000 (16:25 +0100)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 15 Dec 2017 14:35:07 +0000 (15:35 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #75671 pg_version() crashes when called on a connection to cockroach

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 15 Dec 2017 14:34:44 +0000 (15:34 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75671 pg_version() crashes when called on a connection to cockroach

7 years agoFixed bug #75671 pg_version() crashes when called on a connection to cockroach
Anatol Belski [Fri, 15 Dec 2017 14:33:14 +0000 (15:33 +0100)]
Fixed bug #75671 pg_version() crashes when called on a connection to cockroach

7 years agoDrop unused code
Anatol Belski [Fri, 15 Dec 2017 14:00:20 +0000 (15:00 +0100)]
Drop unused code

7 years agoDrop unused code
Anatol Belski [Fri, 15 Dec 2017 13:58:43 +0000 (14:58 +0100)]
Drop unused code

7 years agoModernize realpath and integrate quick variant into virtual_file_ex
Anatol Belski [Fri, 15 Dec 2017 12:23:34 +0000 (13:23 +0100)]
Modernize realpath and integrate quick variant into virtual_file_ex

The slower I/O as a traditional bottleneck on Windows which is
the target of this patch. The recursive path resolution, while being
an allround solution, is expensive when it comes to the common case.
Files with proper ACLs set can be resolved in one go by usage of specific
API. Those are available since Vista, so actually can be called old. Those
simpler api is used for the cases where no CWD_EXPAND is requested. For
the cases where ACLs are improper, the existing solution based on
FindFirstFile still does good job also partially providing quirks. Cases
involing reparse tags and other non local filesystems are also partially
server by new APIs.

The approach uses both APIs - the quick one for the common case still
integrating realpath cache, and the existing one as a fallback. The tests
show the I/O load drop on the realpath resolution part due to less
system calls for the sub part resolution of paths. In most case it is
justified, as the sub parts were otherwise cached or unused as well. The
realpath() implementation in ioutil is also closer to the POSIX.

7 years agoArray addition is not commutative
Dmitry Stogov [Fri, 15 Dec 2017 11:40:19 +0000 (14:40 +0300)]
Array addition is not commutative

7 years agoRemove duplicate handlers for commutative operations
Dmitry Stogov [Fri, 15 Dec 2017 10:42:54 +0000 (13:42 +0300)]
Remove duplicate handlers for commutative operations

7 years agoMove constants into read-only data segment
Dmitry Stogov [Thu, 14 Dec 2017 22:55:00 +0000 (01:55 +0300)]
Move constants into read-only data segment

7 years agotypo
Dmitry Stogov [Thu, 14 Dec 2017 20:56:55 +0000 (23:56 +0300)]
typo

7 years agoFixed stream handler override
Dmitry Stogov [Thu, 14 Dec 2017 20:55:57 +0000 (23:55 +0300)]
Fixed stream handler override

7 years agoTurn "pdo_stmt_methods" into constants.
Dmitry Stogov [Thu, 14 Dec 2017 19:59:58 +0000 (22:59 +0300)]
Turn "pdo_stmt_methods" into constants.

7 years agoTurn "php_stream_wrapper"s into constants
Dmitry Stogov [Thu, 14 Dec 2017 19:46:22 +0000 (22:46 +0300)]
Turn "php_stream_wrapper"s into constants
Keep non-constant "php_stream_wrapper"s in API functions and callbacks for compatibility.

7 years agoMove constants into read-only data segment
Dmitry Stogov [Thu, 14 Dec 2017 19:14:36 +0000 (22:14 +0300)]
Move constants into read-only data segment

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 14 Dec 2017 17:18:54 +0000 (18:18 +0100)]
Merge branch 'PHP-7.2'

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

7 years ago[ci skip] update NEWS
Anatol Belski [Thu, 14 Dec 2017 17:18:26 +0000 (18:18 +0100)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 14 Dec 2017 17:17:54 +0000 (18:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Thu, 14 Dec 2017 17:17:19 +0000 (18:17 +0100)]
[ci skip] update NEWS

7 years agoMove constants into read-only data segment
Dmitry Stogov [Thu, 14 Dec 2017 15:43:44 +0000 (18:43 +0300)]
Move constants into read-only data segment

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 14 Dec 2017 15:18:33 +0000 (16:18 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #75679 Path 260 character problem

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 14 Dec 2017 15:17:37 +0000 (16:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75679 Path 260 character problem

7 years agoFixed bug #75679 Path 260 character problem
Anatol Belski [Thu, 14 Dec 2017 15:16:50 +0000 (16:16 +0100)]
Fixed bug #75679 Path 260 character problem

7 years agoMove zend_object_iterator_funcs structures into read-only data segment
Dmitry Stogov [Thu, 14 Dec 2017 11:21:22 +0000 (14:21 +0300)]
Move zend_object_iterator_funcs structures into read-only data segment

7 years agoUse fastcall calling convention for objects and resources API
Dmitry Stogov [Thu, 14 Dec 2017 10:50:39 +0000 (13:50 +0300)]
Use fastcall calling convention for objects and resources API

7 years agoManual loop optimizaton.
Dmitry Stogov [Thu, 14 Dec 2017 00:39:22 +0000 (03:39 +0300)]
Manual loop optimizaton.
Cost of the loops body is still the same, but the loop headers are improved.

7 years agoDisable some "bad" GCC optimizations
Dmitry Stogov [Thu, 14 Dec 2017 00:25:20 +0000 (03:25 +0300)]
Disable some "bad" GCC optimizations

7 years agoImproved branch prediction and code locality
Dmitry Stogov [Wed, 13 Dec 2017 23:22:07 +0000 (02:22 +0300)]
Improved branch prediction and code locality

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Wed, 13 Dec 2017 20:29:13 +0000 (21:29 +0100)]
Merge branch 'PHP-7.2'

7 years agoSet default value for some properties in generate-phpt
Danilo Correa [Wed, 13 Dec 2017 16:52:51 +0000 (14:52 -0200)]
Set default value for some properties in generate-phpt

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Wed, 13 Dec 2017 20:25:38 +0000 (21:25 +0100)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Wed, 13 Dec 2017 20:25:21 +0000 (21:25 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFix copy-and-paste bugs
Levi Morrison [Wed, 13 Dec 2017 05:39:28 +0000 (22:39 -0700)]
Fix copy-and-paste bugs

7 years agoPrep NEWS for PHP 7.2.2
Sara Golemon [Tue, 12 Dec 2017 19:04:27 +0000 (19:04 +0000)]
Prep NEWS for PHP 7.2.2