]> granicus.if.org Git - php/commitdiff
add test for bug #69838
authorAnatol Belski <ab@php.net>
Sat, 20 Jun 2015 07:20:26 +0000 (09:20 +0200)
committerAnatol Belski <ab@php.net>
Sat, 20 Jun 2015 07:35:02 +0000 (09:35 +0200)
ext/opcache/tests/bu69838.phpt [new file with mode: 0644]

diff --git a/ext/opcache/tests/bu69838.phpt b/ext/opcache/tests/bu69838.phpt
new file mode 100644 (file)
index 0000000..f60cad7
--- /dev/null
@@ -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===