]>
granicus.if.org Git - php/log
Nikita Popov [Wed, 30 Dec 2015 22:36:03 +0000 (23:36 +0100)]
Mark uses of scope functions in namespaces as TOO_DYNAMIC
Of course they are not necessarily, but it's very likely and we have
to be conservative anyway.
Also use zend_string_equals_literal().
Xinchen Hui [Wed, 30 Dec 2015 13:10:21 +0000 (05:10 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Wed, 30 Dec 2015 13:10:05 +0000 (05:10 -0800)]
This should be better
Xinchen Hui [Wed, 30 Dec 2015 13:04:36 +0000 (05:04 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Wed, 30 Dec 2015 13:04:21 +0000 (05:04 -0800)]
Fixed bug #71245 (file_get_contents() ignores "header" context option if it's a reference)
Nikita Popov [Tue, 29 Dec 2015 10:16:08 +0000 (11:16 +0100)]
Introduce BIND_LEXICAL
This opcodes inserts a local CV into the closure static variable
table. This replaces the previous mechanism of having static
variables marked as LEXICAL, which perform a symtable lookup
during copying.
This means a) functions which contain closures no longer have to
rebuild their symtable (better performance) and b) we can now track
used variables in SSA.
Nikita Popov [Tue, 29 Dec 2015 10:20:44 +0000 (11:20 +0100)]
Forbid use() of auto-globals
We don't correctly support it, it doesn't make sense and it's also
forbidden for parameters.
Xinchen Hui [Tue, 29 Dec 2015 07:49:52 +0000 (15:49 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed info while setting opcache.file_cache_only
Drop extra line
Add CVE for #71105 (PHP 7.0.1)
Xinchen Hui [Tue, 29 Dec 2015 07:49:10 +0000 (15:49 +0800)]
Fixed info while setting opcache.file_cache_only
Lior Kaplan [Sun, 27 Dec 2015 18:18:23 +0000 (20:18 +0200)]
Drop extra line
Lior Kaplan [Sat, 26 Dec 2015 18:17:19 +0000 (20:17 +0200)]
Add CVE for #71105 (PHP 7.0.1)
Xinchen Hui [Sun, 27 Dec 2015 06:56:27 +0000 (22:56 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sun, 27 Dec 2015 06:54:39 +0000 (22:54 -0800)]
Fixed bug #71225 (curl_setopt() fails to set CURLOPT_POSTFIELDS with reference to CURLFile)
Andrea Faulds [Sun, 27 Dec 2015 01:03:21 +0000 (01:03 +0000)]
Merge branch 'PHP-7.0'
Andrea Faulds [Sun, 27 Dec 2015 01:03:03 +0000 (01:03 +0000)]
Hatch elePHPant
Nikita Popov [Sat, 26 Dec 2015 22:43:33 +0000 (23:43 +0100)]
Use ZEND_HASH_FOREACH
Nikita Popov [Sat, 26 Dec 2015 22:06:56 +0000 (23:06 +0100)]
Don't reuse SSA var in UNSET_VAR
Instead use the SSA var that UNSET_VAR actually defines. Otherwise
we get issues trying to DCE unsets.
Xinchen Hui [Sat, 26 Dec 2015 05:31:57 +0000 (21:31 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 26 Dec 2015 05:31:42 +0000 (21:31 -0800)]
Fixed test (extract is no affected)
Xinchen Hui [Sat, 26 Dec 2015 05:27:43 +0000 (21:27 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 26 Dec 2015 05:25:53 +0000 (21:25 -0800)]
Fixed bug #71220 (Null pointer deref (segfault) in compact via ob_start)
Xinchen Hui [Sat, 26 Dec 2015 04:36:29 +0000 (20:36 -0800)]
Merge branch 'tsrmls_leftovers' of https://github.com/tvlooy/php-src
Xinchen Hui [Sat, 26 Dec 2015 04:32:46 +0000 (20:32 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 26 Dec 2015 04:31:37 +0000 (20:31 -0800)]
Fixed bug #71221 (Null pointer deref (segfault) in get_defined_vars via ob_start)
Tom Van Looy [Fri, 25 Dec 2015 10:13:39 +0000 (11:13 +0100)]
Remove leftovers of TSRMLS in code
Tom Van Looy [Fri, 25 Dec 2015 10:13:28 +0000 (11:13 +0100)]
Remove leftovers of TSRMLS in docs
Dmitry Stogov [Thu, 24 Dec 2015 16:05:27 +0000 (19:05 +0300)]
Rearrange code to enable inner precedure inference
Julien Pauli [Thu, 24 Dec 2015 14:19:54 +0000 (15:19 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Remove mentions of "type hint" and "typehint"
Levi Morrison [Tue, 20 Oct 2015 16:50:13 +0000 (10:50 -0600)]
Remove mentions of "type hint" and "typehint"
Julien Pauli [Thu, 24 Dec 2015 13:49:03 +0000 (14:49 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed test
Julien Pauli [Thu, 24 Dec 2015 13:44:33 +0000 (14:44 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed test
Julien Pauli [Thu, 24 Dec 2015 13:44:07 +0000 (14:44 +0100)]
Fixed test
Julien Pauli [Thu, 24 Dec 2015 13:13:36 +0000 (14:13 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed and improved tests
test to function socket_getopt();
test to function socket_clear_error();;
test to function socket_shutdown();
test to function socket_send();
test to function gethostname ( void );
test to function DateTimeZone::getLocation();
test to function stream_get_transports();
test to function stream_get_wrappers();
test to function stream_socket_enable_crypto();
test to function stream_socket_get_name();
Create stream_socket_recvfrom.phpt
test to stream function set_file_buffer.phpt();
test to function PDO_getAvaliableDrivers;
test to misc. function connection_status();
test to function connection_aborted();
test to function memory_get_peak_usage();
Julien Pauli [Thu, 24 Dec 2015 13:08:59 +0000 (14:08 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed and improved tests
test to function socket_getopt();
test to function socket_clear_error();;
test to function socket_shutdown();
test to function socket_send();
test to function gethostname ( void );
test to function DateTimeZone::getLocation();
test to function stream_get_transports();
test to function stream_get_wrappers();
test to function stream_socket_enable_crypto();
test to function stream_socket_get_name();
Create stream_socket_recvfrom.phpt
test to stream function set_file_buffer.phpt();
test to function PDO_getAvaliableDrivers;
test to misc. function connection_status();
test to function connection_aborted();
test to function memory_get_peak_usage();
Julien Pauli [Thu, 24 Dec 2015 12:33:22 +0000 (13:33 +0100)]
Fixed and improved tests
Dmitry Stogov [Thu, 24 Dec 2015 13:03:31 +0000 (16:03 +0300)]
Marked function as "cold"
marcosptf [Mon, 16 Nov 2015 18:26:39 +0000 (16:26 -0200)]
test to function socket_getopt();
marcosptf [Mon, 16 Nov 2015 21:02:55 +0000 (19:02 -0200)]
test to function socket_clear_error();;
marcosptf [Mon, 16 Nov 2015 21:39:06 +0000 (19:39 -0200)]
test to function socket_shutdown();
Dmitry Stogov [Thu, 24 Dec 2015 11:30:41 +0000 (14:30 +0300)]
Added call-graph analyses
marcosptf [Wed, 18 Nov 2015 00:08:08 +0000 (22:08 -0200)]
test to function socket_send();
marcosptf [Fri, 27 Nov 2015 20:07:13 +0000 (18:07 -0200)]
test to function gethostname ( void );
marcosptf [Sun, 6 Dec 2015 14:19:10 +0000 (12:19 -0200)]
test to function DateTimeZone::getLocation();
marcosptf [Thu, 10 Dec 2015 21:48:55 +0000 (19:48 -0200)]
test to function stream_get_transports();
marcosptf [Fri, 11 Dec 2015 12:43:20 +0000 (10:43 -0200)]
test to function stream_get_wrappers();
marcosptf [Fri, 11 Dec 2015 12:56:49 +0000 (10:56 -0200)]
test to function stream_socket_enable_crypto();
marcosptf [Mon, 14 Dec 2015 16:17:47 +0000 (14:17 -0200)]
test to function stream_socket_get_name();
marcosptf [Thu, 17 Dec 2015 19:08:57 +0000 (17:08 -0200)]
Create stream_socket_recvfrom.phpt
marcosptf [Thu, 17 Dec 2015 19:31:48 +0000 (17:31 -0200)]
test to stream function set_file_buffer.phpt();
marcosptf [Thu, 17 Dec 2015 19:46:27 +0000 (17:46 -0200)]
test to function PDO_getAvaliableDrivers;
was add new function to PDO::getAvailableDrivers
marcosptf [Thu, 17 Dec 2015 20:05:58 +0000 (18:05 -0200)]
test to misc. function connection_status();
marcosptf [Thu, 17 Dec 2015 20:09:10 +0000 (18:09 -0200)]
test to function connection_aborted();
was added a new uncovered misc. function
marcosptf [Mon, 21 Dec 2015 19:22:11 +0000 (17:22 -0200)]
test to function memory_get_peak_usage();
add new test to uncoverage function;
please, @laurence, see if this path is correct!
Thanks
Julien Pauli [Thu, 24 Dec 2015 09:33:49 +0000 (10:33 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Update default_mimetype ini setting description
Julien Pauli [Thu, 24 Dec 2015 09:33:41 +0000 (10:33 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Update default_mimetype ini setting description
Thomas Punt [Mon, 21 Dec 2015 20:25:30 +0000 (20:25 +0000)]
Update default_mimetype ini setting description
This is in response to doc bug #70287
Julien Pauli [Thu, 24 Dec 2015 09:25:29 +0000 (10:25 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
These function docs are referencing zend_object_value but this should be zend_object
Tom Van Looy [Wed, 23 Dec 2015 20:35:00 +0000 (21:35 +0100)]
These function docs are referencing zend_object_value but this should be zend_object
Dmitry Stogov [Thu, 24 Dec 2015 08:06:02 +0000 (11:06 +0300)]
Add another DFA optimization pattern (ASSIGN -> QM_ASSING)
Xinchen Hui [Thu, 24 Dec 2015 02:42:49 +0000 (10:42 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Superfluous semicolon
Xinchen Hui [Thu, 24 Dec 2015 02:42:42 +0000 (10:42 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
update NEWS
update NEWS
fix merge mistake
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Sort 7.0.1 extensions' entries
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Add CVE for #71020 (PHP 7.0.1)
Update NEWS & Fixed test
Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
This should never fail
Fixed bug #71202 (Autoload function registered by another not activated immediately)
Updated NEWS
Added support for HTTP 451
Xinchen Hui [Thu, 24 Dec 2015 02:41:05 +0000 (10:41 +0800)]
Superfluous semicolon
Anatol Belski [Wed, 23 Dec 2015 17:40:16 +0000 (18:40 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
update NEWS
Anatol Belski [Wed, 23 Dec 2015 17:39:40 +0000 (18:39 +0100)]
update NEWS
Anatol Belski [Wed, 23 Dec 2015 17:38:54 +0000 (18:38 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Conflicts:
ext/standard/math.c
Anatol Belski [Wed, 23 Dec 2015 17:37:05 +0000 (18:37 +0100)]
update NEWS
Anatol Belski [Wed, 23 Dec 2015 17:31:09 +0000 (18:31 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix merge mistake
Anatol Belski [Wed, 23 Dec 2015 17:30:32 +0000 (18:30 +0100)]
fix merge mistake
Anatol Belski [Wed, 23 Dec 2015 17:29:06 +0000 (18:29 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Sort 7.0.1 extensions' entries
Conflicts:
ext/standard/math.c
Anatol Belski [Wed, 23 Dec 2015 17:18:02 +0000 (18:18 +0100)]
Added test for bug #71201
Anatol Belski [Wed, 23 Dec 2015 17:16:52 +0000 (18:16 +0100)]
Bug #71201 round() segfault on 64-bit builds
Anatol Belski [Wed, 23 Dec 2015 17:25:28 +0000 (18:25 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Add CVE for #71020 (PHP 7.0.1)
Lior Kaplan [Wed, 23 Dec 2015 17:25:02 +0000 (19:25 +0200)]
Sort 7.0.1 extensions' entries
Anatol Belski [Wed, 23 Dec 2015 17:24:56 +0000 (18:24 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Anatol Belski [Wed, 23 Dec 2015 17:18:02 +0000 (18:18 +0100)]
Added test for bug #71201
Anatol Belski [Wed, 23 Dec 2015 17:16:52 +0000 (18:16 +0100)]
Bug #71201 round() segfault on 64-bit builds
Lior Kaplan [Tue, 22 Dec 2015 17:17:15 +0000 (19:17 +0200)]
Add CVE for #71020 (PHP 7.0.1)
Xinchen Hui [Wed, 23 Dec 2015 16:13:46 +0000 (08:13 -0800)]
Merge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 23 Dec 2015 16:13:24 +0000 (08:13 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Wed, 23 Dec 2015 16:13:13 +0000 (08:13 -0800)]
Update NEWS & Fixed test
Xinchen Hui [Wed, 23 Dec 2015 16:11:09 +0000 (08:11 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Wed, 23 Dec 2015 16:10:59 +0000 (08:10 -0800)]
Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
Dmitry Stogov [Wed, 23 Dec 2015 16:02:14 +0000 (19:02 +0300)]
Support for optimization introduced in DFA pass (it may change type of instruction return oprand to IS_CV)
Xinchen Hui [Wed, 23 Dec 2015 15:52:36 +0000 (07:52 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Wed, 23 Dec 2015 15:52:24 +0000 (07:52 -0800)]
This should never fail
Xinchen Hui [Wed, 23 Dec 2015 15:48:16 +0000 (07:48 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Wed, 23 Dec 2015 15:48:00 +0000 (07:48 -0800)]
Fixed bug #71202 (Autoload function registered by another not activated immediately)
Xinchen Hui [Wed, 23 Dec 2015 12:56:49 +0000 (20:56 +0800)]
Dmitry Stogov [Wed, 23 Dec 2015 10:52:15 +0000 (13:52 +0300)]
Consolidate indirect string offset modification checks (Nikita, Dmitry)
Check it once, instead of dozens of times.
Julien Pauli [Wed, 23 Dec 2015 10:38:16 +0000 (11:38 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Updated NEWS
Added support for HTTP 451
Julien Pauli [Wed, 23 Dec 2015 10:37:59 +0000 (11:37 +0100)]
Updated NEWS
Julien Pauli [Wed, 23 Dec 2015 10:33:10 +0000 (11:33 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Added support for HTTP 451
Conflicts:
sapi/cgi/cgi_main.c
sapi/cli/php_cli_server.c
sapi/fpm/fpm/fpm_main.c
Julien Pauli [Wed, 23 Dec 2015 10:31:18 +0000 (11:31 +0100)]
Added support for HTTP 451
Dmitry Stogov [Wed, 23 Dec 2015 00:52:38 +0000 (03:52 +0300)]
Fixed SSA construction for CFG with unreachable BB
Dmitry Stogov [Wed, 23 Dec 2015 00:52:01 +0000 (03:52 +0300)]
Fixed test on 32-bit systems
Dmitry Stogov [Wed, 23 Dec 2015 00:46:40 +0000 (03:46 +0300)]
Remove live-range if the corresponding definition is deleted
Dmitry Stogov [Wed, 23 Dec 2015 00:20:28 +0000 (03:20 +0300)]
Support for incompletely constructed SSA
Dmitry Stogov [Tue, 22 Dec 2015 22:47:38 +0000 (01:47 +0300)]
Fixed bug #71196 (Memory leak with out-of-order live ranges)
Nikita Popov [Tue, 22 Dec 2015 22:08:26 +0000 (23:08 +0100)]
Always create ARRAY_ELEM ssa var for ELEM_REF
Dmitry Stogov [Tue, 22 Dec 2015 18:33:07 +0000 (21:33 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed incorrect setting on 32-bit systems