Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $foo = new stdClass();
- $bar = $foo;
- $foo->prop = 100;
- $bar->prop = 200;
- echo $foo->prop;
- echo PHP_EOL;
- echo $bar->prop;
- echo PHP_EOL;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement