Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62523 invoked from network); 30 Jan 2013 10:58:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2013 10:58:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-ia0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:60098] helo=mail-ia0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/F9-09318-DBCF8015 for ; Wed, 30 Jan 2013 05:58:05 -0500 Received: by mail-ia0-f170.google.com with SMTP id k20so2115437iak.15 for ; Wed, 30 Jan 2013 02:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bCBN+RzYC17xBPTQeJ8eFNpoOiUNSkGZ39C1dJ/SpDQ=; b=Eie+4+B4Rydu7XUJNk8V4iNx/TO7JInBKF7Mna4mPDL2USBwqMAz4b5D/AUIV0npvv iQBa8+l9efq94IZau7fqpZCKb4DJos09nvtQhy3WtKy0d6CIN8Lck0yWAhPs3tKPmzcR KuKSO4yBaQQgb+AKjDGKoEmzBwtm71cdsnpOgP9w9fjtaqlO4qgK/r2yORa9zrAl1nyE i37qqJBCswY9tzbUch0fCU4SAcPqFAURblVqfdR8Oqb43nKqqYso3MkHViOuGhwI571i 2iYkuOKmuGF/+OPnYwZQzGIW1RCRkuTuUptLV6sEZG5EHkciyjL403sDjoAdPkwmRGsi xa7w== MIME-Version: 1.0 X-Received: by 10.50.7.234 with SMTP id m10mr3198348iga.43.1359543482338; Wed, 30 Jan 2013 02:58:02 -0800 (PST) Received: by 10.50.106.138 with HTTP; Wed, 30 Jan 2013 02:58:02 -0800 (PST) In-Reply-To: <5108FB35.1060906@hoa-project.net> References: <5108FB35.1060906@hoa-project.net> Date: Wed, 30 Jan 2013 11:58:02 +0100 Message-ID: To: ivan.enderlin@hoa-project.net Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d04462dd4524c7304d47f62de Subject: Re: [PHP-DEV] About PTY From: tyra3l@gmail.com (Ferenc Kovacs) --f46d04462dd4524c7304d47f62de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Jan 30, 2013 at 11:51 AM, Ivan Enderlin @ Hoa < ivan.enderlin@hoa-project.net> wrote: > Hi, > > I wonder if PHP supports PTY? I see old codes (from 2004 to 2010) using > proc_open with $descriptors =3D [[0 =3D> 'pty']] for example. When I try,= I > have an error because PTY seems to not be supported. ./configure does not > propose me to --enable-pty as I have seen in some related posts. > > > Hi, based on http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#653 and http://lxr.php.net/xref/PHP_TRUNK/ext/standard/proc_open.c#64 (notice the 0 &&) I would say it isn't supported anymore. wez turned that off 9 years ago: https://github.com/php/php-src/commit/bd818c0118ba406d82f901d4f97a134727440= df4 --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --f46d04462dd4524c7304d47f62de--