File indexing completed on 2025-01-05 05:20:25
0001 <?php 0002 namespace namespace1; 0003 0004 define('CONSTANT_1', 1); 0005 define("CONSTANT_2", 2); 0006 0007 class class1 { 0008 var $attribute1 = 0; 0009 public $public_attribute2 = 0; 0010 public static $public_static_attribute3 = 0; 0011 0012 const CLASS_CONSTANT = 0; 0013 0014 public function public_foo1_in_class1() { } 0015 public static function public_static_foo2_in_class1() { } 0016 protected function protected_foo3_in_class1() { } 0017 private function private_foo4_in_class1() { } 0018 private function private_foo5_in_class1() { } 0019 } 0020 0021 class classExtendClass1 extends class1 { 0022 function foo1_in_classExtendClass1() { } 0023 } 0024 0025 trait trait1 { 0026 function foo1_in_trait1() { } 0027 } 0028 0029 class classImplementInterface implements interface1 { 0030 } 0031 0032 function foo1($param1, $param2=null) { 0033 } 0034 0035 abstract class classAbstract { 0036 } 0037 0038 final class classFinal { 0039 }