]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Mon, 5 Nov 2018 17:25:22 +0000 (18:25 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #76825: Undefined symbols ___cpuid_count

6 years agoFix #76825: Undefined symbols ___cpuid_count
Christoph M. Becker [Mon, 5 Nov 2018 17:24:39 +0000 (18:24 +0100)]
Fix #76825: Undefined symbols ___cpuid_count

Apparently, the presence of `cpuid.h` is not necessarily sufficient to
guarantee the availability of `__cpuid_count()`.  We therefore test for
the latter explicitly.

6 years agoMerge branch 'PHP-7.3'
Remi Collet [Mon, 5 Nov 2018 16:06:49 +0000 (17:06 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  NEWS
  Fix: #77110 undefined symbol zend_string_equal_val in C++ build

6 years agoNEWS
Remi Collet [Mon, 5 Nov 2018 16:06:40 +0000 (17:06 +0100)]
NEWS

6 years agoFix: #77110 undefined symbol zend_string_equal_val in C++ build
Remi Collet [Mon, 5 Nov 2018 16:05:49 +0000 (17:05 +0100)]
Fix: #77110 undefined symbol zend_string_equal_val in C++ build

6 years agoFix #77105: Use position:sticky for <th> in `phpinfo()`
Dan Wallis [Mon, 5 Nov 2018 13:27:06 +0000 (14:27 +0100)]
Fix #77105: Use position:sticky for <th> in `phpinfo()`

This ensures tables remain legible when scrolling. If the user agent
does not support this feature, then it will gracefully degrade to
existing behaviour.

This patch implements: https://bugs.php.net/bug.php?id=77105

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Mon, 5 Nov 2018 00:16:54 +0000 (01:16 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Implement handling for JIT recognition when cross compiling

6 years agoImplement handling for JIT recognition when cross compiling
Anatol Belski [Mon, 5 Nov 2018 00:15:09 +0000 (01:15 +0100)]
Implement handling for JIT recognition when cross compiling

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sun, 4 Nov 2018 16:00:02 +0000 (17:00 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Backport 7f5f4601 for 7.2

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sun, 4 Nov 2018 15:59:27 +0000 (16:59 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Backport 7f5f4601 for 7.2

6 years agoBackport 7f5f4601 for 7.2
Anatol Belski [Sun, 4 Nov 2018 15:56:43 +0000 (16:56 +0100)]
Backport 7f5f4601 for 7.2

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Sun, 4 Nov 2018 15:48:13 +0000 (16:48 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Sun, 4 Nov 2018 15:46:27 +0000 (16:46 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sun, 4 Nov 2018 15:44:06 +0000 (16:44 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault

6 years agoFix #76348: WSDL_CACHE_MEMORY causes Segmentation fault
Christoph M. Becker [Sun, 4 Nov 2018 15:40:27 +0000 (16:40 +0100)]
Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault

“Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end.”

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sun, 4 Nov 2018 12:18:48 +0000 (13:18 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Rework places in libmagic regarding previous CVE-2014-3538 fixes

6 years agoRework places in libmagic regarding previous CVE-2014-3538 fixes
Anatol Belski [Sun, 4 Nov 2018 12:11:28 +0000 (13:11 +0100)]
Rework places in libmagic regarding previous CVE-2014-3538 fixes

CVE-2014-3538 was fixed upstream, but the old patch was still kept in
the PHP port. This patch causes performance regressions when PCRE JIT is
not enabled. This is fixed by applying the relevant original code from
the newer libmagic, which makes the old patch obsolete as the
CVE-2014-3538 tests still pass.

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sat, 3 Nov 2018 19:51:22 +0000 (20:51 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Change the way JIT availability is checked

6 years agoChange the way JIT availability is checked
Anatol Belski [Sat, 3 Nov 2018 19:29:51 +0000 (20:29 +0100)]
Change the way JIT availability is checked

The pcre2_jit_compile_8 sysmbol is always available, even JIT might be
not. If JIT is not enabled explicitly and is enabled in the PHP runtime,
this will lead to a malfunction. This approach ensures JIT is indeed
available on the given platform. For cross compilation this might get
complicated, as it would require an explicit processor architecture and
PCRE2 version check.

Another solution for this case is to run pcre2_config at runtime. That
however would require more condition checks that would impact
architectures where JIT is available.

6 years agoFix a test for ldap extension
Mizunashi Mana [Sun, 28 Oct 2018 16:04:52 +0000 (01:04 +0900)]
Fix a test for ldap extension

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Fri, 2 Nov 2018 13:34:11 +0000 (14:34 +0100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 2 Nov 2018 13:30:23 +0000 (14:30 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #77092
Nikita Popov [Fri, 2 Nov 2018 13:26:24 +0000 (14:26 +0100)]
Fixed bug #77092

Weird that this worked for so long, probably because nearly all
ext/standard functions use fast ZPP rather than ordinary ZPP.

6 years agoFuture-proof email addresses
Zeev Suraski [Thu, 1 Nov 2018 16:35:32 +0000 (18:35 +0200)]
Future-proof email addresses

6 years agoFuture-proof email addresses...
Zeev Suraski [Thu, 1 Nov 2018 16:30:28 +0000 (18:30 +0200)]
Future-proof email addresses...

6 years agoUpdate email addresses. We're still @Zend, but future proofing it...
Zeev Suraski [Thu, 1 Nov 2018 15:20:07 +0000 (17:20 +0200)]
Update email addresses.  We're still @Zend, but future proofing it...

6 years agoMerge branch 'PHP-7.3'
Rasmus Lerdorf [Wed, 31 Oct 2018 18:41:42 +0000 (11:41 -0700)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix stray newline that caused this test to fail

6 years agoFix stray newline that caused this test to fail
Rasmus Lerdorf [Wed, 31 Oct 2018 18:41:17 +0000 (11:41 -0700)]
Fix stray newline that caused this test to fail

6 years agoMerge branch 'PHP-7.3'
Rasmus Lerdorf [Wed, 31 Oct 2018 17:59:31 +0000 (10:59 -0700)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix session tests that fail if error_log is set

6 years agoFix session tests that fail if error_log is set
Rasmus Lerdorf [Wed, 31 Oct 2018 17:58:45 +0000 (10:58 -0700)]
Fix session tests that fail if error_log is set

6 years agoMerge branch 'PHP-7.3'
Rasmus Lerdorf [Wed, 31 Oct 2018 17:44:01 +0000 (10:44 -0700)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  This test needs to log to stdout

6 years agoThis test needs to log to stdout
Rasmus Lerdorf [Wed, 31 Oct 2018 17:43:45 +0000 (10:43 -0700)]
This test needs to log to stdout

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Tue, 30 Oct 2018 19:50:07 +0000 (20:50 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix error condition
  Fixed bug #77081 ftruncate() changes seek pointer in c mode

6 years agoFix error condition
Anatol Belski [Tue, 30 Oct 2018 19:43:45 +0000 (20:43 +0100)]
Fix error condition

6 years agoFixed bug #77081 ftruncate() changes seek pointer in c mode
Anatol Belski [Tue, 30 Oct 2018 19:42:00 +0000 (20:42 +0100)]
Fixed bug #77081 ftruncate() changes seek pointer in c mode

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Tue, 30 Oct 2018 17:55:16 +0000 (18:55 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix and improve test case

6 years agoFix and improve test case
Christoph M. Becker [Tue, 30 Oct 2018 17:53:03 +0000 (18:53 +0100)]
Fix and improve test case

We fix the erroneous doctype declaration, clarify the expectation, and
add a comment to clarify the purpose of the tag mismatch in the XML.

6 years agoKeep original value of "prototype"
Dmitry Stogov [Tue, 30 Oct 2018 13:13:45 +0000 (16:13 +0300)]
Keep original value of "prototype"

6 years agoCall function_add_ref() in proper place
Dmitry Stogov [Tue, 30 Oct 2018 12:08:45 +0000 (15:08 +0300)]
Call function_add_ref() in proper place

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 30 Oct 2018 12:08:30 +0000 (15:08 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Updated to version 2018.7 (2018g)
  Updated to version 2018.7 (2018g)
  Updated to version 2018.7 (2018g)

6 years agoUpdated to version 2018.7 (2018g)
Derick Rethans [Tue, 30 Oct 2018 11:25:49 +0000 (11:25 +0000)]
Updated to version 2018.7 (2018g)

6 years agoEmpty merge
Derick Rethans [Tue, 30 Oct 2018 11:25:49 +0000 (11:25 +0000)]
Empty merge

6 years agoUpdated to version 2018.7 (2018g)
Derick Rethans [Tue, 30 Oct 2018 11:25:48 +0000 (11:25 +0000)]
Updated to version 2018.7 (2018g)

6 years agoEmpty merge
Derick Rethans [Tue, 30 Oct 2018 11:25:47 +0000 (11:25 +0000)]
Empty merge

6 years agoUpdated to version 2018.7 (2018g)
Derick Rethans [Tue, 30 Oct 2018 11:25:45 +0000 (11:25 +0000)]
Updated to version 2018.7 (2018g)

6 years agoReslove inherited op_array references once afrer all optimizations.
Dmitry Stogov [Tue, 30 Oct 2018 10:16:49 +0000 (13:16 +0300)]
Reslove inherited op_array references once afrer all optimizations.

6 years agoMerge branch 'PHP-7.3'
Peter Kokot [Mon, 29 Oct 2018 23:24:20 +0000 (00:24 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Update NEWS
  [ci skip] Update NEWS
  [ci skip] Update NEWS
  fix bug #77079

6 years ago[ci skip] Update NEWS
Peter Kokot [Mon, 29 Oct 2018 23:24:07 +0000 (00:24 +0100)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Mon, 29 Oct 2018 23:23:38 +0000 (00:23 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS
  fix bug #77079

6 years ago[ci skip] Update NEWS
Peter Kokot [Mon, 29 Oct 2018 23:23:20 +0000 (00:23 +0100)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Peter Kokot [Mon, 29 Oct 2018 23:22:26 +0000 (00:22 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS
  fix bug #77079

6 years ago[ci skip] Update NEWS
Peter Kokot [Mon, 29 Oct 2018 23:22:03 +0000 (00:22 +0100)]
[ci skip] Update NEWS

6 years agofix bug #77079
Jon Allen [Mon, 29 Oct 2018 13:44:37 +0000 (14:44 +0100)]
fix bug #77079

6 years agoAdd missing null initialization
Nikita Popov [Mon, 29 Oct 2018 19:57:21 +0000 (20:57 +0100)]
Add missing null initialization

6 years agoRemove redundant mbfl_string_init calls
Nikita Popov [Mon, 29 Oct 2018 19:26:42 +0000 (20:26 +0100)]
Remove redundant mbfl_string_init calls

No need to do this if we already fully initialize the string.

6 years agoUse zend_string for mbstring last encoding cache
Nikita Popov [Mon, 29 Oct 2018 18:51:26 +0000 (19:51 +0100)]
Use zend_string for mbstring last encoding cache

Saves us a string duplication, as well as case-insensitive string
comparisons for the likely case of an interned string encoding.

6 years agoStop Apache if PHP wasn't started successful.
Dmitry Stogov [Mon, 29 Oct 2018 13:48:42 +0000 (16:48 +0300)]
Stop Apache if PHP wasn't started successful.

6 years agoExecute zend_post_startup() with module_initialized flag set.
Dmitry Stogov [Mon, 29 Oct 2018 12:25:17 +0000 (15:25 +0300)]
Execute zend_post_startup() with module_initialized flag set.

6 years agoRemoved dead code
Dmitry Stogov [Fri, 26 Oct 2018 09:29:06 +0000 (12:29 +0300)]
Removed dead code

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Mon, 29 Oct 2018 17:56:43 +0000 (18:56 +0100)]
Merge branch 'PHP-7.3'

6 years agoFix mb_strrpos() with encoding passed as 3rd param
Nikita Popov [Mon, 29 Oct 2018 17:56:17 +0000 (18:56 +0100)]
Fix mb_strrpos() with encoding passed as 3rd param

6 years agoOptimize substr() edge-case conditions
Dmitry Stogov [Mon, 29 Oct 2018 10:11:41 +0000 (13:11 +0300)]
Optimize substr() edge-case conditions

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Sun, 28 Oct 2018 11:48:49 +0000 (12:48 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Update UPGRADING

6 years ago[ci skip] Update UPGRADING
Christoph M. Becker [Sun, 28 Oct 2018 11:48:07 +0000 (12:48 +0100)]
[ci skip] Update UPGRADING

PR #3317[1] is relevant for the migration guide, so we add a respective
note in UPGRADING.

[1] <https://github.com/php/php-src/pull/3317>

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Sat, 27 Oct 2018 15:31:29 +0000 (17:31 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #71592: External entity processing never fails

6 years agoFix #71592: External entity processing never fails
Christoph M. Becker [Sat, 27 Oct 2018 15:30:13 +0000 (17:30 +0200)]
Fix #71592: External entity processing never fails

If the callback set via `xml_set_external_entity_ref_handler()` returns
a falsy value, parsing is supposed to stop and the error number set to
`XML_ERROR_EXTERNAL_ENTITY_HANDLING`.  This is already correctly done
by the libexpat binding, but the libxml2 binding ignores the return
value.  We fix this by calling `xmlStopParser()` which is available as
of libxml 2.1.0[1] (PHP-7.1 requires at least libxml 2.6.11 anyway),
and setting the desired `errNo` ourselves.

[1] <http://xmlsoft.org/news.html>

6 years agoAdd TIDY_TAG_* constants supported by libtidy 5
Christoph M. Becker [Sat, 27 Oct 2018 14:17:09 +0000 (16:17 +0200)]
Add TIDY_TAG_* constants supported by libtidy 5

Cf. <http://api.html-tidy.org/tidy/tidylib_api_5.0.0/tidyenum_8h.html#ae5b597c0999422ff383f08ab595ef5e8a16d20becf3c3cb022ddabccc83d8c314>.

6 years agoAdd is_iterable to opcache Optimizer
Gabriel Caruso [Fri, 26 Oct 2018 03:09:50 +0000 (00:09 -0300)]
Add is_iterable to opcache Optimizer

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 25 Oct 2018 20:42:58 +0000 (23:42 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  [ci skip] Fix indentation in UPGRADING.

6 years agoDon't wrap php_module_shutdown() with zend_try. executor_globals are released in...
Dmitry Stogov [Thu, 25 Oct 2018 20:41:26 +0000 (23:41 +0300)]
Don't wrap php_module_shutdown() with zend_try. executor_globals are released in ZTS build, and this leads to crash.

6 years agoMerge branch 'PHP-7.3'
Adam Harvey [Thu, 25 Oct 2018 18:59:23 +0000 (11:59 -0700)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Fix indentation in UPGRADING.

6 years ago[ci skip] Fix indentation in UPGRADING.
Adam Harvey [Thu, 25 Oct 2018 18:55:43 +0000 (11:55 -0700)]
[ci skip] Fix indentation in UPGRADING.

6 years agoImproved shared interned strings handling. The previous implementation worked incorre...
Dmitry Stogov [Thu, 25 Oct 2018 17:30:51 +0000 (20:30 +0300)]
Improved shared interned strings handling. The previous implementation worked incorrectly in ZTS build. It changed strings only in function/class tables of one thread. Now all threads gets the same shared interned strings. Also, on shutdown, we don't try to replace SHM interned strings back to process strings, but delay dettachment of SHM instead.

6 years agoDon't use request heap at shutdown
Dmitry Stogov [Thu, 25 Oct 2018 16:24:39 +0000 (19:24 +0300)]
Don't use request heap at shutdown

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Thu, 25 Oct 2018 14:44:54 +0000 (16:44 +0200)]
Merge branch 'PHP-7.3'

6 years agoDon't optimize function if inference failed
Nikita Popov [Thu, 25 Oct 2018 14:31:10 +0000 (16:31 +0200)]
Don't optimize function if inference failed

This was respected only for the single-function optimizations, not
in func-info mode.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 25 Oct 2018 14:44:07 +0000 (16:44 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Thu, 25 Oct 2018 14:43:07 +0000 (16:43 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFixed bug #77058
Nikita Popov [Thu, 25 Oct 2018 14:25:54 +0000 (16:25 +0200)]
Fixed bug #77058

Account for the fact that undef must be interpreted as null for
the purposes of INC/DEC inference.

6 years agoImprove "narrowing" error message
Nikita Popov [Thu, 25 Oct 2018 14:18:10 +0000 (16:18 +0200)]
Improve "narrowing" error message

By including the opcode name.

6 years agoRemove unused var
Anatol Belski [Wed, 24 Oct 2018 21:37:32 +0000 (23:37 +0200)]
Remove unused var

6 years agoRemove ext/json parser files generated by bison
Peter Kokot [Wed, 24 Oct 2018 15:06:21 +0000 (17:06 +0200)]
Remove ext/json parser files generated by bison

The parser files for ext/json are generated by bison from the *.y file.
Parser files in Zend and sapi/phpdbg already follow such approach of
these files being ignored from tracking in the Git repository and they
are shipped via the release packages later on. This way the end users
still don't need to have bison dependency installed to install PHP.

The genfiles script was refactored to generate the ext/json parser and
lexer files.

6 years agoFix run-tests.php for running phpdbg and certain test sections
Peter Kokot [Fri, 19 Oct 2018 23:05:00 +0000 (01:05 +0200)]
Fix run-tests.php for running phpdbg and certain test sections

Certain sections, such as --EXTENSIONS--, --SKIPIF--, and --CLEAN--
require to be executed using only PHP CLI or PHP CGI SAPIs and cannot be
processed with the phpdbg.

6 years agoNormalize .gitignore
Peter Kokot [Thu, 18 Oct 2018 06:56:38 +0000 (08:56 +0200)]
Normalize .gitignore

Changes:
- Added introductory paragraph to explain the file for newcomers and
  where to ignore local editor configurations as a common practice
  when using Git.
- Patterns organized into several main context sections for a better
  overview of the php-src directory structure and which files get
  generated where.
- Added comments describing reasons for ignoring particular file(s).
- Patterns normalized according to Git ignore blob patterns. Absolute
  paths are different than relative paths and similar fixes.
- Folders patterns have appended ending slash for readability to
  distinguish them from files.

Removed ignore patterns:
- Removed `sapi/phpdbg/build` pattern since it doesn't seem to be
  relevant anymore in the php-src repository.
- The `acconfig.h` pattern removed in favor of the more recent Autoconf
  versions.
- Removed patterns for `.FBCIndex` `.FBCLockFolder` folders. These were
  generated on old Mac OS systems [1] using the Sherlock [2] software
  and can be today ignored using a global gitignore file if needed.
  Newer macOS systems don't generate these anymore.
- Removed `php_version.h` pattern since the `main/php_version.h` file is
  tracked by Git.
- Removed `*.mk` pattern since few *.mk files are tracked by Git and new
  ones aren't generated during build process.
- Removed `**/tests/**/*.txt` pattern. This has been refactored via
  595a395cb911a4ef54cbaf11cd0056d38316c87c and current tests also clean
  the generated `*.txt` files as soon as they are executed. Since there
  are several `*.txt` files in the repository tracked by Git already and
  renaming them would be counter productive so the pattern is now removed.
  In case there will be a need to adjust it, we can rename the generated
  `*.txt` into something else instead (ideally into `*.tmp`) to not
  conflict with already tracked `*.txt` files in tests.
- Removed `ext/*/scan_makefile_in.awk` and `scan_makefile_in.awk` patterns
  since these are already included in the `/ext/*/build/` pattern.
- Removed the `/ext/*/libs.mk` pattern since these auxilary Makefiles
  have been used in previous build system and made obsolete via the commit
  9d9d39a0de3bec962c343051011f5a2ed7d7b242.
- Removed pattern for configuration header `ext/pdo_sqlite/sqlite3.h` since
  it is not generated anymore in the current code.
- Removed `main/streams/build-defs.h` pattern since this file is not
  generated.
- Removed `test.php3` pattern. These don't seem to be present in the current
  PHP source code nor used since PHP 3.
- Removed `/ext/oci8/tests/*.vglog` pattern since the tests don't seem to
  produce these files.
- Removed pattern for Visual Studio's `*.ncb` files. Since the Visual
  Studio 2010 they are no longer used.
- Removed `ext/sqlite3/tests/phpsql*` pattern. It was part of the `ext/sqlite/tests`.
- Removed `shlibtool` pattern since the shlibtool file is not generated
  anymore. It was once part of the libtool usage and customized naming
  used in the previous build system in Makefiles. Such naming was later
  removed and only libtool was used.
- Removed `meta_ccld` pattern since it is no longer relevant via
  a5b55416f4bf48e475b30bb86b120c83efccca53
- Pattern `meta_cc` has been removed via e5176fe60a9ffbe211ee016acdcddb18118e4487.
- Pattern `dynlib.m4` removed since the file is no longer generated via
  9d9d39a0de3bec962c343051011f5a2ed7d7b242
- Pattern `debug.log` removed since the Autoconf Macro PHP_DEBUG_MACRO
  is not called anymore and this file not generated anymore.
- Pattern `results.txt` removed. It was once part of the logging results
  of test files by Netware and previous Windows builds.
- Removed `_libs` pattern in favor of only `.libs`. These directories
  were once generated by Automake and Libtool on systems that didn't
  support the dot folder `.libs` (MS-DOS).
- Removed `*.opt` pattern since it was used by Visual Studio 6. Later
  versions of Visual Studio don't use these anymore.
- Removed `*.plg` pattern. It was build log generated by Visual Studio 6.
- Removed `core` pattern since it was probably related to commit
  fd7153b0f3047e6a96344dc3b4ca2632d5acc898 and is today not used.
- Removed ˙*.˙, ˙diff`, and ˙*.tgz` patterns since they don't seem to be
  generated in the current code on the first glance. In case these will be
  one day required to ignore again, they can be simply added back again.
- Removed Emacs specific interlock files pattern `.#*`. The number of
  editors and IDEs specific files is very big. Emacs editors also produce
  some other files such as `#*#` for autosave feature, which were previously
  not ignored. To fully and properly support all additional patterns these
  could be added to .gitignore files. A much more sustainable and better
  practice is to use a global gitignore file on the local system or the
  `.git/info/exclude` per repository basis for these in particular.

Added patterns:
- Added new pattern for `*.obj` standard object files in the Windows
  section. These are generated by Visual Studio.
- Added `/ext/*/run-tests.php` patterns for extensions.
- Reversed patterns for particular tracked `/win32/build/Makefile`, `config.h`
  files and `.patch` files.
- Added patterns for generated dtrace files `/ext/oci8/oci8_dtrace_gen.h`

Other changes:
- All `conftest*` patterns merged into a single one.
- Pattern `*.mem` made more specific where the memory check files get
  generated by `run-tests.php -m`, i.e. `**/tests/**/*.mem`.
- Fixed `/Zend/zend_dtrace_gen.h.bak` `hbak` typo.

[1] http://www.westwind.com/reference/OS-X/invisibles.html
[2] https://en.wikipedia.org/wiki/Sherlock_(software)

6 years agoMerge branch 'PHP-7.3'
Dmitry Stogov [Wed, 24 Oct 2018 12:46:22 +0000 (15:46 +0300)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed reseting of interned strings buffer.

6 years agoFixed reseting of interned strings buffer.
Dmitry Stogov [Wed, 24 Oct 2018 12:45:34 +0000 (15:45 +0300)]
Fixed reseting of interned strings buffer.

6 years agoFixed build in directory different from source
Dmitry Stogov [Wed, 24 Oct 2018 09:45:04 +0000 (12:45 +0300)]
Fixed build in directory different from source

6 years agoMerge branch 'PHP-7.3'
Dmitry Stogov [Wed, 24 Oct 2018 08:50:18 +0000 (11:50 +0300)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Make php_plain_files_wrapper to be writable (workaround for swoole)

6 years agoMake php_plain_files_wrapper to be writable (workaround for swoole)
Dmitry Stogov [Wed, 24 Oct 2018 08:49:44 +0000 (11:49 +0300)]
Make php_plain_files_wrapper to be writable (workaround for swoole)

6 years agobump versions
Joe Watkins [Wed, 24 Oct 2018 06:43:27 +0000 (08:43 +0200)]
bump versions

6 years agoRemove phpdbg parser files generated by bison
Peter Kokot [Sat, 20 Oct 2018 20:06:04 +0000 (22:06 +0200)]
Remove phpdbg parser files generated by bison

The parser files for phpdbg are generated by bison from the *.y file.
Parser files in Zend already follows such approach of these files being
ignored from tracking in the Git repository and they are shipped via
the release packages. This way the end user still don't need to have
bison dependency installed to install PHP.

The genfiles script was refactored to generate the phpdbg parser and lexer
files.

Empty comment in phpdbg parser y template file has been changed to the
YACC compliant /* empty */ instead of custom one.

6 years agoFix conflicts in phpdbg parser
Nikita Popov [Tue, 23 Oct 2018 14:20:20 +0000 (16:20 +0200)]
Fix conflicts in phpdbg parser

6 years agoRefetetch function name on exceptional path to allow better code on fast code path.
Dmitry Stogov [Tue, 23 Oct 2018 14:12:49 +0000 (17:12 +0300)]
Refetetch function name on exceptional path to allow better code on fast code path.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Tue, 23 Oct 2018 12:57:21 +0000 (14:57 +0200)]
Merge branch 'PHP-7.3'

6 years agofix typo in sysvsem.c
Υоаnn B [Mon, 22 Oct 2018 14:26:58 +0000 (16:26 +0200)]
fix typo in sysvsem.c

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Tue, 23 Oct 2018 12:25:22 +0000 (14:25 +0200)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 23 Oct 2018 12:24:29 +0000 (14:24 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #50675
Cameron Porter [Sat, 6 Oct 2018 06:09:22 +0000 (01:09 -0500)]
Fixed bug #50675

SOAP: Stop overwriting the node name when creating an XML node
for an object reference.

6 years agoMerge branch 'PHP-7.3'
Remi Collet [Tue, 23 Oct 2018 10:16:49 +0000 (12:16 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  bump to 7.2.13-dev

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Remi Collet [Tue, 23 Oct 2018 10:16:31 +0000 (12:16 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  bump to 7.2.13-dev
  Updated to version 2018.6 (2018f)
  Updated to version 2018.6 (2018f)