Stephen Reay
cfbcd4caef
Arginfo stubs for tokenizer
2019-08-11 19:03:04 +02:00
Stephen Reay
44de46ab69
Add support for callable to the stub generator [ci skip]
2019-08-11 18:37:35 +02:00
inem0o
1376f61aed
Add crc32 stub
2019-08-11 18:33:58 +02:00
Derick Rethans
0835e66372
Updated to version 2019.2 (2019b)
2019-08-11 16:06:00 +01:00
Derick Rethans
7d7fd3e818
Empty merge
2019-08-11 16:06:00 +01:00
Derick Rethans
f465560a0f
Updated to version 2019.2 (2019b)
2019-08-11 16:05:59 +01:00
Derick Rethans
7da140b58e
Empty merge
2019-08-11 16:05:59 +01:00
Derick Rethans
7aa1dd3ba1
Updated to version 2019.2 (2019b)
2019-08-11 16:05:58 +01:00
Christoph M. Becker
0c5b75b063
Fix arginfo
...
The second parameter of `imagexbm()` is nullable.
2019-08-11 16:41:31 +02:00
Christoph M. Becker
f30501b172
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix parameter order
2019-08-11 16:18:44 +02:00
Christoph M. Becker
9818f863c3
Fix parameter order
...
`imagecopymerge()` and `imagecopymergegray()` expect the destination
image first, not the other way round.
2019-08-11 16:16:39 +02:00
Christoph M. Becker
f273204011
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Extend color component range checks
2019-08-11 15:23:23 +02:00
Christoph M. Becker
092571c1cb
Extend color component range checks
...
We also check for alpha components to be within range, and we add yet
missing range checks for other functions as well.
2019-08-11 15:21:05 +02:00
Nikita Popov
228bae7d74
Use TypeError for preg_replace type check
...
This is a type violation warning, and as such should use TypeError
in PHP 8.
2019-08-11 14:28:10 +02:00
Christoph M. Becker
4067519541
Fix arginfo
2019-08-11 13:54:52 +02:00
Christoph M. Becker
c90a27387e
Add GD function stubs
2019-08-11 13:17:24 +02:00
Stephen Reay
66b750d07e
Add stubs for PCRE extension
...
Closes GH-4501.
2019-08-11 12:46:42 +02:00
Rimvydas Zilinskas
31d7f9763b
Add partial openssl stubs
...
Closes GH-4509.
2019-08-10 22:19:16 +02:00
Simon Podlipsky
4799b76f39
Add BCMath PHP stubs
...
Closes GH-4508.
2019-08-10 22:18:04 +02:00
Craig Duncan
f9980e609e
Convert gettext functions arginfo to php stubs
...
Closes GH-4506
2019-08-10 17:17:19 +01:00
inem0o
b98bc5bd92
Add base64_encode / base64_decode stubs
...
Closes GH-4504.
2019-08-10 17:40:10 +02:00
Craig Duncan
7e7eaa0eb2
Convert json functions arginfo to php stubs
...
Closes GH-4500
2019-08-10 16:04:30 +01:00
Nikita Popov
ae721c488d
Handle preprocessor conditions inside classes
...
Also remove the dead parseClass() function.
2019-08-10 16:29:45 +02:00
Stephen Reay
9c02c58481
Fallback to curl in gen_stub if wget fails
...
Closes GH-4502.
2019-08-10 16:21:03 +02:00
Nikita Popov
17987da884
Expand preprocessor support in gen_stubs
...
Support #ifdef, #ifndef, #else and nested #if's.
2019-08-10 15:07:54 +02:00
Nikita Popov
d9e2d18505
Add some basic_functions stubs
2019-08-10 12:34:29 +02:00
Dmitry Stogov
172c71980d
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed handling of references in nested data of objects with destructor
2019-08-09 17:47:50 +03:00
Dmitry Stogov
4ebf527136
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed handling of references in nested data of objects with destructor
2019-08-09 17:47:35 +03:00
Dmitry Stogov
722a44d515
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed handling of references in nested data of objects with destructor
2019-08-09 17:47:06 +03:00
Dmitry Stogov
9b43e29d9b
Fixed handling of references in nested data of objects with destructor
2019-08-09 17:43:50 +03:00
Nikita Popov
8edf59ce29
Merge branch 'PHP-7.4'
2019-08-09 16:34:47 +02:00
Nikita Popov
7b152990b6
Don't short-circuit MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE
...
Make sure we always go through mbfl_filt_conv_illegal_output(), so
that the number of illegal characters gets counted.
2019-08-09 16:33:21 +02:00
Nikita Popov
8e2218a36c
Merge branch 'PHP-7.4'
2019-08-09 15:04:10 +02:00
Nikita Popov
699b465da2
Fixed bug #78391
2019-08-09 15:03:40 +02:00
Dmitry Stogov
fa1e4984ab
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fixed bug #78391
Make uninitialized DateTime an Error
Generate arginfo from PHP stub files
2019-08-09 16:03:07 +03:00
Nikita Popov
4276d669d2
Merge branch 'PHP-7.4'
2019-08-09 15:02:57 +02:00
Nikita Popov
69a771346a
Fixed bug #78391
2019-08-09 15:02:44 +02:00
Dmitry Stogov
a037a5bd33
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)
2019-08-09 15:58:44 +03:00
Dmitry Stogov
1456467cfe
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)
2019-08-09 15:58:33 +03:00
Dmitry Stogov
22d23e08c9
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)
2019-08-09 15:58:16 +03:00
Nikita Popov
3b2f2ce474
Make uninitialized DateTime an Error
...
This avoids many spurious false return values.
2019-08-09 14:51:25 +02:00
Nikita Popov
33886f710c
Generate arginfo from PHP stub files
...
Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This file then needs to be included in the implementation appropriately.
Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php.
However, this should also automatically happen when the stub file is
modified.
2019-08-09 14:51:25 +02:00
Dmitry Stogov
6b1cc1252e
Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)
2019-08-09 15:42:39 +03:00
Dmitry Stogov
9b973550b9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Added asserts to catch GC errors when refcount goes below zero.
2019-08-09 13:40:56 +03:00
Dmitry Stogov
b2044cd93e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Added asserts to catch GC errors when refcount goes below zero.
2019-08-09 13:40:39 +03:00
Dmitry Stogov
21a0a28fd0
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Added asserts to catch GC errors when refcount goes below zero.
2019-08-09 13:39:59 +03:00
Dmitry Stogov
2e2cd65d73
Added asserts to catch GC errors when refcount goes below zero.
2019-08-09 13:37:23 +03:00
Matteo Beccati
3b84238200
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Skip test when SIGKILL is not defined
2019-08-09 10:33:23 +02:00
Matteo Beccati
5c8124d311
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Skip test when SIGKILL is not defined
2019-08-09 10:33:15 +02:00
Matteo Beccati
5ef1a30aaf
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Skip test when SIGKILL is not defined
2019-08-09 10:32:56 +02:00