|
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-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 11:00:01 2025 UTC |
use == to compare, = is for assignments if(($i % $rowcount) == 0) { .... } harald.