Xinchen Hui
9d1e9b73c5
rename ref_dtor_func to rc_dtor_func
2018-07-06 19:15:26 +08:00
Xinchen Hui
f9297387f4
Rename zval_dtor_func and ref_dotr_func
2018-07-06 18:47:30 +08:00
Xinchen Hui
e3355ac5ec
Revert "Rename _zval_dtor_func to _ref_dtor_func"
...
This reverts commit a362ae6b12 .
2018-07-06 18:37:45 +08:00
Xinchen Hui
a362ae6b12
Rename _zval_dtor_func to _ref_dtor_func
2018-07-06 18:32:27 +08:00
Dmitry Stogov
43d5a3665d
It's safer to use zval_ptr_dtor() for iterator keys.
2018-07-05 16:56:52 +03:00
Dmitry Stogov
83f6f8563c
Use zval_ptr_dtor() instead of legacy zval_dtor(), to destroy unused values returned from PHP functions (they may be circular data structures).
2018-07-05 14:09:47 +03:00
Dmitry Stogov
b6fb584505
Replace zval_dtor() with specialized destructors
2018-07-05 13:32:39 +03:00
Dmitry Stogov
b6cc4d2009
Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)
2018-07-05 11:54:26 +03:00
Dmitry Stogov
6e77a60a75
Removed INIT_OVERLOADED_CLASS... macros
2018-06-29 14:41:35 +03:00
Dmitry Stogov
0b90cf85a6
Removed "dead" code (zend_hash_update() never fails)
2018-06-01 11:58:57 +03:00
Dmitry Stogov
d90c6f2443
Removed useless zval_ptr_dtor()
2018-05-29 17:58:06 +03:00
Dmitry Stogov
5eb1f92f31
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
2018-05-28 16:27:12 +03:00
Anatol Belski
5a485b1f43
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Reduce var scope
2018-03-14 23:11:02 +01:00
Anatol Belski
84881c654e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Reduce var scope
2018-03-14 23:10:24 +01:00
Anatol Belski
efd0e7222b
Reduce var scope
2018-03-14 22:59:54 +01:00
Anatol Belski
ddceba9f13
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix stack use after scope
2018-03-14 22:23:38 +01:00
Anatol Belski
783778b9d3
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix stack use after scope
2018-03-14 22:23:04 +01:00
Anatol Belski
7bcd55c264
Fix stack use after scope
2018-03-14 22:21:43 +01:00
Gabriel Caruso
57896cf515
Make some skipped tests run, and fix some skip messages
2018-03-11 16:38:00 +01:00
Christoph M. Becker
ef255c9f0f
Revert "[ci skip] Add missing return types to protos"
...
This reverts commit a2c7c46d5e .
Since apparently there have been some mistakes in this commit, and it's
not clear yet how to solve them, we're reverting for now.
2018-02-27 17:40:03 +01:00
Gabriel Caruso
5f54f48024
[ci skip] Remove space between function name and open parentheses
2018-02-24 11:50:39 +01:00
Gabriel Caruso
a2c7c46d5e
[ci skip] Add missing return types to protos
2018-02-24 11:45:17 +01:00
Gabriel Caruso
b895690dfa
remove support for string|unicode in tests
2018-02-22 08:11:30 +01:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Gabriel Caruso
21e3b0c70c
Remove trailing whitespace in inc files
2018-02-10 19:20:23 +01:00
Joe
47b90e910b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixes bug #75871 Use pkg-config for libxml2 if available
2018-02-08 10:51:47 +01:00
Joe
f9a16d492e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixes bug #75871 Use pkg-config for libxml2 if available
2018-02-08 10:51:07 +01:00
Pedro Magalhães
5673c641dc
Fixes bug #75871 Use pkg-config for libxml2 if available
2018-02-08 10:50:22 +01:00
Gabriel Caruso
c6c9e71a5b
Add missing SKIPIF sections
2018-02-03 13:54:34 +01: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
c5c9a69447
Use ZVAL_DUP() instead of zval_copy_ctor()
2018-01-17 14:59:15 +03:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Xinchen Hui
a76eeea736
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Happy new year (Update copyright to 2018)
Conflicts:
ext/phar/LICENSE
2018-01-03 16:02:15 +08:00
Xinchen Hui
0e62639d28
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Happy new year (Update copyright to 2018)
2018-01-03 16:00:34 +08:00
Lior Kaplan
fbfdd1e1c4
Happy new year (Update copyright to 2018)
2018-01-02 23:42:29 +02:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Nikita Popov
d93de12c3d
Merge branch 'PHP-7.2'
2018-01-01 21:30:44 +01:00
Nikita Popov
4422f86fde
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-01 21:30:30 +01:00
Nikita Popov
d534d59bd8
Fixed bug #75502
...
The string keys were not duplicated into persistent memory in this
case.
2018-01-01 21:29:24 +01:00
Dmitry Stogov
2b9cc5238e
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed reference-counting
2017-12-28 11:20:52 +03:00
Dmitry Stogov
4b5e182d61
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed reference-counting
2017-12-28 11:20:43 +03:00
Dmitry Stogov
7c96e974d9
Fixed reference-counting
2017-12-28 11:19:52 +03:00
Nikita Popov
3237336985
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-22 17:50:04 +01:00
Anton Artamonov
0246373788
Fixed bug #70469
...
Don't generate an E_ERROR if we've already thrown an exception.
This interacts badly with error_get_last() checks.
2017-12-22 17:47:54 +01:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Peter Kokot
2783b1c823
Remove outdated TODO files
...
Some extensions included TODO files that has been present for several
years in the repository tree without changes. This included:
- ext/phar
- ext/intl
- ext/zip
- ext/soap
- ext/pdo
- ext/spl
- ext/dom
- ext/gmp
- ext/xmlwriter
- ext/xmlreader
ext/phar feature request has been created instead, and for others it
would be better to use wiki and RFC workflow instead based on current
feature requests and further PHP development requirements.
[ci skip]
2017-12-09 19:18:58 +01:00
Dmitry Stogov
6a9d2b2190
Cleanup type conversion
2017-12-07 19:24:55 +03:00
Dmitry Stogov
084c17fe0b
Use zend_string_tolower() where it's possible (to avoid reallocations).
...
Allow zend_string_tolower_ex() to create parsistent strings
2017-11-30 01:13:39 +03:00