Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

##PHP, 54, CrackedCracked

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42

Original

$a=21;$b=21;while($b){$a^=$b;$b=($b&$a^$b)<<1;}echo$a;

Original ideaOriginal idea

##PHP, 54, Cracked

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42

Original

$a=21;$b=21;while($b){$a^=$b;$b=($b&$a^$b)<<1;}echo$a;

Original idea

##PHP, 54, Cracked

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42

Original

$a=21;$b=21;while($b){$a^=$b;$b=($b&$a^$b)<<1;}echo$a;

Original idea

added 153 characters in body
Source Link

##PHP, 54, Cracked

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42

Original

$a=21;$b=21;while($b){$a^=$b;$b=($b&$a^$b)<<1;}echo$a;

Original idea

##PHP, 54

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42

##PHP, 54, Cracked

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42

Original

$a=21;$b=21;while($b){$a^=$b;$b=($b&$a^$b)<<1;}echo$a;

Original idea

Source Link

##PHP, 54

###Code $$$$$$$$$$&(())11122;;;;<<====^^aaaabbbbbbceehhilow{}

###Output 42