Skip to content

Commit d2ef625

Browse files
committed
revert some unsafe
1 parent 7b26cff commit d2ef625

File tree

2 files changed

+113
-121
lines changed

2 files changed

+113
-121
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,6 @@ function sys_getloadavg(): array|false {}
20872087

20882088
/**
20892089
* @return object|array<string, mixed>|false
2090-
* @compile-time-eval
20912090
* @refcount 1
20922091
*/
20932092
function get_browser(?string $user_agent = null, bool $return_array = false): object|array|false {}
@@ -3288,7 +3287,6 @@ function unpack(string $format, string $string, int $offset = 0): array|false {}
32883287

32893288
/**
32903289
* @return array<string, string|array|null>
3291-
* @compile-time-eval
32923290
* @refcount 1
32933291
*/
32943292
function password_get_info(string $hash): array {}
@@ -3298,14 +3296,8 @@ function password_get_info(string $hash): array {}
32983296
*/
32993297
function password_hash(#[\SensitiveParameter] string $password, string|int|null $algo, array $options = []): string {}
33003298

3301-
/**
3302-
* @compile-time-eval
3303-
*/
33043299
function password_needs_rehash(string $hash, string|int|null $algo, array $options = []): bool {}
33053300

3306-
/**
3307-
* @compile-time-eval
3308-
*/
33093301
function password_verify(#[\SensitiveParameter] string $password, string $hash): bool {}
33103302

33113303
/**
@@ -3594,16 +3586,16 @@ function doubleval(mixed $value): float {}
35943586
*/
35953587
function boolval(mixed $value): bool {}
35963588

3597-
function strval(mixed $value): string {}
3598-
35993589
/**
36003590
* @compile-time-eval
36013591
*/
3602-
function is_null(mixed $value): bool {}
3592+
function strval(mixed $value): string {}
36033593

36043594
/**
36053595
* @compile-time-eval
36063596
*/
3597+
function is_null(mixed $value): bool {}
3598+
36073599
function is_resource(mixed $value): bool {}
36083600

36093601
/**

0 commit comments

Comments
 (0)