note 129724 added to language.types.integer
| From: | vinicius.limad3v@gmail.com | Date: | Tue, 27 Aug 2024 23:05:19 +0000 |
| Subject: | note 129724 added to language.types.integer | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221502@lists.php.net to get a copy of this message | ||
it´s possible to sum a string (only numbers) with a integer because the casting of PHP in the run
time of the code. The str is converted in integer and sum with the integer type!
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2804:36a8:153:41a0:e167:9a:6439:9538)
----
Manual Page -- https://php.net/manual/en/language.types.integer.php
Edit -- https://main.php.net/note/edit/129724
Del: integrated -- https://main.php.net/note/delete/129724/integrated
Del: useless -- https://main.php.net/note/delete/129724/useless
Del: bad code -- https://main.php.net/note/delete/129724/bad+code
Del: spam -- https://main.php.net/note/delete/129724/spam
Del: non-english -- https://main.php.net/note/delete/129724/non-english
Del: in docs -- https://main.php.net/note/delete/129724/in+docs
Del: other reasons-- https://main.php.net/note/delete/129724
Reject -- https://main.php.net/note/reject/129724
Search -- https://main.php.net/manage/user-notes.php