Skip to content

Instantly share code, notes, and snippets.

<?php
if (in_array($name, array_keys($this->calls))) {
if ($this->$name($data)) {
return $this->dialIn($name, $data);
}
} else {
return "Non-existent call";
}
@miguelcma
miguelcma / 0_reuse_code.js
Created December 18, 2015 19:44
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console