#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:
<?php "n p ( n= ( =1"; echo +1?>
<?php "n p ( n= ( =1"; echo 1+1?>
<?php "n p ( n= ( =1"; echo 2+1?>
<?php "n p ( n= ( =1"; echo 3+1?>
<?php "n p ( n= ( =1"; echo 4+1?>
<?php "n p ( n= ( =1"; echo 5+1?>
<?php "n p ( n= ( =1"; echo 6+1?>
<?php "n p ( n= ( =1"; echo 7+1?>
<?php "n p ( n= ( =1"; echo 8+1?>
<?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.