]>
granicus.if.org Git - php/log
Xinchen Hui [Wed, 6 Apr 2016 02:21:21 +0000 (10:21 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed order
Fixed bug #71969 (str_replace returns an incorrect resulting array after a foreach by reference)
update NEWS
Add driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()
Xinchen Hui [Wed, 6 Apr 2016 02:21:05 +0000 (10:21 +0800)]
Fixed order
Xinchen Hui [Wed, 6 Apr 2016 02:19:24 +0000 (10:19 +0800)]
Fixed bug #71969 (str_replace returns an incorrect resulting array after a foreach by reference)
Dmitry Stogov [Tue, 5 Apr 2016 17:09:14 +0000 (20:09 +0300)]
IS_CONST operands don't have to be separated. Use reference-counting instead of duplication.
- with opcache all IS_CONST operands are not refcounted (scalars, interned strings or immutable arrays)
- without opcache IS_CONST operands are not shared between processes or threads and may use common reference counters
Adam Baratz [Tue, 5 Apr 2016 16:14:03 +0000 (18:14 +0200)]
Add driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()
Anatol Belski [Tue, 5 Apr 2016 16:21:25 +0000 (18:21 +0200)]
update NEWS
Adam Baratz [Tue, 5 Apr 2016 16:14:03 +0000 (18:14 +0200)]
Add driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()
Dmitry Stogov [Tue, 5 Apr 2016 13:45:15 +0000 (16:45 +0300)]
RETURN micro optimization
Anatol Belski [Tue, 5 Apr 2016 13:13:17 +0000 (15:13 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
fix and extend test
Don't roundtrip to the database to get the column type if you already know it
Anatol Belski [Tue, 5 Apr 2016 13:12:12 +0000 (15:12 +0200)]
update NEWS
Anatol Belski [Tue, 5 Apr 2016 13:06:17 +0000 (15:06 +0200)]
fix and extend test
Joe Bylund [Tue, 22 Sep 2015 17:11:20 +0000 (13:11 -0400)]
Don't roundtrip to the database to get the column type if you already know it
add_assoc_string now takes just three args
nikic's fix to move pqclear outside the if, would be a possible memory leak inside the if
(joe) check behavior of getColumnMeta
Anatol Belski [Tue, 5 Apr 2016 10:16:02 +0000 (12:16 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
remove description for apache 1.3
DQNEO [Tue, 16 Feb 2016 09:58:03 +0000 (18:58 +0900)]
remove description for apache 1.3
Anatol Belski [Tue, 5 Apr 2016 09:56:20 +0000 (11:56 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
update NEWS
Anatol Belski [Tue, 5 Apr 2016 09:55:36 +0000 (11:55 +0200)]
update NEWS
Anatol Belski [Tue, 5 Apr 2016 09:55:03 +0000 (11:55 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Anatol Belski [Tue, 5 Apr 2016 09:52:53 +0000 (11:52 +0200)]
update NEWS
Anatol Belski [Tue, 5 Apr 2016 09:24:45 +0000 (11:24 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Use STR_EMPTY_ALLOC macro instead
Fix DateInterval::format segfault
Anatol Belski [Tue, 5 Apr 2016 09:24:23 +0000 (11:24 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Use STR_EMPTY_ALLOC macro instead
Fix DateInterval::format segfault
Thomas Punt [Thu, 24 Mar 2016 11:09:59 +0000 (11:09 +0000)]
Use STR_EMPTY_ALLOC macro instead
Thomas Punt [Wed, 23 Mar 2016 23:57:50 +0000 (23:57 +0000)]
Fix DateInterval::format segfault
Matteo Beccati [Mon, 4 Apr 2016 22:07:28 +0000 (00:07 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71447 (Quotes inside comments not properly handled)
Fixed a few PDO tests to conform to PDO Common standards
news entry #69537
Fix #69537: __debugInfo with empty string for key gives error
Matteo Beccati [Mon, 4 Apr 2016 22:07:02 +0000 (00:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed bug #71447 (Quotes inside comments not properly handled)
Fixed a few PDO tests to conform to PDO Common standards
news entry #69537
Fix #69537: __debugInfo with empty string for key gives error
Conflicts:
Zend/zend_compile.c
Matteo Beccati [Mon, 4 Apr 2016 21:45:10 +0000 (23:45 +0200)]
Fixed bug #71447 (Quotes inside comments not properly handled)
Matteo Beccati [Mon, 4 Apr 2016 21:42:52 +0000 (23:42 +0200)]
Fixed a few PDO tests to conform to PDO Common standards
Dmitry Stogov [Mon, 4 Apr 2016 21:01:00 +0000 (00:01 +0300)]
Initialize op_array->run_time_cache on slow path of INIT_FCALL opcode and omit corresponding check on fast path of DO_FCALL.
Anatol Belski [Mon, 4 Apr 2016 15:42:52 +0000 (17:42 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
Anatol Belski [Mon, 4 Apr 2016 15:42:06 +0000 (17:42 +0200)]
update NEWS
Anatol Belski [Mon, 4 Apr 2016 15:38:04 +0000 (17:38 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fix #71943: dblib_handle_quoter needs to allocate an extra byte
Adam Baratz [Fri, 1 Apr 2016 15:23:35 +0000 (11:23 -0400)]
Fix #71943: dblib_handle_quoter needs to allocate an extra byte
Joe Watkins [Mon, 4 Apr 2016 09:30:35 +0000 (10:30 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
news entry #71428
Joe Watkins [Mon, 4 Apr 2016 09:30:23 +0000 (10:30 +0100)]
news entry #71428
Joe Watkins [Mon, 4 Apr 2016 09:23:50 +0000 (10:23 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
news entry #69537
Joe Watkins [Mon, 4 Apr 2016 09:23:19 +0000 (10:23 +0100)]
news entry #69537
Joe Watkins [Mon, 4 Apr 2016 09:22:13 +0000 (10:22 +0100)]
news entry #69537
Joe Watkins [Mon, 4 Apr 2016 09:20:41 +0000 (10:20 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
news entry 71609
Joe Watkins [Mon, 4 Apr 2016 09:20:26 +0000 (10:20 +0100)]
news entry 71609
Joe Watkins [Mon, 4 Apr 2016 08:33:30 +0000 (09:33 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
magical notation is magical
Joe Watkins [Mon, 4 Apr 2016 08:33:20 +0000 (09:33 +0100)]
magical notation is magical
Joe Watkins [Mon, 4 Apr 2016 08:26:28 +0000 (09:26 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
move this to standard [ci skip]
Joe Watkins [Mon, 4 Apr 2016 08:26:17 +0000 (09:26 +0100)]
move this to standard [ci skip]
Joe Watkins [Mon, 4 Apr 2016 08:21:45 +0000 (09:21 +0100)]
Merge branch 'master' of https://github.com/php/php-src
Joe Watkins [Mon, 4 Apr 2016 08:21:29 +0000 (09:21 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
news updates
Joe Watkins [Mon, 4 Apr 2016 08:21:06 +0000 (09:21 +0100)]
news updates
Dmitry Stogov [Mon, 4 Apr 2016 06:35:48 +0000 (09:35 +0300)]
Fised possible use-after-free
Kalle Sommer Nielsen [Sun, 3 Apr 2016 23:31:59 +0000 (01:31 +0200)]
Merge branch 'master' of git.php.net:php-src
Joe Watkins [Sun, 3 Apr 2016 11:41:23 +0000 (12:41 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Sun, 3 Apr 2016 11:41:08 +0000 (12:41 +0100)]
Merge branch 'master' of https://github.com/php/php-src
Joe Watkins [Sun, 3 Apr 2016 11:40:29 +0000 (12:40 +0100)]
Fix #69537: __debugInfo with empty string for key gives error
Joe Watkins [Sun, 3 Apr 2016 11:38:53 +0000 (12:38 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix #69537: __debugInfo with empty string for key gives error
Joe Watkins [Sun, 3 Apr 2016 11:38:25 +0000 (12:38 +0100)]
fix #69537: __debugInfo with empty string for key gives error
Kalle Sommer Nielsen [Sun, 3 Apr 2016 00:28:39 +0000 (02:28 +0200)]
Added missing zend_parse_parameters_none() to mb_list_encodings()
Kalle Sommer Nielsen [Sun, 3 Apr 2016 00:27:25 +0000 (02:27 +0200)]
Fix compiler warnings in mysqlnd
Dmitry Stogov [Fri, 1 Apr 2016 17:29:54 +0000 (20:29 +0300)]
fixed type inference mistake (typo)
Anatol Belski [Fri, 1 Apr 2016 15:41:06 +0000 (17:41 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fix ODBC bug for varchars returning with length zero
Elizabeth Marie Smith [Thu, 14 Jan 2016 12:19:20 +0000 (13:19 +0100)]
Fix ODBC bug for varchars returning with length zero
Xinchen Hui [Fri, 1 Apr 2016 14:27:42 +0000 (22:27 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 1 Apr 2016 14:27:29 +0000 (22:27 +0800)]
Fixed bug #71930 (_zval_dtor_func: Assertion `(arr)->gc.refcount <= 1' failed)
Dmitry Stogov [Fri, 1 Apr 2016 13:17:49 +0000 (16:17 +0300)]
Merge zend_execute_data->called_scope into zend_execute_data->This.
"called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this.
Now EG(This) may store IS_OBJECT + $this or IS_UNUSED + "called_scope" (of course, "called_scope" may be NULL).
Some code might need to be adopted to support this change.
Checks (Z_OBJ(EX(This))) might need to be converted into (Z_TYPE(EX(This)) == IS_OBJECT).
Joe Watkins [Thu, 31 Mar 2016 16:10:51 +0000 (17:10 +0100)]
Merge branch 'master' of https://github.com/php/php-src
Joe Watkins [Thu, 31 Mar 2016 16:10:37 +0000 (17:10 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix #71287 (substr_replace bug when length type is string)
Joe Watkins [Thu, 31 Mar 2016 16:10:12 +0000 (17:10 +0100)]
fix #71287 (substr_replace bug when length type is string)
Dmitry Stogov [Thu, 31 Mar 2016 15:58:13 +0000 (18:58 +0300)]
Flags ZEND_CALL_RELEASE_THIS and ZEND_CALL_CLOSURE should never be set together.
Closures keep responsibility for releasing $this theirselves.
Dmitry Stogov [Thu, 31 Mar 2016 15:47:25 +0000 (18:47 +0300)]
Use CALL_INFO flag to check if we need to destroy symbol_table.
This saves one memory load on most RETURN opcodes.
Dmitry Stogov [Thu, 31 Mar 2016 14:26:27 +0000 (17:26 +0300)]
Manual CSE
Joe Watkins [Thu, 31 Mar 2016 11:51:25 +0000 (12:51 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
remove unused params || woops
Joe Watkins [Thu, 31 Mar 2016 11:51:00 +0000 (12:51 +0100)]
remove unused params || woops
Joe Watkins [Thu, 31 Mar 2016 11:40:15 +0000 (12:40 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Thu, 31 Mar 2016 11:39:58 +0000 (12:39 +0100)]
Merge branch 'master' of https://github.com/php/php-src
Joe Watkins [Thu, 31 Mar 2016 11:39:45 +0000 (12:39 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix #71609: Segmentation fault on ZTS with gethostbyname
Joe Watkins [Thu, 31 Mar 2016 11:39:01 +0000 (12:39 +0100)]
fix #71609: Segmentation fault on ZTS with gethostbyname
Anatol Belski [Wed, 30 Mar 2016 23:38:38 +0000 (01:38 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix borked mainstream patch
5.5.35 now
Anatol Belski [Wed, 30 Mar 2016 23:38:22 +0000 (01:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix borked mainstream patch
5.5.35 now
Anatol Belski [Wed, 30 Mar 2016 23:36:47 +0000 (01:36 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fix borked mainstream patch
5.5.35 now
Anatol Belski [Wed, 30 Mar 2016 23:33:38 +0000 (01:33 +0200)]
fix borked mainstream patch
Anatol Belski [Wed, 30 Mar 2016 23:30:50 +0000 (01:30 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix test to not to cause false positives
Align NEWS entry format
Align NEWS entry format
Anatol Belski [Wed, 30 Mar 2016 23:30:23 +0000 (01:30 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix test to not to cause false positives
Anatol Belski [Wed, 30 Mar 2016 23:29:05 +0000 (01:29 +0200)]
fix test to not to cause false positives
Lior Kaplan [Wed, 30 Mar 2016 22:01:11 +0000 (01:01 +0300)]
Align NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 21:54:43 +0000 (00:54 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Wed, 30 Mar 2016 21:52:53 +0000 (00:52 +0300)]
Align NEWS entry format
Nikita Popov [Wed, 30 Mar 2016 20:49:36 +0000 (22:49 +0200)]
Merge branch 'PHP-7.0'
Nikita Popov [Tue, 12 Jan 2016 15:31:58 +0000 (16:31 +0100)]
Fix bug #71334
Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.
I've also dropped the "array modification" warning, as protection
against modifications is no longer relevant if we're always working
on a copy anyway.
This also required some changes to how SplArray forwards calls to
sorting functions.
Ferenc Kovacs [Wed, 30 Mar 2016 20:29:32 +0000 (22:29 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
Ferenc Kovacs [Wed, 30 Mar 2016 20:29:00 +0000 (22:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Ferenc Kovacs [Wed, 30 Mar 2016 20:28:28 +0000 (22:28 +0200)]
update NEWS
Nikita Popov [Wed, 30 Mar 2016 16:32:29 +0000 (18:32 +0200)]
Merge branch 'PHP-7.0'
Nikita Popov [Wed, 30 Mar 2016 16:31:10 +0000 (18:31 +0200)]
Fix __invoke comparison in closure_get_method
It compared against the wrong variable. Fixed this by getting rid
of lc_name entirely and use equals_literal_ci instead.
Andrea Faulds [Wed, 30 Mar 2016 15:45:36 +0000 (16:45 +0100)]
Correct error messages
Andrea Faulds [Wed, 30 Mar 2016 13:16:07 +0000 (14:16 +0100)]
Fix memory leak
Leak was introduced in
c88ffa9a5673cb3141660626ba1921671f0b84d6 .
Andrea Faulds [Wed, 30 Mar 2016 12:48:51 +0000 (13:48 +0100)]
Fix two tests on 32-bit
Andrea Faulds [Wed, 30 Mar 2016 12:26:27 +0000 (13:26 +0100)]
Expand UPGRADING and NEWS re: numeric strings changes
Matteo Beccati [Wed, 30 Mar 2016 08:01:07 +0000 (10:01 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Removed shmop test leaking an shm segment
Matteo Beccati [Wed, 30 Mar 2016 08:00:28 +0000 (10:00 +0200)]
Removed shmop test leaking an shm segment
Andrea Faulds [Wed, 30 Mar 2016 00:44:27 +0000 (01:44 +0100)]
Warn about invalid strings in arithmetic
Squashed commit of the following:
commit
e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100
UPGRADING and NEWS
commit
6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000
Fixes
commit
6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000
Add test for numeric string errors in assignment
commit
bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000
Add test for numeric string errors
commit
c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000
Add test for scientific notation in integer operations
commit
d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000
Disable optimiser evaluation for numeric string errors
commit
30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000
fixup
commit
a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000
Do not convert error-causing numeric strings ahead-of-time
commit
f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000
Disable compile-time evaluation for numeric string errors
commit
e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000
Make _zval_get_long_func_noisy function for inlining
commit
84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000
Update tests
commit
5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000
Use is_numeric_string_ex for zval_get_long etc.
commit
c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000
Update tests
commit
63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000
Warn on non-/bad numeric strings in arithmetic
Nikita Popov [Tue, 29 Mar 2016 17:29:55 +0000 (19:29 +0200)]
Merge branch 'PHP-7.0'
Nikita Popov [Tue, 29 Mar 2016 17:29:19 +0000 (19:29 +0200)]
Fixed bug #71922
Nikita Popov [Tue, 29 Mar 2016 17:07:14 +0000 (19:07 +0200)]
Fixed bug #62814
Julien Pauli [Tue, 29 Mar 2016 16:11:03 +0000 (18:11 +0200)]
5.5.35 now