fix for new PHPValue and PHPVariable class