1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Commit Graph

47641 Commits

Author SHA1 Message Date
Anatol Belski
9edf2e9f96 Show the tidyp name, if it was used 2018-01-25 18:55:54 +01:00
Anatol Belski
b341556ab5 Add missing define after e7da9685 2018-01-25 18:54:37 +01:00
David Carlier
e7da9685cf Tidy extension update to be able to either use tidy or tidyp at configure time 2018-01-25 18:28:55 +01:00
Nat Zimmermann
2d1ec6f4b5 Add tests for json_decode with depth below 0 2018-01-24 21:23:24 +01:00
Nikita Popov
2687be6589 Merge branch 'PHP-7.2' 2018-01-24 21:22:50 +01:00
Michael Orlitzky
3fe9e10a1b ext/session: catch incompatible configure flags earlier.
The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.

Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.

PHP-bug: 14269
2018-01-24 21:22:15 +01:00
Anatol Belski
92f9fde23a Macrify the common operation 2018-01-24 18:35:40 +01:00
Derick Rethans
4aa864c4ab Updated to version 2018.3 (2018c) 2018-01-24 13:57:08 +00:00
Derick Rethans
6dbe046154 Updated to version 2018.3 (2018c) 2018-01-24 13:57:07 +00:00
Anatol Belski
7e2a9936d3 Move useful macro into zend_portability.h 2018-01-24 10:14:28 +01:00
Anatol Belski
a6e86f7a3f Implement intrinsic function resolving per MINIT 2018-01-24 09:33:32 +01:00
Christoph M. Becker
5b4b4d33b2 Update to SQLite 3.22.0 2018-01-22 23:42:36 +01:00
Anatol Belski
23287a0a81 Merge branch 'PHP-7.2'
* PHP-7.2:
  Fixed bug #73725 Unable to retrieve value of varchar(max) type
2018-01-22 17:05:03 +01:00
Anatol Belski
e403e122cd Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fixed bug #73725 Unable to retrieve value of varchar(max) type
2018-01-22 17:03:48 +01:00
Anatol Belski
2384ade53c Fixed bug #73725 Unable to retrieve value of varchar(max) type 2018-01-22 17:02:54 +01:00
Dmitry Stogov
a561d6a6ee Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS) 2018-01-22 16:10:33 +03:00
Dmitry Stogov
b3e22da745 Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS) 2018-01-22 15:57:00 +03:00
Dmitry Stogov
6634d5e313 Use HT_FLAGS() macro 2018-01-22 14:58:16 +03:00
Dmitry Stogov
ebf900a9eb Introduce mcros to access HashTable iterators counter 2018-01-22 14:14:35 +03:00
Dmitry Stogov
c75346dcb5 ws 2018-01-22 13:37:48 +03:00
Dmitry Stogov
9cbb521094 Access HashTable.u.flags through HT_FLAGS() macro. 2018-01-22 13:36:15 +03:00
Dmitry Stogov
742d5a01ed Get rid of IS_TYPE_COPYABLE. 2018-01-19 17:47:26 +03:00
Dmitry Stogov
465a8cfbad Use reference-counting instead of duplication 2018-01-19 13:56:31 +03:00
Dmitry Stogov
41ef2952c8 Only persistent referencecounted strings should be duplicated. 2018-01-19 13:41:35 +03:00
Dmitry Stogov
d8f916124b Usee reference-counting instead of duplication 2018-01-19 13:19:49 +03:00
Dmitry Stogov
5f349f3ab8 Avoid useless duplication 2018-01-19 13:14:15 +03:00
Dmitry Stogov
c2152a2662 Move invariant code out of loop 2018-01-19 01:29:37 +03:00
Dmitry Stogov
bf7176c70f Use reference-counting instead of duplication and separation, if really necessary. 2018-01-19 01:03:24 +03:00
Xinchen Hui
1e4deadc5b Merge branch 'PHP-7.2'
* PHP-7.2:
  Updated NEWS
  Fixed #75838 (Memory leak in pg_escape_bytea())
2018-01-18 10:54:16 +08:00
Xinchen Hui
6184301212 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fixed #75838 (Memory leak in pg_escape_bytea())
2018-01-18 10:53:39 +08:00
Xinchen Hui
fb205020ce Fixed #75838 (Memory leak in pg_escape_bytea()) 2018-01-18 10:53:23 +08:00
Dmitry Stogov
a31f251507 Removed useless SEPARATE_STRING() (zend_string_extend() performs separation anyway) 2018-01-18 02:28:18 +03:00
Anatol Belski
8d4b57f62c Add missing closing fold 2018-01-17 20:48:13 +01:00
Dmitry Stogov
a22f8ac1a9 More effecient array duplication 2018-01-17 17:57:59 +03:00
Dmitry Stogov
ae620a06cd More effecient conversion 2018-01-17 17:51:18 +03:00
Dmitry Stogov
515b0508e0 Use ZVAL_COPY() instead og ZVAL_DUP(), because fault is an object 2018-01-17 17:48:36 +03:00
Dmitry Stogov
f7f790fcc9 Scalar types don't have reference counter 2018-01-17 16:17:43 +03:00
Dmitry Stogov
c5c9a69447 Use ZVAL_DUP() instead of zval_copy_ctor() 2018-01-17 14:59:15 +03:00
Dmitry Stogov
eb6e574b29 Resource is not copyable (just refcounted) 2018-01-17 14:57:42 +03:00
alexanderholman
a01de10b07 Fixed bug #74719
Allow stream context arguments for fopen, rename, unlink, mkdir
and rmdir to be null.
2018-01-17 12:46:59 +01:00
Dmitry Stogov
af8de0aa95 Simplified conversion 2018-01-17 14:19:13 +03:00
Dmitry Stogov
3896a0332f Eliminate separations 2018-01-17 14:12:06 +03:00
Dmitry Stogov
48b4e01680 Eliminate useless separations 2018-01-17 14:11:40 +03:00
Xinchen Hui
8ec8d7f926 Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
  Eliminate useless separations
  Avoid separation and simlifyed conversion
  Eliminate useless separation
  Eliminate useless separation
  Eliminate useless separations
  A cheaper way to clone reference value.
2018-01-17 18:04:07 +08:00
Dmitry Stogov
67e47c3ee3 Eliminate useless separations 2018-01-17 12:45:23 +03:00
Dmitry Stogov
19bf64cd61 Avoid separation and simlifyed conversion 2018-01-17 12:37:42 +03:00
Xinchen Hui
5618a5cfd9 Don't use ifunc if compiling with __SSE4_2__ deinfed 2018-01-17 17:31:10 +08:00
Dmitry Stogov
14d3a627c9 Eliminate useless separation 2018-01-17 12:25:49 +03:00
Dmitry Stogov
b2c060a291 Eliminate useless separation 2018-01-17 12:09:38 +03:00
Dmitry Stogov
20b13fda09 Eliminate useless separations 2018-01-17 11:59:01 +03:00