<?php
// original
#$a=[zzyy,' zyy ',syys,' yyz ',yyzz,xysxz,zssz,xzsyx];while($i<32){$b=$a[$i++%8];$b=str_replace([z,x,y,s],['\\\\','\\','//','  '],$b);echo"$b$b$b$b$b$b\n";}

// 1) Use $a[...] directly as parameter instead of assigning it to $b. (-6)
#$a=[zzyy,' zyy ',syys,' yyz ',yyzz,xysxz,zssz,xzsyx];while($i<32){$b=str_replace([z,x,y,s],['\\\\','\\','//','  '],$a[$i++%8]);echo"$b$b$b$b$b$b\n";}

// 2) Use strtr instead of str_replace. (-4)
#$a=[zzyy,' zyy ',syys,' yyz ',yyzz,xysxz,zssz,xzsyx];while($i<32){$b=strtr($a[$i++%8],[z=>'\\\\',x=>'\\',y=>'//',s=>'  ']);echo"$b$b$b$b$b$b\n";}

// 3) Use digits instead of letters. (-10)
#$a=[3322,' 322 ','0220',' 223 ',2233,12013,3003,13021];while($i<32){$b=strtr($a[$i++%8],['  ','\\','//','\\\\']);echo"$b$b$b$b$b$b\n";}

// 4) Assign $b in the echo. (-4)
#$a=[3322,' 322 ','0220',' 223 ',2233,12013,3003,13021];while($i<32)echo$b=strtr($a[$i++%8],['  ','\\','//','\\\\']),"$b$b$b$b$b\n";

// 5) Don´t assign $a, just use it. (-6)
 while($i<32)echo$b=strtr([3322,' 322 ','0220',' 223 ',2233,12013,3003,13021][$i++%8],['  ','\\','//','\\\\']),"$b$b$b$b$b\n";
