3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); mb_internal_encoding('utf-8'); $phrase = "АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ"; $phraseLength = mb_strlen($phrase); $letters = preg_split("//u", $phrase); $fromAngle = -80; $toAngle = 260; $radius = 12.5; $height = 30; $centerX = 40; $centerY = 15; $angle = 90; $angleBetweenLetters = 360 / $phraseLength; $screen = array(); for ($y = 0; $y < $phraseLength; $y++){ $screen[$y] = array_fill(0, 100, ' '); } for ($i = 0; $i <= $phraseLength; $i++){ $coordinateYOfLetter = $centerY + round($radius * cos(deg2rad($angle))); $coordinateXOfLetter = 1.8*($centerX + round($radius * sin(deg2rad($angle)))); $screen[$coordinateYOfLetter][$coordinateXOfLetter] = $letters[$i]; $angle -= $angleBetweenLetters; } foreach ($screen as $value) { foreach ($value as $a) { echo $a; } echo "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Implicit conversion from float 95.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 93.60000000000001 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 93.60000000000001 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 91.8 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 88.2 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 84.60000000000001 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 77.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 73.8 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 68.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 64.8 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 61.2 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 57.6 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 52.2 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 50.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 50.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 50.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 50.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 52.2 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 57.6 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 61.2 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 64.8 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 68.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 73.8 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 77.4 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 84.60000000000001 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 88.2 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 91.8 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 93.60000000000001 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 93.60000000000001 to int loses precision in /in/3NlN5 on line 32 Deprecated: Implicit conversion from float 95.4 to int loses precision in /in/3NlN5 on line 32 Х Ц Ч Ш Ф Щ Ъ У Ы Т Ь С Э Р Ю П Я О А Н Б М В Л К Г Д Й Е И З Ж Ё

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
59.12 ms | 417 KiB | 8 Q