]> granicus.if.org Git - php/log
php
7 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 10 Jan 2018 11:11:23 +0000 (14:11 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  minor optimize on strstr

7 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 10 Jan 2018 10:24:03 +0000 (18:24 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  cleanup

7 years agominor optimize on strstr
Xinchen Hui [Wed, 10 Jan 2018 10:22:59 +0000 (18:22 +0800)]
minor optimize on strstr

7 years agoAdded expectation
Dmitry Stogov [Wed, 10 Jan 2018 09:37:13 +0000 (12:37 +0300)]
Added expectation

7 years agocleanup
Dmitry Stogov [Wed, 10 Jan 2018 09:03:04 +0000 (12:03 +0300)]
cleanup

7 years agoRemove HashTable holes in functions and class tables.
Dmitry Stogov [Wed, 10 Jan 2018 07:15:55 +0000 (10:15 +0300)]
Remove HashTable holes in functions and class tables.

7 years agoFixed whitespaces
Dmitry Stogov [Tue, 9 Jan 2018 23:22:07 +0000 (02:22 +0300)]
Fixed whitespaces

7 years agoRemoved unused array
Dmitry Stogov [Tue, 9 Jan 2018 20:17:10 +0000 (23:17 +0300)]
Removed unused array

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 9 Jan 2018 19:25:19 +0000 (20:25 +0100)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 9 Jan 2018 19:24:25 +0000 (20:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFixed bug #75786
Nikita Popov [Tue, 9 Jan 2018 19:20:31 +0000 (20:20 +0100)]
Fixed bug #75786

SEND_UNPACK on iterators was duplicating references in-place,
which effectively leaks the original value and causes an off-by-one
refcount on the duplicated value.

Replace this with a deref, as an actual duplication is not even
needed in this case.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Tue, 9 Jan 2018 17:44:44 +0000 (18:44 +0100)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 9 Jan 2018 17:44:20 +0000 (18:44 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoBackport narrowing fix to 7.1
Nikita Popov [Sat, 16 Dec 2017 20:11:40 +0000 (21:11 +0100)]
Backport narrowing fix to 7.1

This is a cherry-pick of 8a4532319dfae83ff16b2d2bbfeed062924c3c27.

7 years agoAllow commas in specializer conditions
Dmitry Stogov [Tue, 9 Jan 2018 12:08:18 +0000 (15:08 +0300)]
Allow commas in specializer conditions

7 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Tue, 9 Jan 2018 08:23:38 +0000 (16:23 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWS
  Fixed bug #75781 (substr_count incorrect result)

7 years agoUpdate NEWS
Xinchen Hui [Tue, 9 Jan 2018 08:23:26 +0000 (16:23 +0800)]
Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Tue, 9 Jan 2018 08:21:13 +0000 (16:21 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75781 (substr_count incorrect result)

7 years agoFixed bug #75781 (substr_count incorrect result)
Xinchen Hui [Tue, 9 Jan 2018 08:20:19 +0000 (16:20 +0800)]
Fixed bug #75781 (substr_count incorrect result)

7 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Tue, 9 Jan 2018 07:53:37 +0000 (10:53 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed possible incorrect "mark" usage

7 years agoFixed possible incorrect "mark" usage
Dmitry Stogov [Tue, 9 Jan 2018 07:30:00 +0000 (10:30 +0300)]
Fixed possible incorrect "mark" usage

7 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Mon, 8 Jan 2018 04:57:02 +0000 (12:57 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Implement high resolution monotonic timer function hrtime()

7 years agoremove false dup
Xinchen Hui [Mon, 8 Jan 2018 04:55:57 +0000 (12:55 +0800)]
remove false dup

7 years agoImplement high resolution monotonic timer function hrtime()
Anatol Belski [Sun, 7 Jan 2018 14:55:12 +0000 (15:55 +0100)]
Implement high resolution monotonic timer function hrtime()

7 years agoUse stack allocated zvals
Xinchen Hui [Sun, 7 Jan 2018 12:03:49 +0000 (20:03 +0800)]
Use stack allocated zvals

7 years agoUse GC_ADDREF
Xinchen Hui [Sun, 7 Jan 2018 11:46:21 +0000 (19:46 +0800)]
Use GC_ADDREF

7 years agoFixed bug while dealing with ADD_ARRAY_ELEMENT against an existing const array
Xinchen Hui [Sun, 7 Jan 2018 06:17:47 +0000 (14:17 +0800)]
Fixed bug while dealing with ADD_ARRAY_ELEMENT against an existing const array

7 years agoAvoid abs() type mismatch warnings
David Carlier [Mon, 18 Dec 2017 22:34:37 +0000 (22:34 +0000)]
Avoid abs() type mismatch warnings

timelib_time z field was mistakenly promoted to 64 bits types in
one place. Otherwise silence warning with explicit cast down to int.

7 years agonet/if.h requires sys/socket.h on OpenBSD
David Carlier [Sat, 30 Dec 2017 09:44:53 +0000 (09:44 +0000)]
net/if.h requires sys/socket.h on OpenBSD

This led to a detection failure of this particular header.

7 years agoRemove trailing whitespace in C++ files
Gabriel Caruso [Thu, 4 Jan 2018 06:42:48 +0000 (04:42 -0200)]
Remove trailing whitespace in C++ files

[ci skip]

7 years agoPHP 7.1 is the new hotness
Bishop Bettini [Sat, 6 Jan 2018 02:49:52 +0000 (21:49 -0500)]
PHP 7.1 is the new hotness

PHP 7.0 entered security fix phase.

[ci skip]

7 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Fri, 5 Jan 2018 07:05:47 +0000 (15:05 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Fixed typo

7 years agoChange assertion
Xinchen Hui [Fri, 5 Jan 2018 07:05:05 +0000 (15:05 +0800)]
Change assertion

7 years agoFixed typo
Kalle Sommer Nielsen [Fri, 5 Jan 2018 06:30:45 +0000 (07:30 +0100)]
Fixed typo

7 years agoOptimized FETCH_CLASS before INSTANCEOF out if possible
Xinchen Hui [Fri, 5 Jan 2018 04:58:28 +0000 (12:58 +0800)]
Optimized FETCH_CLASS before INSTANCEOF out if possible

7 years agoFixed test
Xinchen Hui [Fri, 5 Jan 2018 04:54:20 +0000 (12:54 +0800)]
Fixed test

7 years agoFixed wrongly const replacing on partial array
Xinchen Hui [Fri, 5 Jan 2018 04:29:39 +0000 (12:29 +0800)]
Fixed wrongly const replacing on partial array

7 years agoDon't prevent loading odbc and pdo_odbc for tests
Anatol Belski [Thu, 4 Jan 2018 17:23:31 +0000 (18:23 +0100)]
Don't prevent loading odbc and pdo_odbc for tests

7 years agoRe-enable ODBC tests
Anatol Belski [Thu, 4 Jan 2018 16:31:59 +0000 (17:31 +0100)]
Re-enable ODBC tests

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 4 Jan 2018 15:10:37 +0000 (16:10 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix tests

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 4 Jan 2018 15:09:51 +0000 (16:09 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix tests

7 years agoFix tests
Anatol Belski [Thu, 4 Jan 2018 15:08:41 +0000 (16:08 +0100)]
Fix tests

7 years agoAdded a <in deps path> for includes and libs on configure
Kalle Sommer Nielsen [Thu, 4 Jan 2018 07:58:27 +0000 (08:58 +0100)]
Added a <in deps path> for includes and libs on configure

7 years agoFix macro for Windows
Kalle Sommer Nielsen [Thu, 4 Jan 2018 07:16:20 +0000 (08:16 +0100)]
Fix macro for Windows

7 years agoUse PHP_WIN32
Kalle Sommer Nielsen [Thu, 4 Jan 2018 07:14:41 +0000 (08:14 +0100)]
Use PHP_WIN32

7 years agoKill the references to C:\winnt (Windows 2000), which we don't support, also remove...
Kalle Sommer Nielsen [Thu, 4 Jan 2018 07:11:34 +0000 (08:11 +0100)]
Kill the references to C:\winnt (Windows 2000), which we don't support, also remove the note about Windows NT based OS, as we only support NT anyway

7 years agoMerge branch 'clean-up' of https://github.com/carusogabriel/php-src
Xinchen Hui [Thu, 4 Jan 2018 06:13:08 +0000 (14:13 +0800)]
Merge branch 'clean-up' of https://github.com/carusogabriel/php-src

* 'clean-up' of https://github.com/carusogabriel/php-src:
  Trailing whitespaces on Zend
  Trailing whitespaces on win32
  Trailing whitespaces on sapi/*
  Trailing whitespaces on ext/*

7 years agoAdded entry on UPGRADING
Xinchen Hui [Thu, 4 Jan 2018 05:50:34 +0000 (13:50 +0800)]
Added entry on UPGRADING

7 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Thu, 4 Jan 2018 05:45:11 +0000 (13:45 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Happy new year (Update copyright to 2018)
  Happy new year (Update copyright to 2018)
  Revert "Enable ODBC tests on AppVeyor"
  Enable ODBC tests on AppVeyor
  Skip on Travis-CI
  Extend skip section
  2018
  missing changelog entries + fix version and date
  missing changelog entries
  2018
  Trailing whitespaces

7 years agoTrailing whitespaces on Zend
Gabriel Caruso [Thu, 4 Jan 2018 04:41:57 +0000 (02:41 -0200)]
Trailing whitespaces on Zend

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
7 years agoTrailing whitespaces on win32
Gabriel Caruso [Thu, 4 Jan 2018 04:41:26 +0000 (02:41 -0200)]
Trailing whitespaces on win32

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
7 years agoTrailing whitespaces on sapi/*
Gabriel Caruso [Thu, 4 Jan 2018 04:39:54 +0000 (02:39 -0200)]
Trailing whitespaces on sapi/*

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
7 years agoTrailing whitespaces on ext/*
Gabriel Caruso [Thu, 4 Jan 2018 04:38:32 +0000 (02:38 -0200)]
Trailing whitespaces on ext/*

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
7 years agoHappy new year (Update copyright to 2018)
Lior Kaplan [Wed, 3 Jan 2018 23:02:17 +0000 (01:02 +0200)]
Happy new year (Update copyright to 2018)

7 years agoMerge branch 'PHP-7.2'
Lior Kaplan [Wed, 3 Jan 2018 22:58:17 +0000 (00:58 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Happy new year (Update copyright to 2018)

7 years agoHappy new year (Update copyright to 2018)
Lior Kaplan [Wed, 3 Jan 2018 22:48:45 +0000 (00:48 +0200)]
Happy new year (Update copyright to 2018)

7 years agoRevert "Enable ODBC tests on AppVeyor"
Anatol Belski [Wed, 3 Jan 2018 20:05:56 +0000 (21:05 +0100)]
Revert "Enable ODBC tests on AppVeyor"

This reverts commit b0db19e2231f23fc4bd3138aad8eee5dce98ece1.

More test fixes needed to evaluate.

7 years agoEnable ODBC tests on AppVeyor
Anatol Belski [Wed, 3 Jan 2018 19:28:16 +0000 (20:28 +0100)]
Enable ODBC tests on AppVeyor

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 3 Jan 2018 17:36:34 +0000 (18:36 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Skip on Travis-CI

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 3 Jan 2018 17:36:10 +0000 (18:36 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Skip on Travis-CI

7 years agoSkip on Travis-CI
Anatol Belski [Wed, 3 Jan 2018 17:32:33 +0000 (18:32 +0100)]
Skip on Travis-CI

The current doc states max ram for a test VM would be 7.5G, the
currently used container image has even less. This skip should be
revisited, as the available memory amount shifts. The way of checking
/proc/meminfo doesn't work reliably on containers at least, thus
skipping explicitly on Travis-CI makes sense.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 3 Jan 2018 15:56:42 +0000 (16:56 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Extend skip section

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 3 Jan 2018 15:56:00 +0000 (16:56 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Extend skip section

7 years agoExtend skip section
Anatol Belski [Wed, 3 Jan 2018 15:54:14 +0000 (16:54 +0100)]
Extend skip section

The test requires some untrivial amount of RAM. Added a simple check for
the system free RAM to avoid false positive fails.

7 years agoMerge branch 'PHP-7.2'
Remi Collet [Wed, 3 Jan 2018 14:13:18 +0000 (15:13 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  2018

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Remi Collet [Wed, 3 Jan 2018 14:13:10 +0000 (15:13 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  2018

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Wed, 3 Jan 2018 14:13:03 +0000 (15:13 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  2018

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Wed, 3 Jan 2018 14:12:56 +0000 (15:12 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  2018

7 years ago2018
Remi Collet [Wed, 3 Jan 2018 14:12:39 +0000 (15:12 +0100)]
2018

7 years agoMerge branch 'PHP-7.2'
Remi Collet [Wed, 3 Jan 2018 14:10:25 +0000 (15:10 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  missing changelog entries + fix version and date
  missing changelog entries
  2018

7 years agomissing changelog entries + fix version and date
Remi Collet [Wed, 3 Jan 2018 14:10:09 +0000 (15:10 +0100)]
missing changelog entries + fix version and date

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Remi Collet [Wed, 3 Jan 2018 14:07:36 +0000 (15:07 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  missing changelog entries
  2018

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Wed, 3 Jan 2018 14:07:18 +0000 (15:07 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  2018

7 years agomissing changelog entries
Remi Collet [Wed, 3 Jan 2018 14:07:09 +0000 (15:07 +0100)]
missing changelog entries

7 years ago2018
Remi Collet [Wed, 3 Jan 2018 14:04:48 +0000 (15:04 +0100)]
2018

7 years agoTrailing whitespaces
Gabriel Caruso [Sun, 31 Dec 2017 04:35:25 +0000 (05:35 +0100)]
Trailing whitespaces

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
7 years agoEnable replacing const to INSTANCEOF
Xinchen Hui [Wed, 3 Jan 2018 10:28:03 +0000 (18:28 +0800)]
Enable replacing const to INSTANCEOF

7 years agoMerge branch 'instanceof-const' of https://github.com/nikic/php-src
Xinchen Hui [Wed, 3 Jan 2018 08:08:20 +0000 (16:08 +0800)]
Merge branch 'instanceof-const' of https://github.com/nikic/php-src

* 'instanceof-const' of https://github.com/nikic/php-src:
  Return false for instanceof on literal

7 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Wed, 3 Jan 2018 08:02:15 +0000 (16:02 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Happy new year (Update copyright to 2018)

Conflicts:
ext/phar/LICENSE

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Wed, 3 Jan 2018 08:00:34 +0000 (16:00 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Happy new year (Update copyright to 2018)

7 years agoMerge branch 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src into PHP-7.1
Xinchen Hui [Wed, 3 Jan 2018 07:59:05 +0000 (15:59 +0800)]
Merge branch 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src into PHP-7.1

* 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src:
  Happy new year (Update copyright to 2018)

7 years agoMerge branch 'PHP-7.2'
Ferenc Kovacs [Tue, 2 Jan 2018 23:36:55 +0000 (00:36 +0100)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Ferenc Kovacs [Tue, 2 Jan 2018 23:35:50 +0000 (00:35 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Tue, 2 Jan 2018 23:34:24 +0000 (00:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Tue, 2 Jan 2018 23:33:20 +0000 (00:33 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

7 years agophp 5.6.34 is next
Ferenc Kovacs [Tue, 2 Jan 2018 23:30:58 +0000 (00:30 +0100)]
php 5.6.34 is next

7 years agoHappy new year (Update copyright to 2018)
Lior Kaplan [Tue, 2 Jan 2018 21:42:29 +0000 (23:42 +0200)]
Happy new year (Update copyright to 2018)

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 2 Jan 2018 11:29:43 +0000 (12:29 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Skip test for pdo_odbc

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 2 Jan 2018 11:29:19 +0000 (12:29 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Skip test for pdo_odbc

7 years agoSkip test for pdo_odbc
Anatol Belski [Tue, 2 Jan 2018 11:12:46 +0000 (12:12 +0100)]
Skip test for pdo_odbc

The error messages are too discrepant and '-' is otherwise not allowed
by the parser.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 2 Jan 2018 10:39:36 +0000 (11:39 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix test for pdo_odbc

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 2 Jan 2018 10:39:09 +0000 (11:39 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix test for pdo_odbc

7 years agoFix test for pdo_odbc
Anatol Belski [Tue, 2 Jan 2018 10:34:57 +0000 (11:34 +0100)]
Fix test for pdo_odbc

SqlServer requires parentheses to the TOP argument.

7 years agoMerge branch 'PHP-7.2'
Stanislav Malyshev [Tue, 2 Jan 2018 08:12:43 +0000 (00:12 -0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix some int/long confusion issues in GMP

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Tue, 2 Jan 2018 08:12:33 +0000 (00:12 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix some int/long confusion issues in GMP

7 years agoFix some int/long confusion issues in GMP
Stanislav Malyshev [Tue, 2 Jan 2018 08:10:27 +0000 (00:10 -0800)]
Fix some int/long confusion issues in GMP

mpz_setbit seems to have limit of INT_MAX * GMP_NUMB_BITS on
the number of bits supported, and will abort() if that limit
is exceeded.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 2 Jan 2018 06:50:57 +0000 (07:50 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 2 Jan 2018 06:50:18 +0000 (07:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 2 Jan 2018 06:49:53 +0000 (07:49 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Tue, 2 Jan 2018 06:49:09 +0000 (07:49 +0100)]
[ci skip] update NEWS