All pastes #608822 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-08 14:52 UTC
rendered paste body
<?php
$a = 1; 
$b = 2; 

function Sum()
{
// acest rand este necesar pentru accesarea variabilelor globale
   global $a, $b; 
   $b = $a + $b;
}

Sum();
echo $b;
?>