|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-31 06:41 UTC] cynic@php.net
[2003-01-31 06:42 UTC] cynic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 14:00:01 2025 UTC |
can't work a script $r=0; if ($r=1) {$a=1;} //comparison on equal else {$a=0;} print "Result=$a"; i see always "Result=1" but can work a script $r=0; if ($r==1) {$a=1;} //comparison on identical else {$a=0;} print "Result=$a"; i did see manual of PHP what must work both ways