$data = $this->fetch_node();
$data = $data['history'];
- if (count($data['history']) < 1)
+ if (sizeof($data['history']) < 1)
{
return $this->fetch_revision(0);
}
$backtrace = debug_backtrace();
$calls = array();
- for ($i = 1; $i < count($backtrace); $i++)
+ for ($i = 1; $i < sizeof($backtrace); $i++)
{
$call = $backtrace["$i"];
$itembit = '/';
$temp = preg_split('#/#', $this->fullpath, -1, PREG_SPLIT_NO_EMPTY);
- $count = count($temp) - 1;
+ $count = sizeof($temp) - 1;
foreach ($temp AS $val => $item)
{
{
$path = $this->fetch_path($path);
$temp = preg_split('#/#', $path, -1, PREG_SPLIT_NO_EMPTY);
- if (count($temp) > 0)
+ if (sizeof($temp) > 0)
{
return false;
}
sort($this->repositories);
- if (count($this->repositories) < 1)
+ if (sizeof($this->repositories) < 1)
{
$viewsvn->trigger->error($viewsvn->lang->string('There are no valid repositories'));
}
{
$lastrev = 0;
- for ($i = 1; $i <= count($this->rawoutput) - 1; $i++)
+ for ($i = 1; $i <= sizeof($this->rawoutput) - 1; $i++)
{
$line = $this->rawoutput["$i"];
else if ($act == '+')
{
// potential line delta
- if (count($delstack) > 0)
+ if (sizeof($delstack) > 0)
{
$lastline = array_shift($delstack);
'newlineno' => ''
);
- $key = count($this->diff["$index"]["$chunk"]) - 2;
+ $key = sizeof($this->diff["$index"]["$chunk"]) - 2;
$thearray['INDEX'] = $key;
array_push($delstack, $thearray);