Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 64 lines (57 sloc) 1.005 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
<?php
class Base
{
    private $a;
    private $b;
    private $c;
    private $d;
    private $e;
    private $f;
    private $g;
    private $h;
    private $i;
    private $j;
    private $k;
    private $l;
    private $m;
    private $n;
    private $o;
    private $p;
    private $q;
    private $r;
    private $s;
    private $t;
    private $u;
    private $v;
    private $w;
    private $x;
    private $y;
    private $z;
    private $z1; // comment these last few variable out and $z then disappears from member list!
    private $z2;
    private $z3;
    private $z4;
    
    public function __construct()
    {
        $this->i = 99;
        $this->j = 88;
        $this->k = 11;
    }
}

class Extension extends Base
{
    private $k;
    private $m;
    private $j;
    
    public function __construct()
    {
        $this->k = 77;
        $this->m = 66;
        $this->j = 55;

        parent::__construct();
    }
}

$b = new Base();
$e = new Extension();

echo "Hello World\n";
?>
Something went wrong with that request. Please try again.