#32495 [Fbk->Csd]: Echo not producing correct result.
| From: | mike at cocoweb dot co dot uk | Date: | Wed, 30 Mar 2005 12:17:56 +0000 |
| Subject: | #32495 [Fbk->Csd]: Echo not producing correct result. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76054@lists.php.net to get a copy of this message | ||
ID: 32495
User updated by: mike at cocoweb dot co dot uk
Reported By: mike at cocoweb dot co dot uk
-Status: Feedback
+Status: Closed
Bug Type: Strings related
Operating System: Windows XP
PHP Version: 5.0.3
New Comment:
Thanks Tony. I wasn't being awkard saying "are you sure?", it's just
that I had double, nay triple checked my code, however your hint re
browsers clinched it.
It fails on Mozilla Firefox and Netscape, but it works on Internet
Explorer and Opera. I had been unlucky as I only tested it on Firefox
and Netscape, as I assumed it wasn't a browser problem, i.e. I've never
had problems with PHP output and browsers before.
Thanks for everyone's help. Very much appreciated.
** This problem is closed as it's a browser problem. **
Previous Comments:
------------------------------------------------------------------------
[2005-03-30 14:00:09] tony2001@php.net
Yes, I *AM* sure.
Try it with PHP CLI and if it works - fix your browser/editor instead.
------------------------------------------------------------------------
[2005-03-30 13:27:55] mike at cocoweb dot co dot uk
Are you sure you are getting:
echo "<bob ".func()."></bob>"
and not, as I am getting:
echo "<bob .func().></bob>"
I am definitely not making this up :o) I have just reinstalled PHP
5.0.3 and it STILL fails.
I think we need to investigate this further before closing it.
------------------------------------------------------------------------
[2005-03-30 12:52:56] tony2001@php.net
Works perfectly here.
------------------------------------------------------------------------
[2005-03-30 12:44:25] mike at cocoweb dot co dot uk
Check out "Actual result: Expression 1". The double quotes are missing
around .func()
I should have made it more clear.
------------------------------------------------------------------------
[2005-03-30 07:45:50] sniper@php.net
I would be very worried if the output wasn't what you got.
(you're using single quotes..are you sure you've pasted the right code
here? :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32495
--
Edit this bug report at http://bugs.php.net/?id=32495&edit=1