Re: A curious thing...about tags. [message #182222 is a reply to message #182221] |
Mon, 22 July 2013 08:13 |
Tim Streater
Messages: 328 Registered: September 2010
Karma:
|
Senior Member |
|
|
In article <ksio2o$6l2$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
> On 21/07/13 23:21, Norman Peelman wrote:
>> On 07/21/2013 03:35 PM, The Natural Philosopher wrote:
>>> This was the final code which works, hopefully not by some versional
>>> quirk
>>>
>>> $run="?>".$run;
>>> $run= $run."<?";
>> If that works, then so should your original example... as well as:
>>
>> $run="?> $something <?";
>>
>> Can you post an example of what wasn't working with output? And
>> where the output is going? Cannot duplicate here.
>>
>> norman@amd64x2:~$ php -version
>> PHP 5.3.2-1ubuntu4.19 with Suhosin-Patch (cli) (built: Mar 11 2013
>> 15:23:48)
>> Copyright (c) 1997-2009 The PHP Group
>> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
>>
>> norman@amd64x2:~$ php -a
>> Interactive shell
>>
>> php > $something="my text";
>> php > $run="?> $something <?";
>> php > echo $run;
>> ?> my text <?
>>
> 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...
Under OS X that echoes this, IYSWIM.
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
|
|
|