User Tools

Site Tools


kurs:entwickeln_mit_phpunit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
kurs:entwickeln_mit_phpunit [2012/01/12 10:08]
mh
kurs:entwickeln_mit_phpunit [2012/01/12 11:07]
mh
Line 1: Line 1:
-Das Objekt+Die Klasse
  
 <​code>​ <​code>​
Line 31: Line 31:
   function store() {}   function store() {}
   ​   ​
 +  function __set($u, $a) {
 +    die("​ERROR:​ you tried to set $u with $a");
 +  }
 +  ​
 +  function __get($u) {
 +    die("​ERROR:​ you tried to get $u");
 +  }
 +
 +  function __call($u, $a) {
 +    die("​ERROR:​ you tried to call $u with $a");
 +  }
 +
 } }
 </​code>​ </​code>​
kurs/entwickeln_mit_phpunit.txt ยท Last modified: 2014/09/10 21:22 (external edit)