Lines Matching refs:scope

71     foreach ([true, false] as $scope) {
78 echo 'Init: ' . ((int) $init) . ', scope: ' . ((int) $scope) . ', op: ' . $op . ": ";
80 if ($scope) {
95 Init: 1, scope: 1, op: r: 1
96 Init: 1, scope: 1, op: w: Cannot modify readonly property Test::$prop
97 Init: 1, scope: 1, op: rw: Cannot modify readonly property Test::$prop
98 Init: 1, scope: 1, op: im: Cannot modify readonly property Test::$prop
99 Init: 1, scope: 1, op: is: 1
100 Init: 1, scope: 1, op: us: Cannot unset readonly property Test::$prop
101 Init: 1, scope: 0, op: r: 1
102 Init: 1, scope: 0, op: w: Cannot modify readonly property Test::$prop
103 Init: 1, scope: 0, op: rw: Cannot modify readonly property Test::$prop
104 Init: 1, scope: 0, op: im: Cannot modify readonly property Test::$prop
105 Init: 1, scope: 0, op: is: 1
106 Init: 1, scope: 0, op: us: Cannot unset readonly property Test::$prop
107 Init: 0, scope: 1, op: r: Typed property Test::$prop must not be accessed before initialization
108 Init: 0, scope: 1, op: w: done
109 Init: 0, scope: 1, op: rw: Typed property Test::$prop must not be accessed before initialization
110 Init: 0, scope: 1, op: im: Cannot indirectly modify readonly property Test::$prop
111 Init: 0, scope: 1, op: is: 0
112 Init: 0, scope: 1, op: us: done
113 Init: 0, scope: 0, op: r: Typed property Test::$prop must not be accessed before initialization
114 Init: 0, scope: 0, op: w: Cannot initialize readonly property Test::$prop from global scope
115 Init: 0, scope: 0, op: rw: Typed property Test::$prop must not be accessed before initialization
116 Init: 0, scope: 0, op: im: Cannot indirectly modify readonly property Test::$prop
117 Init: 0, scope: 0, op: is: 0
118 Init: 0, scope: 0, op: us: Cannot unset readonly property Test::$prop from global scope