]> granicus.if.org Git - php/log
php
9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 6 Apr 2016 11:50:24 +0000 (13:50 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  make opcache lockfile path configurable

9 years agomake opcache lockfile path configurable
Fatih ACAR [Fri, 4 Mar 2016 10:17:45 +0000 (11:17 +0100)]
make opcache lockfile path configurable

Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Baptiste Daroussin <baptiste.daroussin@gandi.net>
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 6 Apr 2016 10:23:14 +0000 (12:23 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  return zvals instead of strings, cast or not based on stringify attribute

9 years agoreturn zvals instead of strings, cast or not based on stringify attribute
Adam Baratz [Wed, 6 Apr 2016 10:18:53 +0000 (12:18 +0200)]
return zvals instead of strings, cast or not based on stringify attribute

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 6 Apr 2016 06:24:09 +0000 (08:24 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix test
  add skip slow test

9 years agofix test
Anatol Belski [Wed, 6 Apr 2016 06:21:10 +0000 (08:21 +0200)]
fix test

9 years agoadd skip slow test
Anatol Belski [Wed, 6 Apr 2016 06:18:32 +0000 (08:18 +0200)]
add skip slow test

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

9 years agoFixed order
Xinchen Hui [Wed, 6 Apr 2016 02:21:05 +0000 (10:21 +0800)]
Fixed order

9 years agoFixed bug #71969 (str_replace returns an incorrect resulting array after a foreach...
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)

9 years agoIS_CONST operands don't have to be separated. Use reference-counting instead of dupli...
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

9 years agoAdd driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()
Adam Baratz [Tue, 5 Apr 2016 16:14:03 +0000 (18:14 +0200)]
Add driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()

9 years agoupdate NEWS
Anatol Belski [Tue, 5 Apr 2016 16:21:25 +0000 (18:21 +0200)]
update NEWS

9 years agoAdd driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()
Adam Baratz [Tue, 5 Apr 2016 16:14:03 +0000 (18:14 +0200)]
Add driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()

9 years agoRETURN micro optimization
Dmitry Stogov [Tue, 5 Apr 2016 13:45:15 +0000 (16:45 +0300)]
RETURN micro optimization

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

9 years agoupdate NEWS
Anatol Belski [Tue, 5 Apr 2016 13:12:12 +0000 (15:12 +0200)]
update NEWS

9 years agofix and extend test
Anatol Belski [Tue, 5 Apr 2016 13:06:17 +0000 (15:06 +0200)]
fix and extend test

9 years agoDon't roundtrip to the database to get the column type if you already know it
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

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

9 years agoremove description for apache 1.3
DQNEO [Tue, 16 Feb 2016 09:58:03 +0000 (18:58 +0900)]
remove description for apache 1.3

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

9 years agoupdate NEWS
Anatol Belski [Tue, 5 Apr 2016 09:55:36 +0000 (11:55 +0200)]
update NEWS

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

9 years agoupdate NEWS
Anatol Belski [Tue, 5 Apr 2016 09:52:53 +0000 (11:52 +0200)]
update NEWS

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

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

9 years agoUse STR_EMPTY_ALLOC macro instead
Thomas Punt [Thu, 24 Mar 2016 11:09:59 +0000 (11:09 +0000)]
Use STR_EMPTY_ALLOC macro instead

9 years agoFix DateInterval::format segfault
Thomas Punt [Wed, 23 Mar 2016 23:57:50 +0000 (23:57 +0000)]
Fix DateInterval::format segfault

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

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

9 years agoFixed bug #71447 (Quotes inside comments not properly handled)
Matteo Beccati [Mon, 4 Apr 2016 21:45:10 +0000 (23:45 +0200)]
Fixed bug #71447 (Quotes inside comments not properly handled)

9 years agoFixed a few PDO tests to conform to PDO Common standards
Matteo Beccati [Mon, 4 Apr 2016 21:42:52 +0000 (23:42 +0200)]
Fixed a few PDO tests to conform to PDO Common standards

9 years agoInitialize op_array->run_time_cache on slow path of INIT_FCALL opcode and omit corres...
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.

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 4 Apr 2016 15:42:52 +0000 (17:42 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

9 years agoupdate NEWS
Anatol Belski [Mon, 4 Apr 2016 15:42:06 +0000 (17:42 +0200)]
update NEWS

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

9 years agoFix #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

9 years agoMerge branch 'PHP-7.0'
Joe Watkins [Mon, 4 Apr 2016 09:30:35 +0000 (10:30 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  news entry #71428

9 years agonews entry #71428
Joe Watkins [Mon, 4 Apr 2016 09:30:23 +0000 (10:30 +0100)]
news entry #71428

9 years agoMerge branch 'PHP-7.0'
Joe Watkins [Mon, 4 Apr 2016 09:23:50 +0000 (10:23 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  news entry #69537

9 years agonews entry #69537
Joe Watkins [Mon, 4 Apr 2016 09:23:19 +0000 (10:23 +0100)]
news entry #69537

9 years agonews entry #69537
Joe Watkins [Mon, 4 Apr 2016 09:22:13 +0000 (10:22 +0100)]
news entry #69537

9 years agoMerge branch 'PHP-7.0'
Joe Watkins [Mon, 4 Apr 2016 09:20:41 +0000 (10:20 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  news entry 71609

9 years agonews entry 71609
Joe Watkins [Mon, 4 Apr 2016 09:20:26 +0000 (10:20 +0100)]
news entry 71609

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

9 years agomagical notation is magical
Joe Watkins [Mon, 4 Apr 2016 08:33:20 +0000 (09:33 +0100)]
magical notation is magical

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

9 years agomove this to standard [ci skip]
Joe Watkins [Mon, 4 Apr 2016 08:26:17 +0000 (09:26 +0100)]
move this to standard [ci skip]

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Mon, 4 Apr 2016 08:21:45 +0000 (09:21 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoMerge branch 'PHP-7.0'
Joe Watkins [Mon, 4 Apr 2016 08:21:29 +0000 (09:21 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  news updates

9 years agonews updates
Joe Watkins [Mon, 4 Apr 2016 08:21:06 +0000 (09:21 +0100)]
news updates

9 years agoFised possible use-after-free
Dmitry Stogov [Mon, 4 Apr 2016 06:35:48 +0000 (09:35 +0300)]
Fised possible use-after-free

9 years agoMerge branch 'master' of git.php.net:php-src
Kalle Sommer Nielsen [Sun, 3 Apr 2016 23:31:59 +0000 (01:31 +0200)]
Merge branch 'master' of git.php.net:php-src

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

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Sun, 3 Apr 2016 11:41:08 +0000 (12:41 +0100)]
Merge branch 'master' of https://github.com/php/php-src

9 years agoFix #69537: __debugInfo with empty string for key gives error
Joe Watkins [Sun, 3 Apr 2016 11:40:29 +0000 (12:40 +0100)]
Fix #69537: __debugInfo with empty string for key gives error

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

9 years agofix #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

9 years agoAdded missing zend_parse_parameters_none() to mb_list_encodings()
Kalle Sommer Nielsen [Sun, 3 Apr 2016 00:28:39 +0000 (02:28 +0200)]
Added missing zend_parse_parameters_none() to mb_list_encodings()

9 years agoFix compiler warnings in mysqlnd
Kalle Sommer Nielsen [Sun, 3 Apr 2016 00:27:25 +0000 (02:27 +0200)]
Fix compiler warnings in mysqlnd

9 years agofixed type inference mistake (typo)
Dmitry Stogov [Fri, 1 Apr 2016 17:29:54 +0000 (20:29 +0300)]
fixed type inference mistake (typo)

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

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

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 1 Apr 2016 14:27:42 +0000 (22:27 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71930 (_zval_dtor_func: Assertion `(arr)->gc.refcount <= 1' failed)
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)

9 years agoMerge zend_execute_data->called_scope into zend_execute_data->This.
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).

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Thu, 31 Mar 2016 16:10:51 +0000 (17:10 +0100)]
Merge branch 'master' of https://github.com/php/php-src

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

9 years agofix #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)

9 years agoFlags ZEND_CALL_RELEASE_THIS and ZEND_CALL_CLOSURE should never be set together.
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.

9 years agoUse CALL_INFO flag to check if we need to destroy symbol_table.
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.

9 years agoManual CSE
Dmitry Stogov [Thu, 31 Mar 2016 14:26:27 +0000 (17:26 +0300)]
Manual CSE

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

9 years agoremove unused params || woops
Joe Watkins [Thu, 31 Mar 2016 11:51:00 +0000 (12:51 +0100)]
remove unused params || woops

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

9 years agoMerge branch 'master' of https://github.com/php/php-src
Joe Watkins [Thu, 31 Mar 2016 11:39:58 +0000 (12:39 +0100)]
Merge branch 'master' of https://github.com/php/php-src

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

9 years agofix #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

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

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

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

9 years agofix borked mainstream patch
Anatol Belski [Wed, 30 Mar 2016 23:33:38 +0000 (01:33 +0200)]
fix borked mainstream patch

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

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

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

9 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 22:01:11 +0000 (01:01 +0300)]
Align NEWS entry format

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Wed, 30 Mar 2016 21:54:43 +0000 (00:54 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 21:52:53 +0000 (00:52 +0300)]
Align NEWS entry format

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Wed, 30 Mar 2016 20:49:36 +0000 (22:49 +0200)]
Merge branch 'PHP-7.0'

9 years agoFix bug #71334
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.

9 years agoMerge branch 'PHP-7.0'
Ferenc Kovacs [Wed, 30 Mar 2016 20:29:32 +0000 (22:29 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

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

9 years agoupdate NEWS
Ferenc Kovacs [Wed, 30 Mar 2016 20:28:28 +0000 (22:28 +0200)]
update NEWS

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Wed, 30 Mar 2016 16:32:29 +0000 (18:32 +0200)]
Merge branch 'PHP-7.0'

9 years agoFix __invoke comparison in closure_get_method
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.

9 years agoCorrect error messages
Andrea Faulds [Wed, 30 Mar 2016 15:45:36 +0000 (16:45 +0100)]
Correct error messages

9 years agoFix memory leak
Andrea Faulds [Wed, 30 Mar 2016 13:16:07 +0000 (14:16 +0100)]
Fix memory leak

Leak was introduced in c88ffa9a5673cb3141660626ba1921671f0b84d6.

9 years agoFix two tests on 32-bit
Andrea Faulds [Wed, 30 Mar 2016 12:48:51 +0000 (13:48 +0100)]
Fix two tests on 32-bit

9 years agoExpand UPGRADING and NEWS re: numeric strings changes
Andrea Faulds [Wed, 30 Mar 2016 12:26:27 +0000 (13:26 +0100)]
Expand UPGRADING and NEWS re: numeric strings changes