Dmitry Stogov
ab8094c666
Pack zend_constant.flags and zend_constant.module_number into reserved space inside zend_constant.value.
2018-07-26 12:58:07 +03:00
Dmitry Stogov
a29a800cb0
Regenerate scanners using re2c version >= 1.0.0 (newer version, at least, produce less code)
2018-07-25 12:49:03 +03:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Kalle Sommer Nielsen
08f10ef47a
Remove some dead code
...
sapi/*: Remove Windows code from FPM and LiteSpeed, as we don't support these SAPIs on Windows anyway
ext/com_dotnet: Remove non Windows code, as ext/com_dotnet is only supported on Windows
2018-07-23 15:26:39 +02:00
Dmitry Stogov
ebd1f5af3e
API cleanup.
...
Removed useless filename and lineno arguments, used in DEBUG build.
The patch doesn't break source compatibility of public API (only binary compatibility).
2018-07-23 15:24:07 +03:00
Jakub Zelenka
26cd84d19f
Return bool from zlog_stream_set_msg_{prefix,suffix}
2018-07-22 17:40:38 +01:00
Nikita Popov
ee561ff2a2
Fix off-by-one allocation
...
The return value of this function is pretty meaningless, but
leaving it alone for now.
2018-07-20 17:52:56 +02:00
Nikita Popov
6e2c54d3e7
Fix incorrect length calculation
...
sizeof char pointer != sizeof string literal.
2018-07-20 17:47:53 +02:00
Gabriel Caruso
6ac48425a8
Removed and fixed unused variables
2018-07-19 22:51:37 -03:00
Dmitry Stogov
ad2719cf9c
Fixed test
2018-07-09 12:49:19 +03:00
Jakub Zelenka
3e5afbf0a8
Refactore FPM logging
2018-07-07 13:01:44 +01:00
Jakub Zelenka
f86f3edeef
Migrate fpm_get_status test
2018-07-07 12:48:16 +01:00
Till Backhaus
140def4ac7
Implement fpm_get_status
2018-07-07 12:33:11 +01:00
Yousif Masoud
9a21aa77af
fixes typo in daemonization DEBUG message after fork: acknoledge -> acknowledge
2018-07-06 11:25:08 +02:00
Dmitry Stogov
169d454593
Use zval_ptr_dtor() imstead of zval_dtor()
2018-07-05 17:55:54 +03:00
Dmitry Stogov
b6fb584505
Replace zval_dtor() with specialized destructors
2018-07-05 13:32:39 +03:00
Remi Collet
0ea4013f10
Fixed bug #62596 add getallheaders (apache_request_headers) missing function in FPM add sapi_add_request_header in public API (was add_request_header) fix arginfo for fastcgi_finish_request fucntion
2018-07-05 06:30:58 +02:00
Dmitry Stogov
4a475a4976
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
...
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
2018-07-04 19:22:24 +03:00
Dmitry Stogov
091d77f28a
Avoid magic method hash lookups
2018-07-02 17:03:50 +03:00
Philip Prindeville
2475337bd8
Add syslog's ident and facility parameters to config
...
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com >
2018-07-01 18:08:07 +01:00
Dmitry Stogov
dd932f7e63
Changed php_add[c]slashes prototypes (removed should_free argument)
2018-06-29 00:19:16 +03:00
Dmitry Stogov
716bbd3480
Remove duplicated code (keep destroy_zend_function() for compatibility)
2018-06-27 14:54:42 +03:00
Christoph M. Becker
0778359223
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix arginfo wrt. optional/required parameters
2018-06-25 11:57:25 +02:00
Christoph M. Becker
2458dab466
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix arginfo wrt. optional/required parameters
2018-06-25 11:54:45 +02:00
Christoph M. Becker
6b5597f7d8
Fix arginfo wrt. optional/required parameters
...
All parameters of phpdbg_color(), phpdbg_exec() and phpdbg_prompt() are
required. We mark them as such.
2018-06-25 11:52:17 +02:00
Christoph M. Becker
d169d06d30
Remove useless PHPDBG_* constants
...
The sole purpose of `PHPDBG_FILE`, `PHPDBG_METHOD`, `PHPDBG_LINENO` and
`PHPDBG_FUNC` has been to be passed as first argument to `phpdbg_break`.
However, this functions is replaced as of PHP 5.6.3 by
`phpdbg_break_file`, `phpdbg_break_method` and 'phpdbg_break_func`,
respectively. Therefore, we're finally removing the useless constants.
2018-06-25 11:42:54 +02:00
Nikita Popov
8e2f0824f7
Merge branch 'PHP-7.2'
2018-06-20 12:32:20 +02:00
Nikita Popov
44f4d2be01
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-20 12:30:19 +02:00
Nikita Popov
69dee5c732
Fixed bug #73342
...
Directly listen on socket, instead of duping it to STDIN and
listening on that.
2018-06-20 12:28:15 +02:00
Stanislav Malyshev
3346659f2a
Merge branch 'pull-request/3274'
...
* pull-request/3274:
Added const modifier
76363: added jsm extension to list of mime types
2018-06-19 16:50:16 -07:00
Robert Lu
ecc1a7c582
Fix bug #44217 : Output after stdout/stderr closed cause immediate exit with status 0
...
We exit with status 255 instead.
2018-06-19 12:15:33 +02:00
Peter Kokot
be49d61b19
Remove old SVN keywords substitutions
...
When the PHP source code was versioned in Subversion, there was
possible to substitute certain keywords such as $Id$ with revision
number, last change time and author name. Such approach is not used
in Git so this patch removes these outdated artifacts from source
code files.
2018-06-16 13:04:30 +02:00
Jakub Zelenka
1650e4669d
Merge branch 'PHP-7.2'
2018-06-12 18:11:20 +01:00
Jakub Zelenka
dd622f9ca9
Port FPM test 023 and 024 to the new FPM testing
2018-06-12 18:09:27 +01:00
Jakub Zelenka
b2460c9ec2
Merge branch 'PHP-7.2'
2018-06-12 18:04:30 +01:00
Jakub Zelenka
bc58ba750f
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-12 18:03:01 +01:00
Jakub Zelenka
ea592e6b6c
Rewrite FPM tests
2018-06-12 17:59:28 +01:00
pmukhin
57e72dc198
Added const modifier
2018-06-06 21:34:18 +07:00
pmukhin
48c954ca46
76363: added jsm extension to list of mime types
2018-06-06 21:04:42 +07: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
a551d75942
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix cli server test fails after recent AppVeyor image update
2018-05-18 13:41:14 +02:00
Anatol Belski
a8422edced
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix cli server test fails after recent AppVeyor image update
2018-05-18 13:40:42 +02:00
Anatol Belski
ee0ca6470d
Fix cli server test fails after recent AppVeyor image update
2018-05-18 13:38:53 +02:00
Anatol Belski
038a2e4756
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #76333 PHP built-in server does not find files if root path contains special characters
2018-05-13 18:43:12 +02:00
Anatol Belski
398204ace9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76333 PHP built-in server does not find files if root path contains special characters
2018-05-13 18:42:36 +02:00
Anatol Belski
ad787626a4
Fixed bug #76333 PHP built-in server does not find files if root path contains special characters
2018-05-13 18:40:32 +02:00
Thomas Punt
31914a827e
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Allocate default ini values into persistent memory
2018-04-26 21:09:34 +01:00
Thomas Punt
972c4869a7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Allocate default ini values into persistent memory
2018-04-26 21:09:08 +01:00
Thomas Punt
2513da4b4c
Allocate default ini values into persistent memory
2018-04-26 21:08:19 +01:00
Thomas Punt
d08f1c5f5b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix memory leak when phpdbg fails to start up
2018-04-26 16:44:02 +01:00