Skip to content

Commit 28f730d

Browse files
committedAug 26, 2024·
Update stubs
1 parent 8ef28f6 commit 28f730d

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
 

‎Php8StubsMap.php

+2
Original file line numberDiff line numberDiff line change
@@ -2797,6 +2797,8 @@ public function __construct(int $phpVersionId)
27972797
]);
27982798

27992799
$functions = \array_merge($functions, [
2800+
'_die' => 'stubs/Zend/_die.php',
2801+
'_exit' => 'stubs/Zend/_exit.php',
28002802
'array_all' => 'stubs/ext/standard/array_all.php',
28012803
'array_any' => 'stubs/ext/standard/array_any.php',
28022804
'array_find' => 'stubs/ext/standard/array_find.php',

‎stubs/Zend/_die.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
/** @alias exit */
4+
#[\Since('8.4')]
5+
function _die(string|int $status = 0): never
6+
{
7+
}

‎stubs/Zend/_exit.php

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
#[\Since('8.4')]
4+
function _exit(string|int $status = 0): never
5+
{
6+
}

0 commit comments

Comments
 (0)
Please sign in to comment.