<?php
$string_patr = null;
$string_seri = "bubu";
$vv_patr = $string_seri;
}
else {
$vv_patr = $string_patr.','.$string_seri;
}
echo '
<script type="text/javascript">
var vv_patr = "'.$vv_patr.'";
alert(vv_patr);
</script>';
PD9waHAKCiRzdHJpbmdfcGF0ciA9IG51bGw7CiRzdHJpbmdfc2VyaSA9ICJidWJ1IjsKCmlmIChpc19udWxsKCRzdHJpbmdfcGF0cikpIHsKICAgICR2dl9wYXRyID0gJHN0cmluZ19zZXJpOwp9CmVsc2UgewogICAgJHZ2X3BhdHIgPSAkc3RyaW5nX3BhdHIuJywnLiRzdHJpbmdfc2VyaTsKfQoKZWNobyAnCjxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij4KICB2YXIgdnZfcGF0ciA9ICInLiR2dl9wYXRyLiciOwogIGFsZXJ0KHZ2X3BhdHIpOwo8L3NjcmlwdD4nOw==