|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-09-01 20:17 UTC] rasmus@php.net
-Status: Open
+Status: Bogus
[2010-09-01 20:17 UTC] rasmus@php.net
[2010-09-01 20:19 UTC] amaury dot carrade at free dot fr
-Summary: There is a problem in concatenation
+Summary: There is a problem in concatenation with strings and
functions
-Status: Bogus
+Status: Open
[2010-09-01 20:19 UTC] amaury dot carrade at free dot fr
[2010-09-01 20:22 UTC] rasmus@php.net
-Status: Open
+Status: Bogus
[2010-09-01 20:22 UTC] rasmus@php.net
[2010-09-01 20:23 UTC] amaury dot carrade at free dot fr
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 07:00:01 2025 UTC |
Description: ------------ There is a problem in concatenation. When I write : <?php echo '<pre>' . var_dump($var) . '</pre>'; ?> PHP show the same result as : <?php echo var_dump($var) . '<pre></pre>'; ?> There is a solution (show below), but it is not practical <?php echo '<pre>'; echo var_dump($var) . '</pre>'; ?> Test script: --------------- <?php echo '<pre>' . var_dump($var) . '</pre>'; ?> Expected result: ---------------- <pre>The result of the function var_dump()</pre> Actual result: -------------- The result of the function var_dump()<pre></pre>