Dmitry Stogov
8afb91cdad
PHP scanner optimization
2018-03-14 01:48:17 +03:00
Dmitry Stogov
d1585a9e3f
Revert "Handle scanner error in first place (don't hide them from ext/tokenizer) and cheaper whitespace handlig."
...
This reverts commit 0d6da03f5c
.
2018-03-14 01:08:03 +03:00
Dmitry Stogov
0d6da03f5c
Handle scanner error in first place (don't hide them from ext/tokenizer) and cheaper whitespace handlig.
2018-03-13 18:42:09 +03:00
Dmitry Stogov
52fddfcca2
Avoid useless iterations
2018-03-13 16:07:18 +03:00
Dmitry Stogov
9e1e284d48
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 )."
2018-03-13 11:04:03 +03:00
Dmitry Stogov
5574562f8f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 )."
2018-03-13 11:03:57 +03:00
Dmitry Stogov
0643c7ab4d
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 )."
...
This reverts commit 44ba557de5
.
2018-03-13 11:03:45 +03:00
Dmitry Stogov
1c3796b751
Merge branch 'PHP-7.2'
...
* PHP-7.2:
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 ).
2018-03-13 10:47:11 +03:00
Dmitry Stogov
575f5002c0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 ).
2018-03-13 10:45:53 +03:00
Dmitry Stogov
44ba557de5
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 ).
2018-03-13 10:44:53 +03:00
Xinchen Hui
f4da273c76
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
2018-03-13 12:56:27 +08:00
Xinchen Hui
e547c9f139
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
2018-03-13 12:52:07 +08:00
Xinchen Hui
4ee9098514
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
2018-03-13 12:51:26 +08:00
Anatol Belski
a1a3361552
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix heap use after free
2018-03-12 21:03:36 +01:00
Anatol Belski
c469213e7b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix heap use after free
2018-03-12 21:02:40 +01:00
Anatol Belski
4cd64aad8a
Fix heap use after free
...
The value may only be used until PGresult was destroyed, thus it needs
to be copied.
2018-03-12 20:57:21 +01:00
Anatol Belski
08755e6b89
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Use literal as format
2018-03-12 16:02:14 +01:00
Anatol Belski
16570b8c79
Use literal as format
2018-03-12 16:00:24 +01:00
Anatol Belski
a8f71ad5c9
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Use string literal as format
2018-03-12 15:18:51 +01:00
Anatol Belski
8a985403f6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use string literal as format
2018-03-12 15:18:11 +01:00
Anatol Belski
eaa5b1f911
Use string literal as format
2018-03-12 15:17:08 +01:00
Dmitry Stogov
0aa6be3eac
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:21:46 +03:00
Dmitry Stogov
e6fb787c66
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:18:33 +03:00
Dmitry Stogov
f31c4d5398
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:18:12 +03:00
Anatol Belski
3c6f552371
Disable function call under address sanitizer
...
AddressSanitizer seems not to function properly with suppressions. The
default value is still sufficient for test, thus unblock testing by
disabling the function call under AddressSanitizer.
2018-03-11 23:08:27 +01:00
Christoph M. Becker
ef01ec08f0
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix #62545 : wrong unicode mapping in some charsets
2018-03-11 18:05:08 +01:00
Christoph M. Becker
2b02e6dff3
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #62545 : wrong unicode mapping in some charsets
2018-03-11 17:54:45 +01:00
Christoph M. Becker
01ea314e8c
Fix #62545 : wrong unicode mapping in some charsets
...
Undefined characters are best mapped to Unicode REPLACEMENT characters.
2018-03-11 17:38:28 +01:00
Gabriel Caruso
d0ee2a8254
Add is_countable function
...
RFC: https://wiki.php.net/rfc/is-countable
2018-03-11 16:41:16 +01:00
Gabriel Caruso
57896cf515
Make some skipped tests run, and fix some skip messages
2018-03-11 16:38:00 +01:00
Nikita Popov
bd2ecb01d2
Merge branch 'PHP-7.2'
2018-03-11 16:37:08 +01:00
Thomas Petazzoni
8489ecefd3
ext/sockets: make AI_IDN usage optional
...
AI_IDN is not supported by all C libraries (uClibc, musl), so make it
optional, like AI_ALL.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-03-11 16:35:17 +01:00
Bob Weinand
827dff310b
Merge branch 'PHP-7.2'
2018-03-10 15:29:21 +01:00
Bob Weinand
cfd0979be5
Merge branch 'PHP-7.1' into PHP-7.2
2018-03-10 15:21:16 +01:00
Bob Weinand
9c6df8a238
Fix bug #76074 (opcache corrupts variable in for-loop)
2018-03-10 15:20:45 +01:00
Anatol Belski
363e0450aa
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
2018-03-10 11:21:01 +01:00
Anatol Belski
cf0012dad0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
2018-03-10 11:20:11 +01:00
Anatol Belski
8417a23973
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
2018-03-10 11:18:21 +01:00
Joe Watkins
4b43f5c533
Merge branch 'master' of git://github.com/php/php-src
2018-03-10 10:55:12 +01:00
Christoph M. Becker
d48b233991
Update to Oniguruma 6.7.1
...
We also apply the still relevant parts of `oniguruma.patch` and update
the patch accordingly.
2018-03-10 01:07:00 +01:00
Christoph M. Becker
4095f63a90
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix #73957 : signed integer conversion in imagescale()
2018-03-10 00:26:25 +01:00
Christoph M. Becker
d709922979
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #73957 : signed integer conversion in imagescale()
2018-03-10 00:25:11 +01:00
Christoph M. Becker
f1b358c9a9
Fix #73957 : signed integer conversion in imagescale()
...
We must not pass values to `gdImageScale()` which cannot be represented
by an `unsigned int`. Instead we return FALSE, according to what we
already did for negative integers.
2018-03-10 00:17:09 +01:00
Dmitry Stogov
9d139b16c2
Test ReflectionZendExtension class
2018-03-09 12:07:52 +01:00
Gabriel Caruso
701437a948
Remove return types from some magic method in protos
...
__construct, __destruct, __wakeup does not have return types defined.
2018-03-09 12:04:46 +01:00
Anatol Belski
70a1b23c2c
Remove unused assignment
2018-03-07 18:09:58 +01:00
Anatol Belski
98aeb528c3
Remove unused assignment
2018-03-07 17:12:27 +01:00
Dmitry Stogov
dcbac8ade6
Fixed use-after-free.
2018-03-07 10:21:51 +03:00
Dmitry Stogov
856b63a632
Avoid double copying
2018-03-06 21:59:02 +03:00
Dmitry Stogov
4d75504d4f
Avoid double copying and string length recalculation
2018-03-06 21:19:18 +03:00