Skip to content

Commit 5fe7bb8

Browse files
committed
Update stubs
1 parent dc78e58 commit 5fe7bb8

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

Diff for: stubs/ext/dom/Dom/HTMLDocument.php

+5
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ public function saveHtml(?Node $node = null): string
2828
public function saveHtmlFile(string $filename): int|false
2929
{
3030
}
31+
#if ZEND_DEBUG
32+
public function debugGetTemplateCount(): int
33+
{
34+
}
35+
#endif
3136
}

Diff for: stubs/ext/standard/highlight_string.php

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<?php
22

3+
#[\Until('8.4')]
34
function highlight_string(string $string, bool $return = false): string|bool
45
{
6+
}
7+
/** @refcount 1 */
8+
#[\Since('8.4')]
9+
function highlight_string(string $string, bool $return = false): string|true
10+
{
511
}

Diff for: stubs/ext/standard/print_r.php

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<?php
22

3+
#[\Until('8.4')]
34
function print_r(mixed $value, bool $return = false): string|bool
45
{
6+
}
7+
/** @refcount 1 */
8+
#[\Since('8.4')]
9+
function print_r(mixed $value, bool $return = false): string|true
10+
{
511
}

0 commit comments

Comments
 (0)