diff options
author | Nozomi Anzai | 2010-07-21 02:47:13 +0000 |
---|---|---|
committer | Nozomi Anzai | 2010-07-21 02:47:13 +0000 |
commit | 740e3c960ca2596d8bfc2db8275deee26ba09e3f (patch) | |
tree | b40a02e0bcbb2b873efe2236cfc5a315a989e421 | |
parent | 642a864eeab09eb36b91de9a12073741287ac71c (diff) |
Replace split() to explode()
-rw-r--r-- | nodeStatus.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nodeStatus.php b/nodeStatus.php index ae67553..9fccd78 100644 --- a/nodeStatus.php +++ b/nodeStatus.php @@ -62,7 +62,7 @@ for($i=0; $i<$nodeCount; $i++) { } else { $ret = $ret['SUCCESS']; } - $nodeInfo[$i] = split(" ", $ret); + $nodeInfo[$i] = explode(" ", $ret); $nodeInfo[$i][3] = sprintf('%.3f', $nodeInfo[$i][3] / $MAX_VALUE); /* node is active? */ if ($nodeInfo[$i][2] != 3) |