@@ -1660,6 +1660,9 @@ function array_unshift(array &$array, mixed ...$values): int {}
1660
1660
1661
1661
function array_splice (array &$ array , int $ offset , ?int $ length = null , mixed $ replacement = []): array {}
1662
1662
1663
+ /**
1664
+ * @compile-time-eval
1665
+ */
1663
1666
function array_slice (array $ array , int $ offset , ?int $ length = null , bool $ preserve_keys = false ): array {}
1664
1667
1665
1668
/**
@@ -1708,14 +1711,21 @@ function array_values(array $array): array {}
1708
1711
1709
1712
/**
1710
1713
* @return array<int|string, int>
1714
+ * @compile-time-eval
1711
1715
* @refcount 1
1712
1716
*/
1713
1717
function array_count_values (array $ array ): array {}
1714
1718
1715
- /** @refcount 1 */
1719
+ /**
1720
+ * @compile-time-eval
1721
+ * @refcount 1
1722
+ */
1716
1723
function array_column (array $ array , int |string |null $ column_key , int |string |null $ index_key = null ): array {}
1717
1724
1718
- /** @refcount 1 */
1725
+ /**
1726
+ * @compile-time-eval
1727
+ * @refcount 1
1728
+ */
1719
1729
function array_reverse (array $ array , bool $ preserve_keys = false ): array {}
1720
1730
1721
1731
function array_pad (array $ array , int $ length , mixed $ value ): array {}
@@ -1844,8 +1854,14 @@ function array_multisort(&$array, &...$rest): bool {}
1844
1854
/** @return int|string|array<int, int|string> */
1845
1855
function array_rand (array $ array , int $ num = 1 ): int |string |array {}
1846
1856
1857
+ /**
1858
+ * @compile-time-eval
1859
+ */
1847
1860
function array_sum (array $ array ): int |float {}
1848
1861
1862
+ /**
1863
+ * @compile-time-eval
1864
+ */
1849
1865
function array_product (array $ array ): int |float {}
1850
1866
1851
1867
function array_reduce (array $ array , callable $ callback , mixed $ initial = null ): mixed {}
@@ -1866,8 +1882,14 @@ function array_key_exists($key, array $array): bool {}
1866
1882
*/
1867
1883
function key_exists ($ key , array $ array ): bool {}
1868
1884
1885
+ /**
1886
+ * @compile-time-eval
1887
+ */
1869
1888
function array_chunk (array $ array , int $ length , bool $ preserve_keys = false ): array {}
1870
1889
1890
+ /**
1891
+ * @compile-time-eval
1892
+ */
1871
1893
function array_combine (array $ keys , array $ values ): array {}
1872
1894
1873
1895
/** @compile-time-eval */
@@ -2033,6 +2055,7 @@ function parse_ini_file(string $filename, bool $process_sections = false, int $s
2033
2055
2034
2056
/**
2035
2057
* @return array<int|string, bool|int|float|string|array|null>|false
2058
+ * @compile-time-eval
2036
2059
* @refcount 1
2037
2060
*/
2038
2061
function parse_ini_string (string $ ini_string , bool $ process_sections = false , int $ scanner_mode = INI_SCANNER_NORMAL ): array |false {}
@@ -2261,8 +2284,14 @@ function bin2hex(string $string): string {}
2261
2284
*/
2262
2285
function hex2bin (string $ string ): string |false {}
2263
2286
2287
+ /**
2288
+ * @compile-time-eval
2289
+ */
2264
2290
function strspn (string $ string , string $ characters , int $ offset = 0 , ?int $ length = null ): int {}
2265
2291
2292
+ /**
2293
+ * @compile-time-eval
2294
+ */
2266
2295
function strcspn (string $ string , string $ characters , int $ offset = 0 , ?int $ length = null ): int {}
2267
2296
2268
2297
#ifdef HAVE_NL_LANGINFO
@@ -2284,7 +2313,10 @@ function chop(string $string, string $characters = " \n\r\t\v\0"): string {}
2284
2313
/** @compile-time-eval */
2285
2314
function ltrim (string $ string , string $ characters = " \n\r\t\v\0" ): string {}
2286
2315
2287
- /** @refcount 1 */
2316
+ /**
2317
+ * @compile-time-eval
2318
+ * @refcount 1
2319
+ */
2288
2320
function wordwrap (string $ string , int $ width = 75 , string $ break = "\n" , bool $ cut_long_words = false ): string {}
2289
2321
2290
2322
/**
@@ -2302,7 +2334,10 @@ function implode(string|array $separator, ?array $array = null): string {}
2302
2334
/** @alias implode */
2303
2335
function join (string |array $ separator , ?array $ array = null ): string {}
2304
2336
2305
- /** @refcount 1 */
2337
+ /**
2338
+ * @compile-time-eval
2339
+ * @refcount 1
2340
+ */
2306
2341
function strtok (string $ string , ?string $ token = null ): string |false {}
2307
2342
2308
2343
/** @compile-time-eval */
@@ -2323,7 +2358,10 @@ function dirname(string $path, int $levels = 1): string {}
2323
2358
*/
2324
2359
function pathinfo (string $ path , int $ flags = PATHINFO_ALL ): array |string {}
2325
2360
2326
- /** @refcount 1 */
2361
+ /**
2362
+ * @compile-time-eval
2363
+ * @refcount 1
2364
+ */
2327
2365
function stristr (string $ haystack , string $ needle , bool $ before_needle = false ): string |false {}
2328
2366
2329
2367
/**
@@ -2347,7 +2385,10 @@ function strrpos(string $haystack, string $needle, int $offset = 0): int|false {
2347
2385
/** @compile-time-eval */
2348
2386
function strripos (string $ haystack , string $ needle , int $ offset = 0 ): int |false {}
2349
2387
2350
- /** @refcount 1 */
2388
+ /**
2389
+ * @compile-time-eval
2390
+ * @refcount 1
2391
+ */
2351
2392
function strrchr (string $ haystack , string $ needle ): string |false {}
2352
2393
2353
2394
/** @compile-time-eval */
@@ -2359,16 +2400,25 @@ function str_starts_with(string $haystack, string $needle): bool {}
2359
2400
/** @compile-time-eval */
2360
2401
function str_ends_with (string $ haystack , string $ needle ): bool {}
2361
2402
2362
- /** @refcount 1 */
2403
+ /**
2404
+ * @compile-time-eval
2405
+ * @refcount 1
2406
+ */
2363
2407
function chunk_split (string $ string , int $ length = 76 , string $ separator = "\r\n" ): string {}
2364
2408
2365
2409
/** @compile-time-eval */
2366
2410
function substr (string $ string , int $ offset , ?int $ length = null ): string {}
2367
2411
2368
- /** @return string|array<int|string, string> */
2412
+ /**
2413
+ * @return string|array<int|string, string>
2414
+ * @compile-time-eval
2415
+ */
2369
2416
function substr_replace (array |string $ string , array |string $ replace , array |int $ offset , array |int |null $ length = null ): string |array {}
2370
2417
2371
- /** @refcount 1 */
2418
+ /**
2419
+ * @compile-time-eval
2420
+ * @refcount 1
2421
+ */
2372
2422
function quotemeta (string $ string ): string {}
2373
2423
2374
2424
/** @compile-time-eval */
@@ -2392,6 +2442,9 @@ function lcfirst(string $string): string {}
2392
2442
*/
2393
2443
function ucwords (string $ string , string $ separators = " \t\r\n\f\v" ): string {}
2394
2444
2445
+ /**
2446
+ * @compile-time-eval
2447
+ */
2395
2448
function strtr (string $ string , string |array $ from , ?string $ to = null ): string {}
2396
2449
2397
2450
/**
@@ -2403,14 +2456,26 @@ function strrev(string $string): string {}
2403
2456
/** @param float $percent */
2404
2457
function similar_text (string $ string1 , string $ string2 , &$ percent = null ): int {}
2405
2458
2459
+ /**
2460
+ * @compile-time-eval
2461
+ */
2406
2462
function addcslashes (string $ string , string $ characters ): string {}
2407
2463
2464
+ /**
2465
+ * @compile-time-eval
2466
+ */
2408
2467
function addslashes (string $ string ): string {}
2409
2468
2410
- /** @refcount 1 */
2469
+ /**
2470
+ * @compile-time-eval
2471
+ * @refcount 1
2472
+ */
2411
2473
function stripcslashes (string $ string ): string {}
2412
2474
2413
- /** @refcount 1 */
2475
+ /**
2476
+ * @compile-time-eval
2477
+ * @refcount 1
2478
+ */
2414
2479
function stripslashes (string $ string ): string {}
2415
2480
2416
2481
/**
@@ -2430,9 +2495,15 @@ function str_ireplace(array|string $search, array|string $replace, string|array
2430
2495
/** @refcount 1 */
2431
2496
function hebrev (string $ string , int $ max_chars_per_line = 0 ): string {}
2432
2497
2498
+ /**
2499
+ * @compile-time-eval
2500
+ */
2433
2501
function nl2br (string $ string , bool $ use_xhtml = true ): string {}
2434
2502
2435
- /** @refcount 1 */
2503
+ /**
2504
+ * @compile-time-eval
2505
+ * @refcount 1
2506
+ */
2436
2507
function strip_tags (string $ string , array |string |null $ allowed_tags = null ): string {}
2437
2508
2438
2509
/**
@@ -2455,6 +2526,7 @@ function str_repeat(string $string, int $times): string {}
2455
2526
2456
2527
/**
2457
2528
* @return array<int, int>|string
2529
+ * @compile-time-eval
2458
2530
* @refcount 1
2459
2531
*/
2460
2532
function count_chars (string $ string , int $ mode = 0 ): array |string {}
@@ -2469,6 +2541,9 @@ function localeconv(): array {}
2469
2541
2470
2542
function strnatcasecmp (string $ string1 , string $ string2 ): int {}
2471
2543
2544
+ /**
2545
+ * @compile-time-eval
2546
+ */
2472
2547
function substr_count (string $ haystack , string $ needle , int $ offset = 0 , ?int $ length = null ): int {}
2473
2548
2474
2549
function str_pad (string $ string , int $ length , string $ pad_string = " " , int $ pad_type = STR_PAD_RIGHT ): string {}
@@ -2479,7 +2554,10 @@ function str_pad(string $string, int $length, string $pad_string = " ", int $pad
2479
2554
*/
2480
2555
function sscanf (string $ string , string $ format , mixed &...$ vars ): array |int |null {}
2481
2556
2482
- /** @refcount 1 */
2557
+ /**
2558
+ * @compile-time-eval
2559
+ * @refcount 1
2560
+ */
2483
2561
function str_rot13 (string $ string ): string {}
2484
2562
2485
2563
/** @refcount 1 */
@@ -2497,18 +2575,26 @@ function str_word_count(string $string, int $format = 0, ?string $characters = n
2497
2575
*/
2498
2576
function str_split (string $ string , int $ length = 1 ): array {}
2499
2577
2500
- /** @refcount 1 */
2578
+ /**
2579
+ * @compile-time-eval
2580
+ * @refcount 1
2581
+ */
2501
2582
function strpbrk (string $ string , string $ characters ): string |false {}
2502
2583
2584
+ /**
2585
+ * @compile-time-eval
2586
+ */
2503
2587
function substr_compare (string $ haystack , string $ needle , int $ offset , ?int $ length = null , bool $ case_insensitive = false ): int {}
2504
2588
2505
2589
/**
2590
+ * @compile-time-eval
2506
2591
* @refcount 1
2507
2592
* @deprecated
2508
2593
*/
2509
2594
function utf8_encode (string $ string ): string {}
2510
2595
2511
2596
/**
2597
+ * @compile-time-eval
2512
2598
* @refcount 1
2513
2599
* @deprecated
2514
2600
*/
@@ -2883,10 +2969,16 @@ function http_build_query(array|object $data, string $numeric_prefix = "", ?stri
2883
2969
2884
2970
/* image.c */
2885
2971
2886
- /** @refcount 1 */
2972
+ /**
2973
+ * @compile-time-eval
2974
+ * @refcount 1
2975
+ */
2887
2976
function image_type_to_mime_type (int $ image_type ): string {}
2888
2977
2889
- /** @refcount 1 */
2978
+ /**
2979
+ * @compile-time-eval
2980
+ * @refcount 1
2981
+ */
2890
2982
function image_type_to_extension (int $ image_type , bool $ include_dot = true ): string |false {}
2891
2983
2892
2984
/**
@@ -3165,6 +3257,9 @@ function password_needs_rehash(string $hash, string|int|null $algo, array $optio
3165
3257
3166
3258
function password_verify (#[\SensitiveParameter] string $ password , string $ hash ): bool {}
3167
3259
3260
+ /**
3261
+ * @compile-time-eval
3262
+ */
3168
3263
function password_algos (): array {}
3169
3264
3170
3265
/* proc_open.c */
@@ -3193,10 +3288,16 @@ function proc_get_status($process): array {}
3193
3288
3194
3289
/* quot_print.c */
3195
3290
3196
- /** @refcount 1 */
3291
+ /**
3292
+ * @compile-time-eval
3293
+ * @refcount 1
3294
+ */
3197
3295
function quoted_printable_decode (string $ string ): string {}
3198
3296
3199
- /** @refcount 1 */
3297
+ /**
3298
+ * @compile-time-eval
3299
+ * @refcount 1
3300
+ */
3200
3301
function quoted_printable_encode (string $ string ): string {}
3201
3302
3202
3303
/* soundex.c */
@@ -3527,6 +3628,7 @@ function uniqid(string $prefix = "", bool $more_entropy = false): string {}
3527
3628
3528
3629
/**
3529
3630
* @return int|string|array<string, int|string>|null|false
3631
+ * @compile-time-eval
3530
3632
* @refcount 1
3531
3633
*/
3532
3634
function parse_url (string $ url , int $ component = -1 ): int |string |array |null |false {}
@@ -3592,10 +3694,16 @@ function stream_filter_register(string $filter_name, string $class): bool {}
3592
3694
3593
3695
/* uuencode.c */
3594
3696
3595
- /** @refcount 1 */
3697
+ /**
3698
+ * @compile-time-eval
3699
+ * @refcount 1
3700
+ */
3596
3701
function convert_uuencode (string $ string ): string {}
3597
3702
3598
- /** @refcount 1 */
3703
+ /**
3704
+ * @compile-time-eval
3705
+ * @refcount 1
3706
+ */
3599
3707
function convert_uudecode (string $ string ): string |false {}
3600
3708
3601
3709
/* var.c */
0 commit comments