Last active
November 3, 2015 21:29
-
-
Save tarikcayir/141500e2cabe84f33eee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* @author Mennan KÖSE | |
* @package Türkiye Cumhuriyeti | |
* @version 2015/4 | |
*/ | |
/** | |
* Geliştiricinin asker kutlaması yine bilgisayar başında olmadı diyerekten @menan için | |
* böyle bir şey yapmak istedim. | |
* Yolun açık olsun kardeşim, kazasız gidip gelmek nasip olur. Allah yardımcın olsun. | |
* Nisan'da görüşmek dileğiyle.. | |
*/ | |
$modControl = 1; | |
for ($i=0; $i<=30 ; $i++) { | |
switch ($i % $modControl) { | |
case 'value': | |
echo 'En büyük asker, bizim asker!<br/>'; | |
break; | |
default: | |
echo 'Bu asker gidecek geri gelecek!<br/>'; | |
break; | |
} | |
if($i == $modControl){ | |
$modControl += 2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment