fork(1) download
  1. <?php
  2. $id_a=1; $id_b = 2;
  3. echo $str = "The id $id_a is related to id $id_b\n";
  4. // operations go in here that calculate new values for $id_ variables
  5. $id_a=124214; $id_b=325325;
  6. echo $str = "The id $id_a is related to id $id_b\n";
  7.  
Success #stdin #stdout 0.01s 24400KB
stdin
Standard input is empty
stdout
The id 1 is related to id 2
The id 124214 is related to id 325325