SHOW:
|
|
- or go back to the newest paste.
1 | - | <?php |
1 | + | $ php test2.php |
2 | - | // cf. http://stackoverflow.com/questions/40230045/why-should-i-declare-the-class-property-in-php |
2 | + | 3 |
3 | - | class bird{ |
3 | + | PHP Notice: Undefined property: bird::$legCount in /home/adam/sandbox/test2.php on line 11 |