Global variable set in the template’s header.php is unable to echo in footer.php

All I need was to use global variable before the declaration AND before echoing.

<?php global $postidextra; $postidextra = "20"; ?>

and then

<?php global $postidextra; echo $postidextra; ?>

Thanks G.M. for the idea.

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş