Skip to content

Commit 64fbb35

Browse files
committed
Update stubs
1 parent 86cd27d commit 64fbb35

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
@@ -2806,8 +2806,10 @@ public function __construct(int $phpVersionId)
28062806
'bcdivmod' => 'stubs/ext/bcmath/bcdivmod.php',
28072807
'bcfloor' => 'stubs/ext/bcmath/bcfloor.php',
28082808
'bcround' => 'stubs/ext/bcmath/bcround.php',
2809+
'die' => 'stubs/Zend/die.php',
28092810
'dom\\adjacentposition' => 'stubs/ext/dom/Dom/AdjacentPosition.php',
28102811
'dom\\import_simplexml' => 'stubs/ext/dom/Dom/import_simplexml.php',
2812+
'exit' => 'stubs/Zend/exit.php',
28112813
'fpow' => 'stubs/ext/standard/fpow.php',
28122814
'grapheme_str_split' => 'stubs/ext/intl/grapheme_str_split.php',
28132815
'http_clear_last_response_headers' => 'stubs/ext/standard/http_clear_last_response_headers.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)