php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38329 Variable with minus (<) and more (>) problems
Submitted: 2006-08-04 13:32 UTC Modified: 2006-08-04 14:10 UTC
From: cesar dot fazan at gmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.1.4 OS: Windows 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cesar dot fazan at gmail dot com
New email:
PHP Version: OS:

 

 [2006-08-04 13:32 UTC] cesar dot fazan at gmail dot com
Description:
------------
I cant create a variable with minus/more operator.

Reproduce code:
---------------
<?

$a = '<my@email.com>';
$b = '<12345>';

print($a.'  -  '.$b);


?>


Expected result:
----------------
<my@email.com> - <12345>

Actual result:
--------------
- <12345>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-04 13:57 UTC] tony2001@php.net
Click right mouse button, select "View source" and see the _real_ output.
 [2006-08-04 14:08 UTC] cesar dot fazan at gmail dot com
My dumbness. Thats what happen when you dont pay attention.

Sorry.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 08:00:02 2026 UTC