php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19273 $<number> becomes null
Submitted: 2002-09-06 23:45 UTC Modified: 2002-09-07 03:36 UTC
From: asif at evoknow dot com Assigned:
Status: Not a bug Package: Strings related
PHP Version: 4.2.3 OS: win 2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 + 42 = ?
Subscribe to this entry?

 
 [2002-09-06 23:45 UTC] asif at evoknow dot com
When I try to publish some String by taking it via text area from user, if the user writes "$500", when I publish it in the next page it shows "00". That means it nullifies $5. It treats $5 as null.  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-06 23:58 UTC] weixian_shen at hotmail dot com
USE SINGLE QUOTE! like this '$500'
 [2002-09-07 00:06 UTC] asif at evoknow dot com
That was not a solution. U din understand the problem. even if I read from database(MySQL) in my case, and if there is a String that contains "$5000", it automatically converts it to "00". Should that happen? It somehow parses $ followed by a number in a wrong way. I think I could describe the prob in a better way this time
 [2002-09-07 03:36 UTC] sander@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 26 20:05:44 2022 UTC