Skip to content

Commit f4b22fc

Browse files
committed
[phpstorm-stubs] gmp_random is not Pure. it changes state in GMP
1 parent c6e098e commit f4b22fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gmp/gmp.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ function gmp_sign(GMP|string|int $num): int {}
509509
* @removed 8.0
510510
*/
511511
#[Deprecated(reason: "Use see gmp_random_bits() or see gmp_random_range() instead", since: "7.2")]
512-
#[Pure(true)]
513512
function gmp_random($limiter = 20) {}
514513

515514
/**

0 commit comments

Comments
 (0)