FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » A curious thing...about tags.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: A curious thing...about tags. [message #182238 is a reply to message #182227] Mon, 22 July 2013 23:46 Go to previous messageGo to previous message
Norman Peelman is currently offline  Norman Peelman
Messages: 126
Registered: September 2010
Karma:
Senior Member
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?-
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Paypal IPN and HTTP 1.1
Next Topic: Query with PHP and MySql
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 00:47:17 GMT 2024

Total time taken to generate the page: 0.04829 seconds