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

PHP, 4645 bytes, Score 8178

whileWHILE(~$xy=$argn[$vz++]$x=ORD($argn[$v++])$su)$y+=$$x-=-$$xy+=1;echo$su;1;echo$y;

Try it online!Try it online!

PHP, 4546 bytes, Score 8279 Bytes

while($x=ordWHILE($argn[$v++])~$xy=$argn[$vz++])$y+=$$x$su-=-1;echo$y;$$xy+=1;echo$su;

Try it online!Try it online!

PHP, 56 bytes, Score 12392

foreachFOREAch(count_charsCOUNT_CHARS($argn)as$z)forWHILE(;$z;$z)$s+=$z$y+=$z--;echo$s;;echo$y;

Try it online!Try it online!

PHP, 46 bytes, Score 81

while(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 45 bytes, Score 82

while($x=ord($argn[$v++]))$y+=$$x-=-1;echo$y;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

PHP, 45 bytes, Score 78

WHILE($x=ORD($argn[$v++]))$y+=$$x-=-1;echo$y;

Try it online!

PHP, 46 bytes, Score 79 Bytes

WHILE(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 56 bytes, Score 92

FOREAch(COUNT_CHARS($argn)as$z)WHILE($z)$y+=$z--;echo$y;

Try it online!

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

PHP, 46 bytes, Score 81

while(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 45 bytes, Score 82

while($x=ord($argn[$v++]))$y+=$$x-=-1;echo$y;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

PHP, 46 bytes, Score 81

while(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

PHP, 46 bytes, Score 81

while(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 45 bytes, Score 82

while($x=ord($argn[$v++]))$y+=$$x-=-1;echo$y;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

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

PHP, 46 bytes, Score 81

while(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

PHP, 46 bytes, Score 81

while(~$xy=$argn[$vz++])$su-=-$$xy+=1;echo$su;

Try it online!

PHP, 56 bytes, Score 123

foreach(count_chars($argn)as$z)for(;$z;)$s+=$z--;echo$s;

Try it online!

added 3 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