Skip to main content
Commonmark migration
Source Link

#PHP, 38 bytes, 10 numbers, by Leo

PHP, 38 bytes, 10 numbers, by Leo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.

#PHP, 38 bytes, 10 numbers, by Leo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.

PHP, 38 bytes, 10 numbers, by Leo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#PHP, 38 bytes, 10 numbers, by LeoLeo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.

#PHP, 38 bytes, 10 numbers, by Leo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.

#PHP, 38 bytes, 10 numbers, by Leo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.

Source Link
user62131
user62131

#PHP, 38 bytes, 10 numbers, by Leo

Original code:

<?php__n_p___(_n=___(__=1___echo___?>

Cracks for 1-10:

  1. <?php "n p ( n= ( =1"; echo +1?>
  2. <?php "n p ( n= ( =1"; echo 1+1?>
  3. <?php "n p ( n= ( =1"; echo 2+1?>
  4. <?php "n p ( n= ( =1"; echo 3+1?>
  5. <?php "n p ( n= ( =1"; echo 4+1?>
  6. <?php "n p ( n= ( =1"; echo 5+1?>
  7. <?php "n p ( n= ( =1"; echo 6+1?>
  8. <?php "n p ( n= ( =1"; echo 7+1?>
  9. <?php "n p ( n= ( =1"; echo 8+1?>
  10. <?php "n p ( n= ( =1"; echo 9+1?>

Unfortunately, you left way too much space after the echo and it became possible to sneak a +1 in there.