How to code multiple values field in Views PHP? I need help setting up ViewsPHP to evaluate 3 pieces of data? (I barely know any PHP)

ViewFields

I have a View with three embedded Viewfields:

Node count
$row->view
[views_field_view_view]

Time ago (1 unit)
$row->view_1
[views_field_view_view_1]

Success rate
$row->view_2
[views_field_view_view_2]

Value code

In the Value Code text area I want to call all the values. I currently have:

return $data;


Output code

In the Output Code I want to do something like this:

&lt;?php
if ($row-&gt;view &gt;= 5 AND $row-&gt;view_1 &gt;= 5 AND $row-&gt;view_2 &gt;= 80) { 
    echo "Amazing person";
}
elseif ($row-&gt;view &gt;= 3 AND $row-&gt;view_1 &gt;= 3 AND $row-&gt;view_2 &gt;= 70) { 
    echo "Good person";
} 
elseif ($row-&gt;view &gt;= 1 AND $row-&gt;view_2 &gt;= 60) { 
    echo "Interesting person";
}
else {
    echo "Content needed";
}
?&gt;


It's only outputting "Content needed" so what have I done wrong?

EDIT: Updating to 7.x-2.x-dev makes this work.
Structurally, your code looks fine, it's probably because 

$row-&gt;view = &lt;div id="views-view--view-name"&gt;&lt;div&gt;5&lt;/div&gt;&lt;/div&gt; basically the 5 has HTML tags around it. 

so &lt;div id="views-view--view-name"&gt;&lt;div&gt;5&lt;/div&gt;&lt;/div&gt; does not equal 5

You can use the PHP strip_tags() function to get rid off the tags. 

if (strip_tags($row-&gt;view) &gt;= 5 AND strip_tags($row-&gt;view_1) &gt;= 5 AND strip_tags($row-&gt;view_2) &gt;= 80) { 


So try this: 

&lt;?php

$a = strip_tags($row-&gt;view);
$b = strip_tags($row-&gt;view_1);
$c = strip_tags($row-&gt;view_2);

if ($a &gt;= 5 AND $b &gt;= 5 AND $c &gt;= 80) { 
    echo "Amazing person";
}
elseif ($a &gt;= 3 AND $b &gt;= 3 AND $c &gt;= 70) { 
    echo "Good person";
} 
elseif ($a &gt;= 1 AND $c &gt;= 60) { 
    echo "Interesting person";
}
else {
    echo "Content needed";
}
?&gt;


PS: no need to have anything for value code return $data;.