Skip to main content
added 1 character in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36

PHPPHP<7.1, 3231 Bytes

for(;a&$c=$argn[$i++];;~$c=$argn[$i++];)echo$c^1;

Try it online!Try it online!

PHP, 32 Bytes

for(;a&$c=$argn[$i++];)echo$c^1;

Try it online!

PHP<7.1, 31 Bytes

for(;~$c=$argn[$i++];)echo$c^1;

Try it online!

deleted 20 characters in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36

PHP, 32 Bytes

prints zero for char 1 and 1 for other chars

for(;a&$c=$argn[$i++];)echo$c^1;

Try it online!Try it online!

PHP, 32 Bytes

prints zero for char 1 and 1 for other chars

for(;a&$c=$argn[$i++];)echo$c^1;

Try it online!

PHP, 32 Bytes

for(;a&$c=$argn[$i++];)echo$c^1;

Try it online!

Rollback to Revision 7
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36

PHP, 32 Bytes

prints a string containing of 0-3zero for char 1 and 1 for other chars

for(;a&$c=$argn[$i++];)echo$c^3;echo$c^1;

Try it online!Try it online!

PHP, 32 Bytes

prints a string containing of 0-3

for(;a&$c=$argn[$i++];)echo$c^3;

Try it online!

PHP, 32 Bytes

prints zero for char 1 and 1 for other chars

for(;a&$c=$argn[$i++];)echo$c^1;

Try it online!

deleted 13 characters in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
added 1 character in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
added 1 character in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
deleted 412 characters in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
Rollback to Revision 2
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
added 310 characters in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
added 300 characters in body
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading
Source Link
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36
Loading