Skip to content

Instantly share code, notes, and snippets.

Created February 21, 2010 11:48
Show Gist options
  • Save anonymous/310277 to your computer and use it in GitHub Desktop.
Save anonymous/310277 to your computer and use it in GitHub Desktop.
<?php
require('sctwo.php');
$sctwo = new SomeTestClass();
$sctwo->vartwo = "Test var....";
echo "Test: " . $sctwo->vartwo;
?>
<?php
class SomeTestClass
{
var $varone;
}
?>
<?php
class SomeTestClass
{
var $vartwo;
}
?>
<?php
require('scone.php');
$scone = new SomeTestClass();
$scone->varone = "One...";
echo "Test: " . $scone->varone ;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment