note 116479 added to language.types.integer

From: Date: Fri, 09 Jan 2015 09:31:11 +0000
Subject: note 116479 added to language.types.integer
Groups: php.notes 
Request: Send a blank email to php-notes+get-201392@lists.php.net to get a copy of this message
Converting to an integer works only if the input begins with a number (int) "5txt" // will output the integer 5 (int) "before5txt" // will output the integer 0 (int) "53txt" // will output the integer 53 (int) "53txt534text" // will output the integer 53 ---- Server IP: 72.52.91.14 Probable Submitter: 109.100.140.94 ---- Manual Page -- http://php.net/manual/en/language.types.integer.php Edit -- https://master.php.net/note/edit/116479 Del: integrated -- https://master.php.net/note/delete/116479/integrated Del: useless -- https://master.php.net/note/delete/116479/useless Del: bad code -- https://master.php.net/note/delete/116479/bad+code Del: spam -- https://master.php.net/note/delete/116479/spam Del: non-english -- https://master.php.net/note/delete/116479/non-english Del: in docs -- https://master.php.net/note/delete/116479/in+docs Del: other reasons-- https://master.php.net/note/delete/116479 Reject -- https://master.php.net/note/reject/116479 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201392) next »