Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51940 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79217 invoked from network); 19 Apr 2011 14:44:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2011 14:44:55 -0000 Authentication-Results: pb1.pair.com header.from=dmgx.michael@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=dmgx.michael@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: dmgx.michael@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:33407] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/B0-08957-6EF9DAD4 for ; Tue, 19 Apr 2011 10:44:54 -0400 Received: by wyb34 with SMTP id 34so5332035wyb.29 for ; Tue, 19 Apr 2011 07:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=csuh62XNAmq+hdA7OKdOMqRCfIS7wC86/6kbtYOlYEQ=; b=izSHEHKXtbwzaZC+qwr1nnHmbJtmlC97UQlM5DR93ZPW/uAe2nXSMCQWVZyTG8nLE6 vA7I4Do55MCOvkTLw0muIZvwZ0UUJBf4TWYEKmVp0VIva1L4jwoDiepPfKeuUvM35UW+ TB1/cDoDG3eVsRmaKhMl33AuyA4UYbX/fCB94= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VPguxnn8U4cll5bDvkUNq/UkZroWVdzfpkGldr2rM4dQ1nBMCMBWDJfkjmFOxs4yF6 xD/4jDdV4/QCN82xWY6xCb20hKtdMgi6z2/jX6BaGgo6lwmjNtIzeoE+ZVl8jtqCxys9 j//x1CWrdiBfvAg+yKvrG0LeqwB06CAmx1l+8= MIME-Version: 1.0 Received: by 10.216.121.208 with SMTP id r58mr11734557weh.61.1303224290848; Tue, 19 Apr 2011 07:44:50 -0700 (PDT) Received: by 10.216.0.74 with HTTP; Tue, 19 Apr 2011 07:44:50 -0700 (PDT) In-Reply-To: References: <4D704BA5.5080402@oracle.com> <14.AE.01409.86D7DAD4@pb1.pair.com> Date: Tue, 19 Apr 2011 10:44:50 -0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=00261883adfceb32e504a1468cc0 Subject: Re: [PHP-DEV] RFC: built-in web server in CLI. From: dmgx.michael@gmail.com (Michael Morris) --00261883adfceb32e504a1468cc0 Content-Type: text/plain; charset=ISO-8859-1 Pardon me for following up my own post, but there is room for a range of functions here other than trace that could send their output to the command line where the server was started. watch ($var) -> $var is sent to the console on the line this statement is made with the statment "now watching 'var'.. init value "x", and then each time it changes it is updated in the console. traceStack() -> as trace, but the current stack is reported. traceAll() Return all variables in local scope and the current stack. stop() Halt execution as die or exit, unlike them it's arguments are sent to console instead of browser. On Tue, Apr 19, 2011 at 10:35 AM, Michael Morris wrote: > Since the goal of this is debugging might I suggest borrowing a statement > from the Adobe Flash environment: trace. > > Trace sends output to the debug console. If given a variable it would > format it as print_r currently does. When encountered by PHP in other modes > it would be silently ignored. > > Thoughts? > > On Tue, Apr 19, 2011 at 8:17 AM, Michael Wallner wrote: > >> On 04/17/2011 01:17 AM, Philip Olson wrote: >> >>> Greetings Moriyoshi and all, >>> >>> Are people still thinking about this? And how about applying the >>> current/revised patch to trunk thus making it easier to play with and >>> break, but not freeze its features/API yet. >>> >>> Also the wiki is up again so: >>> >>> - RFC: https://wiki.php.net/rfc/builtinwebserver >>> - Patch is here: http://gist.github.com/835698 >>> >> >> The php_http_* "namespace" is actually already used by pecl_http? >> >> Regards, >> Mike >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > --00261883adfceb32e504a1468cc0--