Differences

This shows you the differences between the selected revision and the current version of the page.

php:wtf 2009/08/27 15:51 php:wtf 2009/08/27 15:54 current
Line 54: Line 54:
  no once   no once
-===== try/catch ===== 
- 
-<code> 
-try { 
-    try { 
-        throw new Exception('first'); 
-    } catch (Exception $e) { 
-        throw new Exception('second'); 
-    } 
-} catch (Exception $e) { 
-    echo "caught"; 
-} 
-</code> 
 
php/wtf.txt · Last modified: 2009/08/27 15:54 by daniel
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki