<?php

$phrase = "QWERTYUIOP[]ASDFGHJKL;'ZXCVBNM,./123";
$phraseLen = strlen($phrase);

$fromAngle = -80;
$toAngle = 260;
$radius = 12.5;

$height = 30;
$centerX = 40;
$centerY = 15;

$screen = array();
for($y = 0;$y < $height;$y++){
	$screen[$y]= array_fill(0,80,' ');
}
for($i=0;$i<=$phraseLen;$i++){
	
	$x = $radius * cos(10.00 * $i) + $centerX;
	$y = $radius * sin(10.00 * $i) + $centerY;
	$screen[$y][$x] = substr($phrase,$i,1);
}

for($fromAngle;$fromAngle<$toAngle;$toAngle++){
	
		echo implode('',$screen[$y]);
	
}