rendered paste body#! /usr/bin/php<?phpunset($argv[0]);$ponctuation = ',;:?.=+-_)(|@#"\'!°[]*%/\\';foreach($ponctuation as $tmp) { $pa[]=$tmp; }unset($tmp);foreach($argv as $k=>$v) { $len = strlen($v); $ext = false; if ($len>=3) continue; for($i=0;$i<strlen($ponctuation)-1;$i++) { if (($p=strpos($ponctuation{$i},$v))!==false) { $v{$p}='/'; if ($p==$len-1): $arSave['end']=$ponctuation{$i}; elseif ($p==0): $arSave['start']=$ponctuation{$i}; else: $arSave[$p]=$ponctuation{$i}; endif; $ext = true; } } if ($ext) { $fnode=0; do { $fnode++; $first = $v{$fnode}; } while($first=='/'); $lnode = 1; do { $lnode++; $llast = $len-$lnode; $last = $v{$llast}; } while($last=='/'); $rstr = str_repeat('/',$fnode).str_shuffle(substr($v,strpos($first),strpos($last)-1))).str_repeat('/',$llast); } else { $first = $v{0}; $llast = $len-2; $last = $v{$llast}; $toshuffle = substr($v,1,$llast); $rstr = $first.str_suffle($toshuffle).$last; } $argv_shuffled[] = $rstr;}echo implode(' ',$argv_shuffled);