Changeset 751 for trunk/decompilesample.php
- Timestamp:
- 2011-04-17T06:00:31+02:00 (2 years ago)
- File:
-
- 1 edited
-
trunk/decompilesample.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/decompilesample.php
r750 r751 90 90 function f1($f) 91 91 { 92 echo __FUNCTION__; 92 93 echo $f; 93 94 } … … 149 150 } 150 151 152 if ($late) { 153 class LateBindingClass 154 {} 155 156 function lateBindingFunction($arg) 157 { 158 echo 'lateFunction'; 159 } 160 } 161 151 162 echo "\r\n"; 152 163 echo "\r"; … … 155 166 $object = new ClassName(); 156 167 $object = new $className(); 157 try { 158 echo 'code being try'; 159 } 160 catch (Exception $e) { 161 echo $e; 162 } 168 $result = $object instanceof ClassName; 163 169 $cloned = clone $object; 164 170 $a = 1; … … 192 198 $a = $obj->b--; 193 199 $a = --$obj->b; 200 $a = $b xor $c; 201 $a = !$b; 194 202 $a = $b and $c; 195 203 $a = $b or $c; 196 $a = $b xor $c;197 $a = !$b;198 204 $a = $b && $c; 199 205 $a = $b || $c; 200 206 $a = $b ? $c : $d; 201 207 $a = f1() ? f2() : f3(); 202 $a = $b instanceof ClassName; 208 209 try { 210 echo 'outer try 1'; 211 try { 212 echo 'inner try'; 213 } 214 catch (InnerException $e) { 215 echo $e; 216 } 217 echo 'outer try 2'; 218 } 219 catch (OuterException $e) { 220 echo $e; 221 } 203 222 204 223 if ($a) { … … 253 272 include 'include.php'; 254 273 include_once 'include_once.php'; 274 echo __FILE__; 275 echo __LINE__; 255 276 256 277 //* >= PHP 5.3
Note: See TracChangeset
for help on using the changeset viewer.

