|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-09-21 08:42 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 11:00:02 2025 UTC |
This piece of code describes my problem: <? $variable = 0; if ($variable == "some_string") { print "This must be a bug?! Variable set as $variable.\n\n<br>"; $variable++; if ($variable != "some_string") { print "But with variable set as $variable it works fine.\n\n"; } } else { print "This works as I expected.\n\n"; } ?>