|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2011-02-24 19:54 UTC] _coola_ at arcor dot de
  [2012-12-26 10:59 UTC] mj@php.net
  [2012-12-26 10:59 UTC] mj@php.net
 
-Status:      Open
+Status:      Assigned
-Assigned To:
+Assigned To: mj
  [2012-12-29 10:24 UTC] mj@php.net
  [2012-12-29 10:24 UTC] mj@php.net
 
-Status: Assigned
+Status: Closed
 | |||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 21:00:02 2025 UTC | 
Description: ------------ Bug report #47752 error_reporting(-1); var_dump(filter_var('-0',FILTER_VALIDATE_INT)); // bool(false) var_dump(-0); // int(0) In my opinion FILTER_VALIDATE_INT must work like var_dump(-0); Sooner or later we will get problems if everything works different. PHP defines -0 as an int. So FILTER_VALIDATE_INT must also accept -0 and +0. Thank you