Skip to content

Instantly share code, notes, and snippets.

@realityking
Created December 16, 2015 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save realityking/27f2b3619032c4704a11 to your computer and use it in GitHub Desktop.
Save realityking/27f2b3619032c4704a11 to your computer and use it in GitHub Desktop.
PHP Unified Symbol Table Example
<?php
class TestClass
{
public $prop = 'hello';
}
function test_function($a)
{
return $a;
}
<?php
namespace realityking;
require_once 'definitions.php';
use TestClass;
$a = new TestClass;
var_dump(test_function($a));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment