Created
October 19, 2015 16:41
-
-
Save anonymous/18fdd97f6094dcf5792b 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 | |
class Bahceli { | |
function __call($name, $args) { | |
if (preg_match('/yak|dov/i', $name)) { | |
return true; | |
} else { | |
return false; | |
} | |
} | |
} | |
$bahceli = new Bahceli(); | |
var_dump($bahceli->apoyuAs()); | |
var_dump($bahceli->koalisyonKur()); | |
var_dump($bahceli->basbakanOl()); | |
var_dump($bahceli->cekikGozluDov()); | |
var_dump($bahceli->hdpBinasiYak()); | |
var_dump($bahceli->yanlisAdamiDov()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment