fork(1) download
  1. <?php
  2.  
  3. // your code goes here
  4. $_POST["lowestPostId"] = "3099";
  5. if ($_POST["lowestPostId"] > 500) {
  6. $postRestriction = $_POST["lowestPostId"] - 500;
  7. } else {
  8. $postRestriction = 0;
  9. }
  10. var_dump($_POST["lowestPostId"]);
  11. var_dump($postRestriction);
  12. var_dump($_POST["lowestPostId"] - 500);
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
string(4) "3099"
int(2599)
int(2599)