Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10189

Re: A curious thing...about tags.

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Norman Peelman <npeelman@cfl.rr.com>
Newsgroups comp.lang.php
Subject Re: A curious thing...about tags.
Date Mon, 22 Jul 2013 19:46:45 -0400
Organization A noiseless patient Spider
Lines 56
Message-ID <kskfti$o08$1@dont-email.me> (permalink)
References <ksdqko$thc$1@news.albasani.net> <kse97i$s7i$1@news.albasani.net> <ksel66$lim$4@dont-email.me> <ksh4su$alf$1@news.albasani.net> <qOVGt.258268$1m3.143111@en-nntp-03.dc1.easynews.com> <kshd57$sa2$3@news.albasani.net> <kshmi5$sm1$1@dont-email.me> <ksio2o$6l2$1@news.albasani.net> <ksj1ah$cqr$3@dont-email.me> <ksjfc4$mib$2@news.albasani.net>
Reply-To npeelman@cfl.rr.com
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 22 Jul 2013 23:40:34 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="e87867807659ab6f83b1f60edaf8dd8f"; logging-data="24584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EoPrI84SCu3Ej86SKnlTNoCF8qFTT2FA="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
In-Reply-To <ksjfc4$mib$2@news.albasani.net>
Cancel-Lock sha1:FhjdpjfjtKL3WkHTIAG0ded5FMY=
Xref csiph.com comp.lang.php:10189

Show key headers only | View raw


On 07/22/2013 10:25 AM, The Natural Philosopher wrote:
> On 22/07/13 11:31, Norman Peelman wrote:
>> On 07/22/2013 03:47 AM, The Natural Philosopher wrote:
>>> In my setup that produces no output at all.
>>> Mind you php -a doesnt produce any output from
>>> php> echo "this";
>>>
>>> either..
>>>
>>> Nor even a command prompt
>>>
>>> It just sits there...
>>>
>>>
>>
>>   Well, then how are you 'running' your code? You show a command
>> prompt above. The interactive shell executes each line as you type it
>> in. I can't even imagine what your setup is without you telling.
>>
>>
> Shrug. I dunno. I merely tries to replaicate te test
>
> $ php -a
> Interactive mode enabled
>
> <?
> Echo "sodit";
> ?>
>
> echo "sodit";
> Sodit
> ^C
> $
>

   You are in 'Interactive Mode', not 'Interactive Shell'.  You just 
need to type (press enter after each line):

$ php -a
Interactive mode enabled

<?php
echo "?> something <?";
?>
press CTRL-D (or Z maybe)

---

   It's a compilation option --with-readline (or lack of) that causes it 
to revert to this mode. I don't feel like compiling PHP just to find 
out. Give it a go.

-- 
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-20 12:00 +0100
  Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-20 12:40 +0100
    Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-20 14:29 +0100
  Re: A curious thing...about tags. Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2013-07-20 13:41 +0200
  Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-20 08:46 -0400
  Re: A curious thing...about tags. Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2013-07-20 17:09 +0200
    Re: A curious thing...about tags. Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-20 18:12 +0200
      Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-21 18:08 +0100
    Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-20 13:40 -0400
    Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-20 18:33 +0000
      Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-21 18:14 +0100
        Re: A curious thing...about tags. Richard Damon <Richard@Damon-Family.org> - 2013-07-21 14:31 -0400
          Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-21 20:35 +0100
            Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-21 18:21 -0400
              Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-22 08:47 +0100
                Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-22 09:13 +0100
                Re: A curious thing...about tags. "Alex vdB" <alex@invalid> - 2013-07-22 11:15 +0200
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 06:30 -0400
                Re: A curious thing...about tags. "AvdB" <nomail@example.invalid> - 2013-07-23 00:13 +0200
                Re: A curious thing...about tags. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-24 22:58 +0200
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 06:31 -0400
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 06:31 -0400
                Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-22 15:25 +0100
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 19:46 -0400
                Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-22 17:41 +0100
                Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-22 19:14 +0000
                Re: A curious thing...about tags. Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-22 17:00 -0400
                Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-22 21:29 +0000
                Re: A curious thing...about tags. Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-23 00:27 +0200
                Re: A curious thing...about tags. Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-22 19:27 -0400
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 19:56 -0400
                Re: A curious thing...about tags. Jerry Stuckle <jstucklex@attglobal.net> - 2013-07-22 20:59 -0400
                Re: A curious thing...about tags. The Natural Philosopher <tnp@invalid.invalid> - 2013-07-23 20:02 +0100
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-22 19:52 -0400
                Re: A curious thing...about tags. Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-23 09:40 +0000
                Re: A curious thing...about tags. Norman Peelman <npeelman@cfl.rr.com> - 2013-07-23 06:22 -0400
                Re: A curious thing...about tags. Tim Streater <timstreater@greenbee.net> - 2013-07-23 13:07 +0100

csiph-web