Skip to content

Instantly share code, notes, and snippets.

Created October 19, 2015 16:41
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/18fdd97f6094dcf5792b to your computer and use it in GitHub Desktop.
Save anonymous/18fdd97f6094dcf5792b to your computer and use it in GitHub Desktop.
<?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