Skip to content

Commit 658d698

Browse files
committed
add test for bug #69838
1 parent f88aad4 commit 658d698

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ext/opcache/tests/bu69838.phpt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
Bug #69838 OPCACHE Warning Internal error: wrong size calculation
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.log_verbosity_level=2
7+
--SKIPIF--
8+
<?php require_once('skipif.inc'); ?>
9+
--FILE--
10+
<?php
11+
12+
$x = gethostbyname("localhost");
13+
14+
?>
15+
===DONE===
16+
--EXPECT--
17+
===DONE===

0 commit comments

Comments
 (0)