|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-01-29 02:29 UTC] ben at stonehenge-net dot com
$a = 0; $b = 2; $c = $a % $b print($b) // $b will be set to 0. does nasty thing to for loops :) not really sure what was configured at compiletime, was from the FreeBSD ports collection, can dig it up if it's relevant. same with php.ini. no gdb, as there's no crash. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jan 07 14:00:01 2026 UTC |
use == to compare, = is for assignments if(($i % $rowcount) == 0) { .... } harald.