Skip to content

Commit b077406

Browse files
committed
We compile PHP with the "readline" sys lib instead of libedit
Both options seem to be acceptable, but we get readline out of the box on lambda, and there seems to be issues with libedit anyway (docker-library/php#1187)
1 parent b16c6b4 commit b077406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_2_extensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
'openssl' => strlen(openssl_random_pseudo_bytes(1)) === 1,
6262
'pntcl' => function_exists('pcntl_fork'),
6363
'pcre' => preg_match('/abc/', 'abcde', $matches) && $matches[0] === 'abc',
64-
'readline' => READLINE_LIB === 'libedit',
64+
'readline' => READLINE_LIB === 'readline',
6565
'reflection' => class_exists(\ReflectionClass::class),
6666
'session' => session_status() === PHP_SESSION_NONE,
6767
'zip' => class_exists(\ZipArchive::class),

0 commit comments

Comments
 (0)