codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php class E extends Exception { } class F extends Exception { } try { throw new E; } catch (Exception $e) { var_dump($e instanceof E, $e instanceof F); }
Private
[
?
]
Run code
Submit