Subversion Repositories Applications.framework

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 aurelien 1
<?php
2
class MyClass
3
{
4
    $varName  = 'hello';
5
    $var_name = 'hello';
6
    $varname  = 'hello';
7
    $_varName = 'hello';
8
 
9
    public $varName  = 'hello';
10
    public $var_name = 'hello';
11
    public $varname  = 'hello';
12
    public $_varName = 'hello';
13
 
14
    protected $varName  = 'hello';
15
    protected $var_name = 'hello';
16
    protected $varname  = 'hello';
17
    protected $_varName = 'hello';
18
 
19
    private $_varName  = 'hello';
20
    private $_var_name = 'hello';
21
    private $_varname  = 'hello';
22
    private $varName   = 'hello';
23
}
24
 
25
class MyClass
26
{
27
  function func1()
28
  {
29
    function func2()
30
    {
31
     return $a;
32
    }
33
    return $data;
34
  }
35
}
36
 
37
class MyClass
38
{
39
    public function prepare() {}
40
    public function paint() {}
41
}
42
 
43
if (true) {
44
    class MyClass
45
    {
46
        $varName  = 'hello';
47
        $var_name = 'hello';
48
    }
49
}
50
 
51
class MyClass {
52
    function myFunction($cc, $cv) {
53
        $req = "delete from blah
54
                where not (POP_{$cc}_A =
55
'{$this->def["POP_{$cc}_A"]}'
56
                         and POP_{$cc}_B =
57
'{$this->def["POP_{$cc}_B"]}')";
58
    }
59
}
60
?>