]> granicus.if.org Git - php/log
php
9 years agoMerge branch 'PHP-7.0'
Jakub Zelenka [Mon, 4 Jan 2016 16:53:30 +0000 (16:53 +0000)]
Merge branch 'PHP-7.0'

9 years agoFix small CS label issue in openssl.c
Jakub Zelenka [Mon, 4 Jan 2016 16:52:52 +0000 (16:52 +0000)]
Fix small CS label issue in openssl.c

9 years agoReplaced whitespaces with tabs and fixed aligments
Dominic Luechinger [Fri, 18 Dec 2015 00:35:32 +0000 (01:35 +0100)]
Replaced whitespaces with tabs and fixed aligments

9 years ago- Make functions static, as they are not needed to be public - exported
Andrey Hristov [Mon, 4 Jan 2016 15:48:35 +0000 (16:48 +0100)]
- Make functions static, as they are not needed to be public - exported
  through a structure
- Fixed typo in statistic name
- Added 2 static functions for copying a MYSQLND_CSTRING and converting
  a CSTRING to STRING.

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 4 Jan 2016 13:39:20 +0000 (05:39 -0800)]
Merge branch 'PHP-7.0'

9 years agoDo not edit the value in place (might be relates to #71261)
Xinchen Hui [Mon, 4 Jan 2016 13:38:15 +0000 (05:38 -0800)]
Do not edit the value in place (might be relates to #71261)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 3 Jan 2016 06:23:06 +0000 (14:23 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71264 (file_put_contents() returns unexpected value when filesystem runs...
Xinchen Hui [Sun, 3 Jan 2016 06:21:23 +0000 (14:21 +0800)]
Fixed bug #71264 (file_put_contents() returns unexpected value when filesystem runs full)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 3 Jan 2016 06:07:13 +0000 (14:07 +0800)]
Merge branch 'PHP-7.0'

9 years agoDuplicated i
Xinchen Hui [Sun, 3 Jan 2016 06:06:52 +0000 (14:06 +0800)]
Duplicated i

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Sat, 2 Jan 2016 12:59:13 +0000 (13:59 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  remove duplicated skipif conditions

9 years agoremove duplicated skipif conditions
Anatol Belski [Sat, 2 Jan 2016 12:56:56 +0000 (13:56 +0100)]
remove duplicated skipif conditions

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 2 Jan 2016 09:56:54 +0000 (17:56 +0800)]
Merge branch 'PHP-7.0'

9 years agobump year which is missed in rev 49493a2
Xinchen Hui [Sat, 2 Jan 2016 09:56:11 +0000 (17:56 +0800)]
bump year which is missed in rev 49493a2

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Sat, 2 Jan 2016 09:53:01 +0000 (17:53 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agobump year which is missed in rev 49493a2
Xinchen Hui [Sat, 2 Jan 2016 09:51:24 +0000 (17:51 +0800)]
bump year which is missed in rev 49493a2

9 years agoMerge branch 'PHP-5.6' of https://github.com/kaplanlior/php-src into PHP-5.6
Xinchen Hui [Sat, 2 Jan 2016 09:48:20 +0000 (17:48 +0800)]
Merge branch 'PHP-5.6' of https://github.com/kaplanlior/php-src into PHP-5.6

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Fri, 1 Jan 2016 19:28:02 +0000 (20:28 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  sync with new tests from 7.0 for ICU 55_1 and 56_1 compat
  sync skipifs for ext/intl for ICU 55_* and 56_* compat

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Fri, 1 Jan 2016 19:27:23 +0000 (20:27 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  sync with new tests from 7.0 for ICU 55_1 and 56_1 compat
  sync skipifs for ext/intl for ICU 55_* and 56_* compat

9 years agosync with new tests from 7.0 for ICU 55_1 and 56_1 compat
Anatol Belski [Fri, 1 Jan 2016 19:25:36 +0000 (20:25 +0100)]
sync with new tests from 7.0 for ICU 55_1 and 56_1 compat

9 years agosync skipifs for ext/intl for ICU 55_* and 56_* compat
Anatol Belski [Fri, 1 Jan 2016 19:13:35 +0000 (20:13 +0100)]
sync skipifs for ext/intl for ICU 55_* and 56_* compat

9 years agoHappy new year (Update copyright to 2016)
Lior Kaplan [Fri, 1 Jan 2016 18:06:12 +0000 (20:06 +0200)]
Happy new year (Update copyright to 2016)

9 years agoMerge branch 'PHP-7.0'
Lior Kaplan [Fri, 1 Jan 2016 18:04:31 +0000 (20:04 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Update header to PHP Version 7
  Happy new year (Update copyright to 2016)
  Happy new year (Update copyright to 2016)

9 years agoUpdate header to PHP Version 7
Lior Kaplan [Fri, 1 Jan 2016 17:53:00 +0000 (19:53 +0200)]
Update header to PHP Version 7

9 years agoHappy new year (Update copyright to 2016)
Lior Kaplan [Fri, 1 Jan 2016 17:49:07 +0000 (19:49 +0200)]
Happy new year (Update copyright to 2016)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Fri, 1 Jan 2016 17:47:16 +0000 (19:47 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Happy new year (Update copyright to 2016)

9 years agoHappy new year (Update copyright to 2016)
Lior Kaplan [Fri, 1 Jan 2016 17:23:04 +0000 (19:23 +0200)]
Happy new year (Update copyright to 2016)

9 years agoHappy new year (Update copyright to 2016)
Lior Kaplan [Fri, 1 Jan 2016 17:19:27 +0000 (19:19 +0200)]
Happy new year (Update copyright to 2016)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 1 Jan 2016 15:07:29 +0000 (07:07 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71249 (ldap_mod_replace/ldap_mod_add store value as string "Array")
Xinchen Hui [Fri, 1 Jan 2016 15:06:58 +0000 (07:06 -0800)]
Fixed bug #71249 (ldap_mod_replace/ldap_mod_add store value as string "Array")

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 1 Jan 2016 05:46:44 +0000 (13:46 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed test after fix lineno of finally
Xinchen Hui [Fri, 1 Jan 2016 05:46:19 +0000 (13:46 +0800)]
Fixed test after fix lineno of finally

9 years agoMerge branch 'PHP-7.0'
Derick Rethans [Thu, 31 Dec 2015 09:46:55 +0000 (09:46 +0000)]
Merge branch 'PHP-7.0'

9 years agoMFH: Fix lineno for finally FAST_CALL and JMP
Derick Rethans [Thu, 31 Dec 2015 09:46:43 +0000 (09:46 +0000)]
MFH: Fix lineno for finally FAST_CALL and JMP

9 years agoFix lineno for finally FAST_CALL and JMP
Nikita Popov [Wed, 30 Dec 2015 22:49:07 +0000 (23:49 +0100)]
Fix lineno for finally FAST_CALL and JMP

9 years agoMark uses of scope functions in namespaces as TOO_DYNAMIC
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().

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 30 Dec 2015 13:10:21 +0000 (05:10 -0800)]
Merge branch 'PHP-7.0'

9 years agoThis should be better
Xinchen Hui [Wed, 30 Dec 2015 13:10:05 +0000 (05:10 -0800)]
This should be better

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 30 Dec 2015 13:04:36 +0000 (05:04 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71245 (file_get_contents() ignores "header" context option if it's a refer...
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)

9 years agoIntroduce BIND_LEXICAL
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.

9 years agoForbid use() of auto-globals
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.

9 years agoMerge branch 'PHP-7.0'
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)

9 years agoFixed info while setting opcache.file_cache_only
Xinchen Hui [Tue, 29 Dec 2015 07:49:10 +0000 (15:49 +0800)]
Fixed info while setting opcache.file_cache_only

9 years agoDrop extra line
Lior Kaplan [Sun, 27 Dec 2015 18:18:23 +0000 (20:18 +0200)]
Drop extra line

9 years agoAdd CVE for #71105 (PHP 7.0.1)
Lior Kaplan [Sat, 26 Dec 2015 18:17:19 +0000 (20:17 +0200)]
Add CVE for #71105 (PHP 7.0.1)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 27 Dec 2015 06:56:27 +0000 (22:56 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71225 (curl_setopt() fails to set CURLOPT_POSTFIELDS with reference to...
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)

9 years agoMerge branch 'PHP-7.0'
Andrea Faulds [Sun, 27 Dec 2015 01:03:21 +0000 (01:03 +0000)]
Merge branch 'PHP-7.0'

9 years agoHatch elePHPant
Andrea Faulds [Sun, 27 Dec 2015 01:03:03 +0000 (01:03 +0000)]
Hatch elePHPant

9 years agoUse ZEND_HASH_FOREACH
Nikita Popov [Sat, 26 Dec 2015 22:43:33 +0000 (23:43 +0100)]
Use ZEND_HASH_FOREACH

9 years agoDon't reuse SSA var in UNSET_VAR
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.

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 26 Dec 2015 05:31:57 +0000 (21:31 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed test (extract is no affected)
Xinchen Hui [Sat, 26 Dec 2015 05:31:42 +0000 (21:31 -0800)]
Fixed test (extract is no affected)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 26 Dec 2015 05:27:43 +0000 (21:27 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71220 (Null pointer deref (segfault) in compact via ob_start)
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)

9 years agoMerge branch 'tsrmls_leftovers' of https://github.com/tvlooy/php-src
Xinchen Hui [Sat, 26 Dec 2015 04:36:29 +0000 (20:36 -0800)]
Merge branch 'tsrmls_leftovers' of https://github.com/tvlooy/php-src

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 26 Dec 2015 04:32:46 +0000 (20:32 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71221 (Null pointer deref (segfault) in get_defined_vars via ob_start)
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)

9 years agoRemove leftovers of TSRMLS in code
Tom Van Looy [Fri, 25 Dec 2015 10:13:39 +0000 (11:13 +0100)]
Remove leftovers of TSRMLS in code

9 years agoRemove leftovers of TSRMLS in docs
Tom Van Looy [Fri, 25 Dec 2015 10:13:28 +0000 (11:13 +0100)]
Remove leftovers of TSRMLS in docs

9 years agoRearrange code to enable inner precedure inference
Dmitry Stogov [Thu, 24 Dec 2015 16:05:27 +0000 (19:05 +0300)]
Rearrange code to enable inner precedure inference

9 years agoMerge branch 'PHP-7.0'
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"

9 years agoRemove 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"

9 years agoMerge branch 'PHP-7.0'
Julien Pauli [Thu, 24 Dec 2015 13:49:03 +0000 (14:49 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed test

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoFixed test
Julien Pauli [Thu, 24 Dec 2015 13:44:07 +0000 (14:44 +0100)]
Fixed test

9 years agoMerge branch 'PHP-7.0'
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();

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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();

9 years agoFixed and improved tests
Julien Pauli [Thu, 24 Dec 2015 12:33:22 +0000 (13:33 +0100)]
Fixed and improved tests

9 years agoMarked function as "cold"
Dmitry Stogov [Thu, 24 Dec 2015 13:03:31 +0000 (16:03 +0300)]
Marked function as "cold"

9 years agotest to function socket_getopt();
marcosptf [Mon, 16 Nov 2015 18:26:39 +0000 (16:26 -0200)]
test to function socket_getopt();

9 years agotest to function socket_clear_error();;
marcosptf [Mon, 16 Nov 2015 21:02:55 +0000 (19:02 -0200)]
test to function socket_clear_error();;

9 years agotest to function socket_shutdown();
marcosptf [Mon, 16 Nov 2015 21:39:06 +0000 (19:39 -0200)]
test to function socket_shutdown();

9 years agoAdded call-graph analyses
Dmitry Stogov [Thu, 24 Dec 2015 11:30:41 +0000 (14:30 +0300)]
Added call-graph analyses

9 years agotest to function socket_send();
marcosptf [Wed, 18 Nov 2015 00:08:08 +0000 (22:08 -0200)]
test to function socket_send();

9 years agotest to function gethostname ( void );
marcosptf [Fri, 27 Nov 2015 20:07:13 +0000 (18:07 -0200)]
test to function gethostname ( void );

9 years agotest to function DateTimeZone::getLocation();
marcosptf [Sun, 6 Dec 2015 14:19:10 +0000 (12:19 -0200)]
test to function DateTimeZone::getLocation();

9 years agotest to function stream_get_transports();
marcosptf [Thu, 10 Dec 2015 21:48:55 +0000 (19:48 -0200)]
test to function stream_get_transports();

9 years agotest to function stream_get_wrappers();
marcosptf [Fri, 11 Dec 2015 12:43:20 +0000 (10:43 -0200)]
test to function stream_get_wrappers();

9 years agotest to function stream_socket_enable_crypto();
marcosptf [Fri, 11 Dec 2015 12:56:49 +0000 (10:56 -0200)]
test to function stream_socket_enable_crypto();

9 years agotest to function stream_socket_get_name();
marcosptf [Mon, 14 Dec 2015 16:17:47 +0000 (14:17 -0200)]
test to function stream_socket_get_name();

9 years agoCreate stream_socket_recvfrom.phpt
marcosptf [Thu, 17 Dec 2015 19:08:57 +0000 (17:08 -0200)]
Create stream_socket_recvfrom.phpt

9 years agotest to stream function set_file_buffer.phpt();
marcosptf [Thu, 17 Dec 2015 19:31:48 +0000 (17:31 -0200)]
test to stream function set_file_buffer.phpt();

9 years agotest to function PDO_getAvaliableDrivers;
marcosptf [Thu, 17 Dec 2015 19:46:27 +0000 (17:46 -0200)]
test to function PDO_getAvaliableDrivers;

was add new function to PDO::getAvailableDrivers

9 years agotest to misc. function connection_status();
marcosptf [Thu, 17 Dec 2015 20:05:58 +0000 (18:05 -0200)]
test to misc. function connection_status();

9 years agotest to function connection_aborted();
marcosptf [Thu, 17 Dec 2015 20:09:10 +0000 (18:09 -0200)]
test to function connection_aborted();

was added a new uncovered misc. function

9 years agotest to function memory_get_peak_usage();
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

9 years agoMerge branch 'PHP-7.0'
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

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoUpdate 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

9 years agoMerge branch 'PHP-7.0'
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

9 years agoThese 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

9 years agoAdd another DFA optimization pattern (ASSIGN -> QM_ASSING)
Dmitry Stogov [Thu, 24 Dec 2015 08:06:02 +0000 (11:06 +0300)]
Add another DFA optimization pattern (ASSIGN -> QM_ASSING)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Thu, 24 Dec 2015 02:42:49 +0000 (10:42 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Superfluous semicolon

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
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

9 years agoSuperfluous semicolon
Xinchen Hui [Thu, 24 Dec 2015 02:41:05 +0000 (10:41 +0800)]
Superfluous semicolon

9 years agoMerge branch 'PHP-7.0'
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

9 years agoupdate NEWS
Anatol Belski [Wed, 23 Dec 2015 17:39:40 +0000 (18:39 +0100)]
update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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