1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Commit Graph

106357 Commits

Author SHA1 Message Date
Anatol Belski e239c5e19b Merge branch 'PHP-7.2'
* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS
2018-01-22 19:15:53 +01:00
Anatol Belski 4626c28e9c [ci skip] Update NEWS 2018-01-22 19:15:30 +01:00
Anatol Belski b8f14008eb Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  [ci skip] Update NEWS
2018-01-22 19:15:02 +01:00
Anatol Belski 594a4da3e5 [ci skip] Update NEWS 2018-01-22 19:14:24 +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 a89eb2f101 Removed commented unoptimized code 2018-01-22 16:14:56 +03: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 6fb5568b2d Merge HashTable.u.v.consistency into HashTable.u.v.flags 2018-01-22 15:32:34 +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
David Carlier 7f51257c08 NetBSD has its own unoptimizable memset version since 2013
checking presence of the function if older versions of NetBSD
2018-01-19 18:24:36 +01:00
Anatol Belski 957b91b739 Implement SSE2 based ASCII to UTF-16 conversion
This also eliminates the INT_MAX length restriction.
2018-01-19 18:00:02 +01: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
Dmitry Stogov 1ee94f56c4 Removed IS_TYPE_COPYABLE flag from IS_STRING zvals. 2018-01-18 12:41:27 +03:00
Dmitry Stogov 0a336f9421 Moved IS_CONSTANT_VISITED_MARK, used for protection from recursive self-referencing class constants, from zval.u1.v.type_flags into zval.u2.access_flags. 2018-01-18 11:36:04 +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 2dc1cd1154 Updated NEWS 2018-01-18 10:53:58 +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 1613b6a06b Expand SEPARATE_STRING() 2018-01-18 02:30:07 +03:00
Dmitry Stogov a31f251507 Removed useless SEPARATE_STRING() (zend_string_extend() performs separation anyway) 2018-01-18 02:28:18 +03:00
Dmitry Stogov f8885523bf Clenaup SEPARATE_ZVAL...() macros (the behavior is unchanged) 2018-01-18 02:27:11 +03:00
Anatol Belski 8d4b57f62c Add missing closing fold 2018-01-17 20:48:13 +01:00
Dmitry Stogov 25a44cb99e Eliminate duplication, increment_string() performs it anyway. 2018-01-17 20:09:28 +03:00
Dmitry Stogov a87a2f464b Send by reference without duplication 2018-01-17 18:50:18 +03:00
Dmitry Stogov de79001bef ZVAL_COPY_OR_DUP() instead of ZVAL_DUP() 2018-01-17 17:58:42 +03:00
Dmitry Stogov a22f8ac1a9 More effecient array duplication 2018-01-17 17:57:59 +03:00
Dmitry Stogov dd51cb1e34 More effecient array duplication 2018-01-17 17:56:04 +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 b19d81e0da Use zval_copy_ctor_func() instead of _zval_copy_ctor_func(). 2018-01-17 17:46:57 +03:00
Anatol Belski e9eff0a425 Merge branch 'PHP-7.2'
* PHP-7.2:
  Add switches for Spectre variant 1 mitigation
2018-01-17 14:48:06 +01:00
Anatol Belski f0aa379dc1 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Add switches for Spectre variant 1 mitigation
2018-01-17 14:47:39 +01:00
Anatol Belski 043d53c789 Add switches for Spectre variant 1 mitigation 2018-01-17 14:33:08 +01:00
Dmitry Stogov f7f790fcc9 Scalar types don't have reference counter 2018-01-17 16:17:43 +03:00
Dmitry Stogov 20866891bd Eliminate duplication 2018-01-17 15:52:52 +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