php-src/ext/readline/tests/bug72538.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

18 lines
307 B
PHP

--TEST--
Bug #72538 (readline_redisplay crashes php)
--EXTENSIONS--
readline
--SKIPIF--
<?php if (READLINE_LIB != "libedit") die("skip libedit only");
if (!function_exists("readline_redisplay")) die("skip readline_redisplay not available");
?>
--FILE--
<?php
readline_redisplay();
?>
okey
--EXPECT--
okey