Merge branch 'PHP-5.6' into PHP-7.0

This commit is contained in:
Nikita Popov 2016-07-30 18:35:41 +02:00
commit c4d35c3214
2 changed files with 1 additions and 5 deletions

4
NEWS
View File

@ -87,10 +87,6 @@ PHP NEWS
. Implemented FR #72633 (Postgres PDO lastInsertId() should work without
specifying a sequence). (Pablo Santiago Sánchez)
- Posix:
. Fixed bug #71219 (php's configure script incorrectly checks for ttyname_r
availability). (Nikita)
- Reflection:
. Fixed bug #72222 (ReflectionClass::export doesn't handle array constants).
(Nikita Nefedov)

View File

@ -21,7 +21,7 @@ int main(int argc, char *argv[])
{
char buf[64];
return !ttyname_r(0, buf, 64);
return ttyname_r(0, buf, 64) ? 1 : 0;
}
],[
AC_MSG_RESULT([yes])