I was just testing an element PHP validation (I updated from github this morning) and came upon this new bug.
(See the screen shot attached to see the simple test configuration.)
This is what that PHP validation configuration echoes to the screen when the form is validated...
Array ( [6] => 7 [8] => 9 [13] => 14 )
7914
So the 'Condition' is working as expected
But it looks like the 'PHP Code' is returning the equivalent of
implode("", $data);
(See the screen shot attached to see the simple test configuration.)
This is what that PHP validation configuration echoes to the screen when the form is validated...
Array ( [6] => 7 [8] => 9 [13] => 14 )
7914
So the 'Condition' is working as expected
But it looks like the 'PHP Code' is returning the equivalent of
implode("", $data);