php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42114 If(!is_integer($_POST['T2'])){...} is_integer Doesnt work
Submitted: 2007-07-26 19:09 UTC Modified: 2007-07-26 19:30 UTC
From: NeMewSys at hotmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.3 OS: Windows XP
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: NeMewSys at hotmail dot com
New email:
PHP Version: OS:

 

 [2007-07-26 19:09 UTC] NeMewSys at hotmail dot com
Description:
------------
If(!is_integer($_POST['T2'])){...}


This is not working.

Reproduce code:
---------------
If(!is_integer($_POST['T2'])){...}


//This is not working.

Expected result:
----------------
True or False, i only get False

Actual result:
--------------
False only

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-26 19:30 UTC] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 15:00:01 2026 UTC