|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-02-06 06:28 UTC] sas at cvs dot php dot net
[2000-08-05 05:50 UTC] hholzgra@php.net
[2000-08-05 12:45 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Test case: $i = '-1'; $i++; echo "i = $i\ntype = " . gettype($i) . "\n"; Output: i=-2 (****questionable behaviour****) type=string (****questionable behaviour****) Reference Case: $i = '-1'; $i--; echo "i = $i\ntype = " . gettype($i) . "\n"; Output: i=-2 type=integer