Davey Shafik
cd162bd4ab
Bump versions/dates for release of 7.1.0alpha3
php-7.1.0alpha3
2016-07-05 22:52:18 -07:00
Christoph M. Becker
5cb774faf1
Merge branch 'master' of http://git.php.net/repository/php-src
2016-07-05 16:59:20 +02:00
Nikita Popov
441d44c2eb
Merge branch 'PHP-7.0'
2016-07-05 16:57:32 +02:00
Christoph M. Becker
411c809787
Merge branch 'PHP-7.0'
2016-07-05 16:56:39 +02:00
Nikita Popov
1bdfdb1733
Add NEWS entries
2016-07-05 16:56:36 +02:00
Lauri Kenttä
3380acbdd4
base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)
2016-07-05 16:51:36 +02:00
Lauri Kenttä
77e8c299ba
base64_decode: remove redundant code
...
case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).
case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.
2016-07-05 16:51:36 +02:00
Lauri Kenttä
6d17ee744f
base64_decode: fix bug #72263 (skips char after padding)
2016-07-05 16:51:36 +02:00
Lauri Kenttä
260c07db85
base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)
...
This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in strict mode.
2016-07-05 16:51:36 +02:00
Lauri Kenttä
fbc74bb5f9
base64_decode: remove redundant check
...
If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.
2016-07-05 16:51:36 +02:00
Lauri Kenttä
59d36bfcf2
base64_decode: reorder to fix out of bounds read
2016-07-05 16:51:36 +02:00
Christoph M. Becker
869604eefb
Update NEWS
2016-07-05 16:49:40 +02:00
Christoph M. Becker
c015095042
Merge branch 'PHP-5.6' into PHP-7.0
...
# Resolved conflicts:
# ext/spl/spl_directory.c
2016-07-05 16:43:39 +02:00
Valentin VALCIU
4c24f170ea
Fix bug #55701 : GlobIterator throws LogicException
...
GlobIterator throws LogicException with message 'The parent constructor was
not called' on its first operation when the glob expression doesn't match
any file. It also throws on the first operation after the iteration
completes, when the glob expression matches some files.
# Resolved conflicts:
# ext/spl/spl_directory.c
2016-07-05 16:39:25 +02:00
Jeremy Mikola
7aaa310d7b
Export php_date_get_interface_ce() for extension use
2016-07-05 16:19:45 +02:00
Nikita Popov
cc909a8923
Merge branch 'PHP-7.0'
2016-07-05 16:10:25 +02:00
Adam Baratz
f22bc6438d
Use size_t instead of int for loop counter
2016-07-05 16:09:27 +02:00
Valentin V. Bartenev
a129799628
Removed duplicate php.h include in SAPI.h
...
It's already included a few lines above.
2016-07-05 16:06:20 +02:00
Valentin V. Bartenev
baa812ca95
Removed a surplus condition in php_register_variable_ex()
...
The test for equality to " " implies that the character isn't NUL.
2016-07-05 16:06:19 +02:00
Anatol Belski
4a522e3b17
fix error text
2016-07-05 15:58:55 +02:00
Anatol Belski
28ed30df53
fix datatypes and add range checks
2016-07-05 15:54:57 +02:00
Nikita Popov
dbe6a23194
Closure::fromCallable(): Getting non-static method statically
...
As this is new functionality, I'm going directly for a TypeError,
rather than a deprecation warning.
2016-07-05 15:52:03 +02:00
Nikita Popov
ceae9fb540
Closure::fromCallable(): Better LSB handling
...
The previous fix missed the "late" part of "late static binding" :)
2016-07-05 15:44:17 +02:00
Nikita Popov
e959a9b652
Closure::fromCallable(): Fix late static binding
2016-07-05 15:31:11 +02:00
Anatol Belski
de643ead3e
re-add range check
2016-07-05 15:15:20 +02:00
Nikita Popov
e395b62c51
Closure::fromCallable(): Use fake closures
2016-07-05 15:13:51 +02:00
Nikita Popov
03fbc27f07
Closure::fromCallable(): Fix test files and names
2016-07-05 15:13:51 +02:00
Anatol Belski
5920445a5f
Merge branch 'PHP-7.0'
...
* PHP-7.0:
fix possible optimization bug
2016-07-05 15:04:10 +02:00
Anatol Belski
4576c41291
fix possible optimization bug
2016-07-05 14:57:16 +02:00
Nikita Popov
041476f4ae
Closure::fromCallable(): Fix stack corruption
...
So the tests work at least...
2016-07-05 14:54:35 +02:00
Nikita Popov
2b46e3c710
Merge branch 'PHP-7.0'
2016-07-05 14:34:20 +02:00
Nikita Popov
8a555d7c66
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
Zend/zend_compile.c
2016-07-05 14:32:38 +02:00
Pedro Magalhães
08777e9615
Don't enforce LSP if prototype method is private
...
Fixes bug #72496 .
2016-07-05 14:30:22 +02:00
Anatol Belski
382f6a20c9
Merge branch 'PHP-7.0'
...
* PHP-7.0:
fix typo
2016-07-05 12:38:14 +02:00
Anatol Belski
adf0920065
fix typo
2016-07-05 12:36:55 +02:00
Anatol Belski
41622c86bd
Revert "fix datatype and add range check"
...
This reverts commit 14bdd8246c .
2016-07-05 10:35:19 +02:00
Dmitry Stogov
818a47c24a
Fixed tests
2016-07-05 11:30:55 +03:00
Anatol Belski
14bdd8246c
fix datatype and add range check
2016-07-05 10:04:23 +02:00
Xinchen Hui
11d0101516
Some cleanup:
...
1. use c89 comments
2. exception should not be swallowd
3. ZVAL_OBJ may have problem if obj is NULL in the feature(who knows)
2016-07-05 15:31:46 +08:00
Aaron Piotrowski
3f108f50f9
Merge branch 'pull-request/1929'
2016-07-05 02:29:53 -05:00
Aaron Piotrowski
9962ab2962
Update NEWS and UPGRADING
2016-07-05 02:10:33 -05:00
Aaron Piotrowski
24237027bc
Merge branch 'throw-error-in-extensions'
2016-07-05 02:08:39 -05:00
Joe Watkins
42666da171
upgrading entry for Closure::fromCallable
2016-07-05 08:03:00 +01:00
Joe Watkins
b9b048c113
news entry for Closure::fromCallable
2016-07-05 08:01:31 +01:00
Joe Watkins
f4a6b74667
Merge branch 'pull-request/1906'
2016-07-05 07:57:06 +01:00
Anatol Belski
5ee9ac9898
Merge branch 'PHP-7.0'
...
* PHP-7.0:
prepare next version
2016-07-05 08:10:26 +02:00
Anatol Belski
2ed986d3c8
prepare next version
2016-07-05 08:09:20 +02:00
Anatol Belski
4b9362d347
Increase ODBCVER to 3.5 by default
2016-07-04 16:48:59 +02:00
Anatol Belski
421cc65510
Merge branch 'PHP-7.0'
...
* PHP-7.0:
add missing NEWS entry
2016-07-04 11:07:54 +02:00
Anatol Belski
d5adc1c1be
add missing news entry
2016-07-04 11:07:34 +02:00