24
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

PHPで「進捗・どう・です・か」135バイト

Last updated at Posted at 2015-07-23

「進捗・どう・です・か」をPHPで書いてみた

<?for(;substr($s,-7)!=1011129;$s.=rand(9,12));echo str_replace([10,11,12,9],[進捗,どう,です,],$s),"???
",strlen($s)+3,文字で煽られた;

これが限界。
誰か続き頼んだ。
echo str_replaceのあたりとか絶対どうにかできると思うんだけどなあ。

ちなみに最初書いたのはこう。

<?for(;substr($s,-4)!=1234;$s.=rand(1,4));$s=str_replace([1,2,3,4],[進捗,どう,です,],$s)."???
";echo$s,mb_strlen($s)+3,文字で煽られた;

1バイト削れた。

24
19
26

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
24
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?