Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61862 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51681 invoked from network); 28 Jul 2012 18:33:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jul 2012 18:33:46 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.216.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:49246] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/01-45145-98034105 for ; Sat, 28 Jul 2012 14:33:46 -0400 Received: by qcmt36 with SMTP id t36so2785483qcm.29 for ; Sat, 28 Jul 2012 11:33:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=OSAM7Y1pGRMfAFEGv9BrWKfCicg3KumdRmDAtL2ymEA=; b=JC631TanK9eH5CEVMo+VmSnuxVkV4OtRVMaTCqpO8K/RY+4Y4mJeff6HUGWFzXOxQ0 NqgnngfohdsRWL2teKP3+mnwXu4CZR+ao3sVxhy9aXqZfq7Pwp9xB8sFQATBIXCCjKM0 TknReOlDNV5Z7IHABL0rd743iFqSuuENz06OBDgoAkOIPQe59ExX8DGGho07+iGgb1ZR ToWsG5/Bbv7/17ctQJtYUel9FFO1mhv/YAWwPKhl0IK1kiM98ZZsRTEfDWq9AS7ISNCN yWUnTCSRAPu48+bv8ThJoO6oBpYxpEp8iAuw2tKqAEJwYOyNWeiL0+ilFDlzIzoTt4FE 3ejA== Received: by 10.224.106.201 with SMTP id y9mr14893080qao.97.1343500422943; Sat, 28 Jul 2012 11:33:42 -0700 (PDT) Received: from [172.16.26.30] ([38.106.64.245]) by mx.google.com with ESMTPS id f14sm4344303qak.20.2012.07.28.11.33.41 (version=SSLv3 cipher=OTHER); Sat, 28 Jul 2012 11:33:42 -0700 (PDT) Message-ID: <50143083.1050606@lerdorf.com> Date: Sat, 28 Jul 2012 11:33:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: ab@php.net, internals@lists.php.net References: <97767b567717f761f673c9561efda831.squirrel@webmail.klapt.com> <1343484556.15056.3.camel@guybrush> <50141C81.9080708@lerdorf.com> <1343499890.15056.7.camel@guybrush> In-Reply-To: <1343499890.15056.7.camel@guybrush> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlSuWs31SWRszDTJ3ExfiItjc4I6HHiFZokAREkBEOXgjZmLhXlLhMm9U7+udCUlKj3jq+h Subject: Re: [PHP-DEV] PHP test suite From: rasmus@lerdorf.com (Rasmus Lerdorf) On 07/28/2012 11:24 AM, Johannes Schlüter wrote: > On Sat, 2012-07-28 at 10:08 -0700, Rasmus Lerdorf wrote: >>> For that I once created a special SAPI, which can also do >>> multi-threading: >>> https://github.com/johannes/pconn-sapi >>> http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html >> >> While that is cool, one of the reasons we added the built-in web server >> was to use it in exactly this sort of scenario. So Anatoliy, go for it. >> Make whatever changes you see fit to make it easy to do a --SERVER-- >> type mechanism in a phpt file. Or perhaps there are some volunteers here >> who have ideas and you can team up and either flash it out in a wiki doc >> or on irc. > > I agree the server is a good way for that, I mostly shared my thing so > people maybe can take ideas from there, not to stop people doing > undoubtedly useful things. Yup, sorry I did realize that. But I wanted to make sure Anatoliy didn't take your reply as a "do it like this instead" response. -Rasmus