summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-06-20 09:20:26 +0200
committerAnatol Belski <ab@php.net>2015-06-20 09:35:02 +0200
commit658d698a1ccd41be0dcb94ea1d6ff5492d1c9748 (patch)
treef6342399a19707e45f59ad22c9e0e56abb54bddf
parentf88aad418e4e6fcc91d048446f0892a3ee5b065f (diff)
downloadphp-git-658d698a1ccd41be0dcb94ea1d6ff5492d1c9748.tar.gz
add test for bug #69838
-rw-r--r--ext/opcache/tests/bu69838.phpt17
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/opcache/tests/bu69838.phpt b/ext/opcache/tests/bu69838.phpt
new file mode 100644
index 0000000000..f60cad79bd
--- /dev/null
+++ b/ext/opcache/tests/bu69838.phpt
@@ -0,0 +1,17 @@
+--TEST--
+Bug #69838 OPCACHE Warning Internal error: wrong size calculation
+--INI--
+opcache.enable=1
+opcache.enable_cli=1
+opcache.log_verbosity_level=2
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+
+$x = gethostbyname("localhost");
+
+?>
+===DONE===
+--EXPECT--
+===DONE===