Guest User

Untitled

a guest
Dec 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. <?php
  2.  
  3. for ($i = 1; $i <= 1000000000; $i++) {
  4. $som = $i + $i;
  5. if((strrev($i) == $i) && (strrev($som) == $som)) {
  6. echo $i . " + " . $i . " = " . $som . "\n";
  7. }
  8. }
  9.  
  10. ?>
Add Comment
Please, Sign In to add comment