]>
granicus.if.org Git - php/log
Dmitry Stogov [Fri, 3 Nov 2017 18:02:55 +0000 (21:02 +0300)]
Removed workaraouns for inconsistent zvals (REFCOUNTED+INTERNED). They should be fixed now.
Dmitry Stogov [Fri, 3 Nov 2017 18:02:27 +0000 (21:02 +0300)]
Fixed memory leak (Zend/tests/list_003.phpt)
Dmitry Stogov [Fri, 3 Nov 2017 18:00:07 +0000 (21:00 +0300)]
Don't intern strings in-place if their refcoung greater than 1
Joe Watkins [Fri, 3 Nov 2017 17:50:19 +0000 (17:50 +0000)]
Merge branch 'PHP-7.2'
* PHP-7.2:
fix wrong check of definition_phi->constraint.range.max_ssa_var
Joe Watkins [Fri, 3 Nov 2017 17:49:52 +0000 (17:49 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
fix wrong check of definition_phi->constraint.range.max_ssa_var
MITSUNARI Shigeo [Fri, 3 Nov 2017 05:06:27 +0000 (14:06 +0900)]
fix wrong check of definition_phi->constraint.range.max_ssa_var
Dmitry Stogov [Fri, 3 Nov 2017 15:35:03 +0000 (18:35 +0300)]
erealloc() optimization
Dmitry Stogov [Fri, 3 Nov 2017 08:15:20 +0000 (11:15 +0300)]
Added RC_DEBUG exception
Dmitry Stogov [Thu, 2 Nov 2017 21:56:11 +0000 (00:56 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Update libs_version.txt
Dmitry Stogov [Thu, 2 Nov 2017 21:48:04 +0000 (00:48 +0300)]
Disable RC_DEBUG for FPM initialisation
Anatol Belski [Thu, 2 Nov 2017 21:46:57 +0000 (22:46 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update libs_version.txt
Anatol Belski [Thu, 2 Nov 2017 21:46:25 +0000 (22:46 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update libs_version.txt
Anatol Belski [Thu, 2 Nov 2017 21:44:27 +0000 (22:44 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Update libs_version.txt
Anatol Belski [Thu, 2 Nov 2017 21:41:12 +0000 (22:41 +0100)]
Update libs_version.txt
Dmitry Stogov [Thu, 2 Nov 2017 21:34:18 +0000 (00:34 +0300)]
Added RC_DEBUG exception
Dmitry Stogov [Thu, 2 Nov 2017 20:54:24 +0000 (23:54 +0300)]
Added RC_DEBUG exception
Dmitry Stogov [Thu, 2 Nov 2017 20:52:50 +0000 (23:52 +0300)]
Start RC_DEBUG at the end of MINIT and finish in MSHUTDOWN after all worker threads are terminated.
Dmitry Stogov [Thu, 2 Nov 2017 20:29:21 +0000 (23:29 +0300)]
Switch back from "request" interned strings storage to "permanent" in MSHUTDOWN
Dmitry Stogov [Thu, 2 Nov 2017 20:25:34 +0000 (23:25 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Fix #74922 - Try to resolve constants when importing trait properties
Fix ext/soap/tests/bug69137.phpt
Don't dup after fetch_dimension_const
Small browscap cleanup
Dmitry Stogov [Thu, 2 Nov 2017 20:24:40 +0000 (23:24 +0300)]
last_message is always allocated in Zend MM heap
Pedro Magalhães [Wed, 27 Sep 2017 00:31:03 +0000 (01:31 +0100)]
Fix #74922 - Try to resolve constants when importing trait properties
Nikita Popov [Thu, 2 Nov 2017 19:56:48 +0000 (20:56 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Thu, 2 Nov 2017 19:56:35 +0000 (20:56 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Thu, 2 Nov 2017 19:56:25 +0000 (20:56 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 2 Nov 2017 19:55:10 +0000 (20:55 +0100)]
Fix ext/soap/tests/bug69137.phpt
Switch to example.org. Also mark it as an online test.
Nikita Popov [Thu, 2 Nov 2017 18:20:14 +0000 (19:20 +0100)]
Don't dup after fetch_dimension_const
Any duplication that may be necessary must have happened earlier
already. Also I'm not sure what the IS_REF branch was there for
originally, but it does not appear to be relevant anymore.
Nikita Popov [Thu, 2 Nov 2017 12:56:35 +0000 (13:56 +0100)]
Small browscap cleanup
Directly use interned "" and "1" strings.
Dmitry Stogov [Thu, 2 Nov 2017 16:28:34 +0000 (19:28 +0300)]
Use persistent strings for preloaded phar files
Anatol Belski [Thu, 2 Nov 2017 12:34:58 +0000 (13:34 +0100)]
Note to UPGRADING about Spoofchecker::setRestrictionLevel()
Dmitry Stogov [Thu, 2 Nov 2017 11:41:01 +0000 (14:41 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Sync and fix tests for ICU 60.1 compat
Dmitry Stogov [Thu, 2 Nov 2017 11:40:28 +0000 (14:40 +0300)]
Added exceptions for ZEND_RC_DEBUG
Anatol Belski [Thu, 2 Nov 2017 11:39:34 +0000 (12:39 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Sync and fix tests for ICU 60.1 compat
Anatol Belski [Thu, 2 Nov 2017 11:39:04 +0000 (12:39 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Sync and fix tests for ICU 60.1 compat
Anatol Belski [Thu, 2 Nov 2017 11:38:32 +0000 (12:38 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Sync and fix tests for ICU 60.1 compat
Anatol Belski [Thu, 2 Nov 2017 11:37:04 +0000 (12:37 +0100)]
Sync and fix tests for ICU 60.1 compat
Dmitry Stogov [Thu, 2 Nov 2017 11:13:28 +0000 (14:13 +0300)]
Added exceptions for ZEND_RC_DEBUG
Dmitry Stogov [Thu, 2 Nov 2017 11:11:56 +0000 (14:11 +0300)]
Use interned strins for output handler aliases and conflict checkers names.
Dmitry Stogov [Thu, 2 Nov 2017 11:10:40 +0000 (14:10 +0300)]
Use interned strings for browscap files parsed at MINIT
Dmitry Stogov [Thu, 2 Nov 2017 11:09:06 +0000 (14:09 +0300)]
Overlad functions once in MINIT (instead of on each requestr in RINIT)
Anatol Belski [Thu, 2 Nov 2017 08:24:46 +0000 (09:24 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Yet one /nologo
Anatol Belski [Thu, 2 Nov 2017 08:24:22 +0000 (09:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Yet one /nologo
Anatol Belski [Thu, 2 Nov 2017 08:22:25 +0000 (09:22 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Yet one /nologo
Anatol Belski [Thu, 2 Nov 2017 08:21:22 +0000 (09:21 +0100)]
Yet one /nologo
Xinchen Hui [Thu, 2 Nov 2017 04:13:35 +0000 (12:13 +0800)]
RC manipulation cleanup 2
Xinchen Hui [Thu, 2 Nov 2017 04:12:40 +0000 (12:12 +0800)]
Revert "Use zend_get_executed_filename_ex"
This reverts commit
2a37625c20032d54af55a88d54d1a3a1ecc068d1 .
Xinchen Hui [Thu, 2 Nov 2017 02:40:45 +0000 (10:40 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
Made "result", "statement" and "last_message" to always use Zend MM heap. (even for persistent connections these entities don't relive request boundary)
Fixed memory leaks
Use interned strings for "magic" property of internal classes. (not copyied into SHM)
Reverted incomplete fix and too strict asserts.
Mark persistent connection related data as "thread-local".
Persistent resources are "thread-local". Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
PCRE cache is "thread-local"
Allow reference-counting on "thread-local" persistent zvals
Dmitry Stogov [Thu, 2 Nov 2017 00:27:25 +0000 (03:27 +0300)]
Made "result", "statement" and "last_message" to always use Zend MM heap. (even for persistent connections these entities don't relive request boundary)
Dmitry Stogov [Thu, 2 Nov 2017 00:04:27 +0000 (03:04 +0300)]
Fixed memory leaks
Dmitry Stogov [Wed, 1 Nov 2017 16:04:54 +0000 (19:04 +0300)]
Use interned strings for "magic" property of internal classes. (not copyied into SHM)
Dmitry Stogov [Wed, 1 Nov 2017 13:18:13 +0000 (16:18 +0300)]
Reverted incomplete fix and too strict asserts.
Dmitry Stogov [Wed, 1 Nov 2017 12:21:21 +0000 (15:21 +0300)]
Mark persistent connection related data as "thread-local".
Dmitry Stogov [Wed, 1 Nov 2017 12:19:31 +0000 (15:19 +0300)]
Persistent resources are "thread-local".
Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
Dmitry Stogov [Wed, 1 Nov 2017 12:13:49 +0000 (15:13 +0300)]
PCRE cache is "thread-local"
Dmitry Stogov [Wed, 1 Nov 2017 12:11:52 +0000 (15:11 +0300)]
Allow reference-counting on "thread-local" persistent zvals
Xinchen Hui [Wed, 1 Nov 2017 10:42:12 +0000 (18:42 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
Fixed string interning during constants substitution
Dmitry Stogov [Wed, 1 Nov 2017 07:56:37 +0000 (10:56 +0300)]
Fixed string interning during constants substitution
Xinchen Hui [Wed, 1 Nov 2017 07:41:41 +0000 (15:41 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
Revert "Fixed string interning during constants substitution"
Fixed string interning during constants substitution
Xinchen Hui [Wed, 1 Nov 2017 07:30:41 +0000 (15:30 +0800)]
Use zend_get_executed_filename_ex
Dmitry Stogov [Wed, 1 Nov 2017 07:39:47 +0000 (10:39 +0300)]
Revert "Fixed string interning during constants substitution"
This reverts commit
e0924c52fc7c69b483b5416c609ce7f008584845 .
Dmitry Stogov [Wed, 1 Nov 2017 07:34:39 +0000 (10:34 +0300)]
Fixed string interning during constants substitution
Xinchen Hui [Wed, 1 Nov 2017 02:25:10 +0000 (10:25 +0800)]
RC manipulation cleanup
Dmitry Stogov [Tue, 31 Oct 2017 23:40:39 +0000 (02:40 +0300)]
Use interned strings for hash algorithm names (not copyied into SHM)
Dmitry Stogov [Tue, 31 Oct 2017 23:39:09 +0000 (02:39 +0300)]
Use interned strings for stream transports
Dmitry Stogov [Tue, 31 Oct 2017 23:38:26 +0000 (02:38 +0300)]
Use Zend MM heap
Dmitry Stogov [Tue, 31 Oct 2017 22:31:47 +0000 (01:31 +0300)]
Avoid reference counting (the value may be a persistent string)
Dmitry Stogov [Tue, 31 Oct 2017 22:10:21 +0000 (01:10 +0300)]
Fixed few inconsistent ZVALs in AST produced by compiler (REFCOUNTED and INTERNED strings)
fandrieu [Tue, 31 Oct 2017 21:33:10 +0000 (17:33 -0400)]
Fix #74243: allow locales.conf to drive datetime format
Add a driver attribute, PDO::DBLIB_ATTR_DATETIME_CONVERT, to control.
Adam Baratz [Tue, 31 Oct 2017 20:43:26 +0000 (16:43 -0400)]
Use size_t instead of int, use more specific format string
Dmitry Stogov [Tue, 31 Oct 2017 15:51:35 +0000 (18:51 +0300)]
Use interned strings for persistent stream wrappers and filters
Nikita Popov [Tue, 31 Oct 2017 14:20:34 +0000 (15:20 +0100)]
Use known strings for reflection properties
Sammy Kaye Powers [Mon, 30 Oct 2017 20:06:33 +0000 (15:06 -0500)]
Remove decade-old commented-out code
Dmitry Stogov [Tue, 31 Oct 2017 12:41:51 +0000 (15:41 +0300)]
Change checks that should be always true into ZEND_ASSERT() (some edge cases may be trapped here).
Dmitry Stogov [Tue, 31 Oct 2017 12:39:39 +0000 (15:39 +0300)]
Workaroud for inconsistent ZVALs in AST produced by compiler (strings may be REFCOUNTED and INTERNED at the same time).
Dmitry Stogov [Tue, 31 Oct 2017 12:36:55 +0000 (15:36 +0300)]
Intern file names and class constants in first place (they may be interned later during constant substitution)
Dmitry Stogov [Tue, 31 Oct 2017 12:35:44 +0000 (15:35 +0300)]
Always calculate calculate string hash value on attempt of interning
Dmitry Stogov [Tue, 31 Oct 2017 12:35:14 +0000 (15:35 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Fix year
Add /nologo
These functions are always available, exif can't be cross version compiled anyway
Anatol Belski [Tue, 31 Oct 2017 09:38:54 +0000 (10:38 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix year
Add /nologo
Anatol Belski [Tue, 31 Oct 2017 09:38:18 +0000 (10:38 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix year
Add /nologo
Anatol Belski [Tue, 31 Oct 2017 09:35:59 +0000 (10:35 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix year
Add /nologo
Anatol Belski [Tue, 31 Oct 2017 09:25:15 +0000 (10:25 +0100)]
Fix year
Anatol Belski [Tue, 31 Oct 2017 09:24:34 +0000 (10:24 +0100)]
Add /nologo
Dmitry Stogov [Tue, 31 Oct 2017 08:07:42 +0000 (11:07 +0300)]
single check is enough
Kalle Sommer Nielsen [Tue, 31 Oct 2017 07:50:30 +0000 (08:50 +0100)]
These functions are always available, exif can't be cross version compiled anyway
Dmitry Stogov [Tue, 31 Oct 2017 07:43:10 +0000 (10:43 +0300)]
Added zend_hash_add_new_mem/zend_hash_str_add_new_mem. Use them to add new elements into PCRE cache (we checked the existance before).
Dmitry Stogov [Tue, 31 Oct 2017 07:35:28 +0000 (10:35 +0300)]
Improved zend_hash_str_add/update functions
Dmitry Stogov [Mon, 30 Oct 2017 23:16:46 +0000 (02:16 +0300)]
Use internet strings for EG(ini_entries)
Dmitry Stogov [Mon, 30 Oct 2017 22:20:38 +0000 (01:20 +0300)]
Nikita Popov [Mon, 30 Oct 2017 22:05:53 +0000 (23:05 +0100)]
Fix gc_029_zts.phpt test
ZTS and NTS now behave the same here, so reduce this back to a
single test.
Nikita Popov [Mon, 30 Oct 2017 21:48:20 +0000 (22:48 +0100)]
Remove some unnecessary duplications
Nikita Popov [Mon, 30 Oct 2017 21:00:42 +0000 (22:00 +0100)]
Remove zend_get_parameters(_ex) APIs
zend_get_parameters_ex() has been marked as deprecated for a long
time already. What zend_get_paramers() does is even more
questionable under PHP7. Both functions are obsoleted by the ZPP
mechanism, so I'm dropping them.
Dmitry Stogov [Mon, 30 Oct 2017 20:13:10 +0000 (23:13 +0300)]
Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.
Christoph M. Becker [Mon, 30 Oct 2017 20:04:59 +0000 (21:04 +0100)]
Implemented request #62055 (Make run-tests.php support --CGI-- sections)
Not regarding the CGI section might even been seen as a bug, and since
server-tests.php appears to broken, anway[1][2], we implement it for
run-tests.php in the way as described[3] for server-tests.php, i.e.
respective tests are skipped if no CGI executable is found.
[1] <https://github.com/php/php-src/pull/222#commitcomment-
2064387 >
[2] <https://github.com/php/php-src/pull/1811#issuecomment-
256677997 >
[3] <https://qa.php.net/phpt_details.php#cgi_section>
Anatol Belski [Mon, 30 Oct 2017 18:48:21 +0000 (19:48 +0100)]
Rethink the version checks
As the actual behavior change happens with ICU >= 58, the new
functionality should stay same in the lower versions. This comply also
with lower PHP versions so far.
Anatol Belski [Mon, 30 Oct 2017 17:28:39 +0000 (18:28 +0100)]
Fix typo
Anatol Belski [Mon, 30 Oct 2017 17:21:14 +0000 (18:21 +0100)]
Proper ICU version check for restriction levels availability
Anatol Belski [Mon, 30 Oct 2017 17:17:20 +0000 (18:17 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Add missing ICU version check
Anatol Belski [Mon, 30 Oct 2017 17:16:47 +0000 (18:16 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add missing ICU version check
Anatol Belski [Mon, 30 Oct 2017 17:16:03 +0000 (18:16 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Add missing ICU version check
Anatol Belski [Mon, 30 Oct 2017 17:15:26 +0000 (18:15 +0100)]
Add missing ICU version check
Jakub Zelenka [Mon, 30 Oct 2017 16:44:33 +0000 (16:44 +0000)]
Merge branch 'PHP-7.2'