Ticket #89: test.php

File test.php, 390 bytes (added by gacek@intertele.pl, 2 years ago)

Attached file for better formatting

Line 
1 <?php                                                                                                         
2  
3 ini_set("display_errors", "On");
4
5 class A {
6         var $a = "a";
7         function A() {
8                 echo $this -> a;
9         }
10 };
11
12 class B extends A {
13 };
14
15 class C extends B {   
16         function C() {
17                 $this -> B();
18         }
19 };
20
21
22 $c = new C();
23  
24  
25 ?>
26