Skip to content

Instantly share code, notes, and snippets.

@kix
Forked from igorw/README.md
Last active August 29, 2015 14:07
Show Gist options
  • Save kix/9020fb0b476678ae18f6 to your computer and use it in GitHub Desktop.
Save kix/9020fb0b476678ae18f6 to your computer and use it in GitHub Desktop.

kayladnls/machine-doge

A simple machine doge library.

Example

Here is an example of how you can instruct the machine to doge the answer:

<?php

use function kix\machine_doge;

$answer = 42;
machine_doge($answer);
var_dump($answer);

?>

WHAT IS THE ANSWER? WHAT WAS IT? WHAT IS IT?!

<?php
namespace kix;
function machine_doge(&$data) {
$data = 'doge';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment