Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set('display_errors', 1);
- ini_set('display_startup_errors', 1);
- error_reporting(E_ALL);
- class a {
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
- }
- $test = new a;
- $test->setValue('WO IST NOTICE ?');
- echo $test->value;
- echo "<br>";
- echo $test->getValue();
- echo '<br>Was loss?';
Add Comment
Please, Sign In to add comment