File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ Bug GH-16368: gmp_init on first argument as null.
3
+ --EXTENSIONS--
4
+ gmp
5
+ --FILE--
6
+ <?php
7
+ gmp_init ($ inexistent );
8
+ ?>
9
+ --EXPECTF--
10
+ Warning: Undefined variable $inexistent in %s on line %d
11
+
12
+ Deprecated: gmp_init(): Passing null to parameter #1 ($num) of type string|int is deprecated in %s on line %d
Original file line number Diff line number Diff line change @@ -53,5 +53,5 @@ object(GMP)#2 (1) {
53
53
gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, float given
54
54
gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
55
55
gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
56
- gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, null given
56
+ Number must be of type GMP|string|int, null given
57
57
gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, array given
You can’t perform that action at this time.
0 commit comments