As widgets should create a completely BW-compat version of the widgets plugin, it is an unnecessary burden on the community to expect common third party widgets such as the PHP Exec widget to behave differently.
Currently, take a fresh install of WP 2.2, activate PHP Exec widget plugin, set the number of PHP widget to 3. Drag all three PHP Code widgets onto a sidebar and set each one to use different bits of PHP code. I used:
<?php
echo'<pre>';
print_r(array('apple','orange'));
echo'</pre>';
?>
<?php
echo'<pre>';
print_r(array('pineapple','mango'));
echo'</pre>';
?>
<?php
echo'<pre>';
print_r(array('grape','cherry'));
echo'</pre>';
?>
When I go and look at the result on the blog, there are three instances of:
Array
(
[0] => apple
[1] => orange
)
Bad news.